Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107 kB / 16.37 MB, free: 6.477 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.001288/0.001288, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7627/0.7627, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.06876/0.4197, allocations: 80.62 MB / 0.6602 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03008/0.4498, allocations: 19.24 MB / 0.679 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004001/0.4539, allocations: 103.4 kB / 0.6791 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003795/0.4577, allocations: 1.153 MB / 0.6802 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008278/0.466, allocations: 2.765 MB / 0.6829 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006605/0.4727, allocations: 2.387 MB / 0.6853 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03106/0.5038, allocations: 26.84 MB / 0.7115 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02461/0.5284, allocations: 17.03 MB / 0.7281 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0223/0.5507, allocations: 11.3 MB / 0.7391 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02115/0.5719, allocations: 11.67 MB / 0.7505 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.585/1.157, allocations: 1.284 MB / 0.7518 GB, free: 41.99 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/1.168, allocations: 2.577 MB / 0.7543 GB, free: 41.99 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.00776/1.176, allocations: 3.623 MB / 0.7579 GB, free: 41.99 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.01965/1.196, allocations: 6.493 MB / 0.7642 GB, free: 41.5 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.02941/1.225, allocations: 18.48 MB / 0.7823 GB, free: 39.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/1.225, allocations: 0 / 0.7823 GB, free: 39.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.174e-06/1.225, allocations: 0 / 0.7823 GB, free: 39.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0007124/1.226, allocations: 1.094 kB / 0.7823 GB, free: 39.98 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04166/1.268, allocations: 12.22 MB / 0.7942 GB, free: 35.95 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/1.268, allocations: 11.62 kB / 0.7942 GB, free: 35.95 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008303/1.276, allocations: 1.269 MB / 0.7954 GB, free: 35.43 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02633/1.302, allocations: 10.11 MB / 0.8053 GB, free: 33.21 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004974/1.303, allocations: 434.7 kB / 0.8057 GB, free: 33.2 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004484/1.307, allocations: 0.5809 MB / 0.8063 GB, free: 33.19 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03782/1.345, allocations: 14.62 MB / 0.8206 GB, free: 28.36 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004209/1.346, allocations: 22.47 kB / 0.8206 GB, free: 28.36 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004261/1.35, allocations: 243.8 kB / 0.8208 GB, free: 28.36 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/1.35, allocations: 137.1 kB / 0.8209 GB, free: 28.36 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03242/1.383, allocations: 19.76 MB / 0.8402 GB, free: 13 MB / 0.5763 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.1114/1.494, allocations: 60.05 MB / 0.8989 GB, free: 276 kB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/1.509, allocations: 9.165 MB / 0.9078 GB, free: 7.113 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0129/1.522, allocations: 8.587 MB / 0.9162 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05453/1.577, allocations: 27.44 MB / 0.943 GB, free: 2.812 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0125/1.589, allocations: 7.642 MB / 0.9505 GB, free: 11.13 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01646/1.606, allocations: 4.493 MB / 0.9549 GB, free: 6.777 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=299): time 2.329e-05/1.606, allocations: 0 / 0.9549 GB, free: 6.777 MB / 0.6857 GB Notification: Performance of matching and sorting (n=299): time 0.05418/1.66, allocations: 23.31 MB / 0.9776 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.66, allocations: 85.77 kB / 0.9777 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/1.673, allocations: 8.248 MB / 0.9858 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.002389/1.676, allocations: 97.7 kB / 0.9859 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.004248/1.68, allocations: 4.057 MB / 0.9898 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003362/1.683, allocations: 1.081 MB / 0.9909 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003884/1.687, allocations: 1.665 MB / 0.9925 GB, free: 152 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.687, allocations: 301.1 kB / 0.9928 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009928/1.697, allocations: 6.544 MB / 0.9992 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/1.71, allocations: 8.326 MB / 1.007 GB, free: 148 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0266/1.737, allocations: 15.25 MB / 1.022 GB, free: 400 kB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.977e-05/1.737, allocations: 12 kB / 1.022 GB, free: 388 kB / 0.7482 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.3488/2.086, allocations: 17.56 MB / 1.039 GB, free: 296.8 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 7.19e-05/2.086, allocations: 52.36 kB / 1.039 GB, free: 296.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.08e-05/2.086, allocations: 47.61 kB / 1.039 GB, free: 296.7 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06741/2.153, allocations: 11.59 MB / 1.051 GB, free: 295.9 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008336/2.162, allocations: 1.554 MB / 1.052 GB, free: 295.8 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/2.166, allocations: 3.778 MB / 1.056 GB, free: 293.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/2.177, allocations: 337.8 kB / 1.056 GB, free: 293.6 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/2.179, allocations: 0.5381 MB / 1.057 GB, free: 293.4 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01416/2.194, allocations: 8.82 MB / 1.065 GB, free: 287.6 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01116/2.205, allocations: 8.276 MB / 1.074 GB, free: 278.4 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02065/2.226, allocations: 15.16 MB / 1.088 GB, free: 262.6 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.251e-05/2.226, allocations: 12 kB / 1.088 GB, free: 262.6 MB / 0.7482 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.03113/2.257, allocations: 17.41 MB / 1.105 GB, free: 245.4 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/2.257, allocations: 53.7 kB / 1.105 GB, free: 245.4 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-05/2.257, allocations: 48.91 kB / 1.105 GB, free: 245.3 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06241/2.319, allocations: 11.14 MB / 1.116 GB, free: 234.2 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008227/2.328, allocations: 1.542 MB / 1.118 GB, free: 232.7 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008814/2.336, allocations: 8.174 MB / 1.126 GB, free: 224.3 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/2.347, allocations: 341 kB / 1.126 GB, free: 224 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/2.349, allocations: 0.5422 MB / 1.127 GB, free: 223.4 MB / 0.7482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.004093/2.354, allocations: 498.3 kB / 1.127 GB, free: 223 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004163/2.358, allocations: 0.7636 MB / 1.128 GB, free: 222.4 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02563/2.383, allocations: 14.17 MB / 1.142 GB, free: 208.2 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/2.383, allocations: 36 kB / 1.142 GB, free: 208.1 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.383, allocations: 0 / 1.142 GB, free: 208.1 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01537/2.399, allocations: 10.78 MB / 1.152 GB, free: 197.3 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04111/2.44, allocations: 24.56 MB / 1.176 GB, free: 172.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/2.44, allocations: 0 / 1.176 GB, free: 172.7 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005029/2.445, allocations: 0.6807 MB / 1.177 GB, free: 172 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06179/2.507, allocations: 10.74 MB / 1.187 GB, free: 161.3 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001628/2.508, allocations: 103.9 kB / 1.188 GB, free: 161.2 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/2.512, allocations: 3.122 MB / 1.191 GB, free: 158 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.512, allocations: 8 kB / 1.191 GB, free: 158 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02789/2.54, allocations: 19.16 MB / 1.209 GB, free: 138.8 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006723/2.547, allocations: 1.819 MB / 1.211 GB, free: 136.9 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003232/2.55, allocations: 76.11 kB / 1.211 GB, free: 136.9 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006879/2.557, allocations: 197.9 kB / 1.211 GB, free: 136.7 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/2.558, allocations: 222.4 kB / 1.212 GB, free: 136.5 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001101/2.559, allocations: 155.9 kB / 1.212 GB, free: 136.3 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.00899/2.568, allocations: 5.691 MB / 1.217 GB, free: 130.6 MB / 0.7482 GB Notification: Performance of sort global known variables: time 5.61e-07/2.568, allocations: 0 / 1.217 GB, free: 130.6 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.01782/2.586, allocations: 4.78 MB / 1.222 GB, free: 126.1 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,4), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/2.588, allocations: 0.5988 MB / 1.222 GB, free: 125.6 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.03326/2.622, allocations: 23.48 MB / 1.245 GB, free: 102 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/2.622, allocations: 0 / 1.245 GB, free: 102 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.009507/2.631, allocations: 6.338 MB / 1.252 GB, free: 95.7 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02339/2.655, allocations: 4.894 MB / 1.256 GB, free: 91.07 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/2.688, allocations: 20.4 MB / 1.276 GB, free: 70.68 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0044/2.692, allocations: 5.246 MB / 1.281 GB, free: 65.4 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.01609/2.708, allocations: 5.043 MB / 1.286 GB, free: 60.38 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005217/2.713, allocations: 0.9008 MB / 1.287 GB, free: 59.48 MB / 0.7482 GB Notification: Performance of SimCode: time 8.11e-07/2.713, allocations: 0 / 1.287 GB, free: 59.48 MB / 0.7482 GB Notification: Performance of Templates: time 0.5155/3.229, allocations: 221.1 MB / 1.503 GB, free: 153.4 MB / 0.7482 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)