Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007032/0.007031, allocations: 99.11 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 195.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.2 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 0.5857 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.545, allocations: 80.92 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.2997/0.8447, allocations: 166.9 MB / 0.8277 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04215/0.8869, allocations: 17.1 MB / 0.8444 GB, free: 8.902 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.8895, allocations: 27.81 kB / 0.8444 GB, free: 8.875 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.8927, allocations: 0.5314 MB / 0.845 GB, free: 8.34 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009116/0.9019, allocations: 1.633 MB / 0.8466 GB, free: 6.703 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006766/0.9087, allocations: 1.387 MB / 0.8479 GB, free: 5.328 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006525/0.9153, allocations: 2.533 MB / 0.8504 GB, free: 2.785 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005728/0.9211, allocations: 1.962 MB / 0.8523 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007363/0.9285, allocations: 1.345 MB / 0.8536 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.9312, allocations: 1.027 MB / 0.8546 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.9322, allocations: 208 kB / 0.8548 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006725/0.939, allocations: 1.537 MB / 0.8563 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.9408, allocations: 0.7634 MB / 0.8571 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003028/0.9438, allocations: 1.119 MB / 0.8581 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.9539, allocations: 3.421 MB / 0.8615 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.954, allocations: 0 / 0.8615 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.894e-06/0.954, allocations: 0 / 0.8615 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001245/0.9541, allocations: 0 / 0.8615 GB, free: 7.387 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.008992/0.9631, allocations: 2.701 MB / 0.8641 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.9632, allocations: 8.031 kB / 0.8641 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005777/0.969, allocations: 0.5605 MB / 0.8647 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/0.9739, allocations: 1.608 MB / 0.8663 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.9741, allocations: 127.2 kB / 0.8664 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005476/0.9746, allocations: 164 kB / 0.8665 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005463/0.9801, allocations: 1.885 MB / 0.8684 GB, free: 168 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.9802, allocations: 0 / 0.8684 GB, free: 168 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.9805, allocations: 68 kB / 0.8684 GB, free: 100 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.9806, allocations: 40 kB / 0.8685 GB, free: 60 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4387/1.419, allocations: 2.037 MB / 0.8705 GB, free: 192 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/1.43, allocations: 5.514 MB / 0.8758 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/1.434, allocations: 1.996 MB / 0.8778 GB, free: 188 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/1.436, allocations: 0.7364 MB / 0.8785 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006721/1.436, allocations: 431 kB / 0.8789 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/1.438, allocations: 0.9355 MB / 0.8798 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 4.248e-06/1.438, allocations: 0 / 0.8798 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006932/1.445, allocations: 2.832 MB / 0.8826 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/1.445, allocations: 199.5 kB / 0.8828 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/1.448, allocations: 1.74 MB / 0.8845 GB, free: 184 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003172/1.448, allocations: 60.42 kB / 0.8846 GB, free: 184 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000751/1.449, allocations: 0.8166 MB / 0.8854 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/1.45, allocations: 486.2 kB / 0.8858 GB, free: 183 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/1.45, allocations: 243.2 kB / 0.886 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.45, allocations: 354 kB / 0.8864 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.451, allocations: 0.5578 MB / 0.8869 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/1.453, allocations: 0.7682 MB / 0.8877 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/1.455, allocations: 1.276 MB / 0.8889 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.455, allocations: 2.531 kB / 0.8889 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004417/1.46, allocations: 1.734 MB / 0.8906 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/1.46, allocations: 12.41 kB / 0.8906 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.46, allocations: 5 kB / 0.8906 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/1.461, allocations: 217.7 kB / 0.8908 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.463, allocations: 314.6 kB / 0.8911 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/1.467, allocations: 7.316 MB / 0.8983 GB, free: 172.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.469, allocations: 149.6 kB / 0.8984 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.469, allocations: 48.41 kB / 0.8985 GB, free: 172.6 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009956/1.47, allocations: 473.5 kB / 0.8989 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/1.471, allocations: 186.3 kB / 0.8991 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/1.475, allocations: 2.019 MB / 0.9011 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/1.475, allocations: 14.66 kB / 0.9011 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.475, allocations: 6.266 kB / 0.9011 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.475, allocations: 7.922 kB / 0.9011 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/1.482, allocations: 3.796 MB / 0.9048 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.482, allocations: 0 / 0.9048 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.483, allocations: 314.1 kB / 0.9051 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009276/1.484, allocations: 207.1 kB / 0.9053 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.484, allocations: 40.56 kB / 0.9053 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/1.489, allocations: 7.35 MB / 0.9125 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.489, allocations: 5.312 kB / 0.9125 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004133/1.493, allocations: 1.899 MB / 0.9144 GB, free: 160.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.494, allocations: 458.3 kB / 0.9148 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/1.494, allocations: 27.89 kB / 0.9149 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.495, allocations: 93.08 kB / 0.9149 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/1.496, allocations: 107.1 kB / 0.915 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.496, allocations: 62.64 kB / 0.9151 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001411/1.497, allocations: 1.249 MB / 0.9163 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.497, allocations: 0 / 0.9163 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001701/1.499, allocations: 0.6401 MB / 0.9169 GB, free: 158.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002226/1.501, allocations: 0.7576 MB / 0.9177 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00309/1.504, allocations: 2.002 MB / 0.9196 GB, free: 156.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.504, allocations: 4.562 kB / 0.9196 GB, free: 156.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/1.506, allocations: 1.368 MB / 0.921 GB, free: 155.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/1.509, allocations: 0.5148 MB / 0.9215 GB, free: 154.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/1.515, allocations: 3.758 MB / 0.9252 GB, free: 151 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/1.516, allocations: 1.505 MB / 0.9266 GB, free: 149.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001706/1.518, allocations: 0.4924 MB / 0.9271 GB, free: 149 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/1.518, allocations: 171.3 kB / 0.9273 GB, free: 148.8 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/1.518, allocations: 0 / 0.9273 GB, free: 148.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.04927/1.567, allocations: 30.19 MB / 0.9567 GB, free: 119 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)