Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008112/0.0008116, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006214/0.006214, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.979/0.979, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 82.31 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.3567/0.5268, allocations: 78.57 MB / 0.6647 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02852/0.5554, allocations: 19.13 MB / 0.6834 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004664/0.5601, allocations: 92.53 kB / 0.6835 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004088/0.5642, allocations: 0.9743 MB / 0.6844 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009837/0.574, allocations: 2.567 MB / 0.6869 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006758/0.5808, allocations: 2.162 MB / 0.689 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03868/0.6195, allocations: 35.93 MB / 0.7241 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02066/0.6402, allocations: 14.96 MB / 0.7387 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02129/0.6616, allocations: 9.167 MB / 0.7477 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02329/0.6849, allocations: 11.3 MB / 0.7587 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.005641/0.6906, allocations: 0.8086 MB / 0.7595 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/0.7025, allocations: 2.064 MB / 0.7615 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007324/0.7099, allocations: 3.021 MB / 0.7645 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01583/0.7257, allocations: 5.799 MB / 0.7701 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02748/0.7533, allocations: 17.58 MB / 0.7873 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7533, allocations: 0 / 0.7873 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7533, allocations: 0 / 0.7873 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0006209/0.754, allocations: 0 / 0.7873 GB, free: 15.87 MB / 0.6075 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.0362/0.7902, allocations: 12.96 MB / 0.8 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.7902, allocations: 12.03 kB / 0.8 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008733/0.799, allocations: 1.289 MB / 0.8012 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02368/0.8227, allocations: 10.01 MB / 0.811 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000524/0.8233, allocations: 444.1 kB / 0.8114 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/0.8266, allocations: 0.5818 MB / 0.812 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03548/0.8621, allocations: 14.62 MB / 0.8263 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003689/0.8625, allocations: 27.75 kB / 0.8263 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003288/0.8658, allocations: 240 kB / 0.8265 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.866, allocations: 143.9 kB / 0.8267 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03524/0.9013, allocations: 19.79 MB / 0.846 GB, free: 3.277 MB / 0.6544 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.7029/1.604, allocations: 66.12 MB / 0.9106 GB, free: 176 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0184/1.623, allocations: 9.199 MB / 0.9196 GB, free: 172.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01443/1.637, allocations: 8.61 MB / 0.928 GB, free: 168.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05944/1.697, allocations: 30.63 MB / 0.9579 GB, free: 148.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01142/1.708, allocations: 7.651 MB / 0.9654 GB, free: 144.1 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02816/1.736, allocations: 11.77 MB / 0.9768 GB, free: 132.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=300): time 2.975e-05/1.736, allocations: 3.828 kB / 0.9768 GB, free: 132.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=300): time 0.04891/1.785, allocations: 23.9 MB / 1 GB, free: 108.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/1.785, allocations: 89.7 kB / 1 GB, free: 108.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01347/1.799, allocations: 8.03 MB / 1.008 GB, free: 100.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002271/1.801, allocations: 97.7 kB / 1.008 GB, free: 100.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003838/1.805, allocations: 4.072 MB / 1.012 GB, free: 96.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002942/1.808, allocations: 1.079 MB / 1.013 GB, free: 95.53 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002268/1.81, allocations: 377.2 kB / 1.014 GB, free: 95.16 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.9e-05/1.81, allocations: 309.1 kB / 1.014 GB, free: 94.85 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009248/1.819, allocations: 6.531 MB / 1.02 GB, free: 88.31 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/1.83, allocations: 8.335 MB / 1.028 GB, free: 79.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02/1.85, allocations: 15.27 MB / 1.043 GB, free: 63.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.844e-05/1.85, allocations: 12 kB / 1.043 GB, free: 63.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03526/1.885, allocations: 17.71 MB / 1.061 GB, free: 45.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000716/1.886, allocations: 1.563 MB / 1.062 GB, free: 43.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.611e-05/1.886, allocations: 48 kB / 1.062 GB, free: 43.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07027/1.956, allocations: 11.38 MB / 1.073 GB, free: 31.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008429/1.965, allocations: 1.557 MB / 1.075 GB, free: 30.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007383/1.972, allocations: 6.466 MB / 1.081 GB, free: 23.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/1.984, allocations: 0.5191 MB / 1.082 GB, free: 23.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003146/1.987, allocations: 0.5382 MB / 1.082 GB, free: 22.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/1.987, allocations: 8 kB / 1.082 GB, free: 22.48 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03518/2.022, allocations: 16.83 MB / 1.099 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/2.022, allocations: 48.22 kB / 1.099 GB, free: 5.527 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0706/2.093, allocations: 10.93 MB / 1.109 GB, free: 10.62 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008785/2.102, allocations: 1.565 MB / 1.111 GB, free: 9.055 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2983/2.4, allocations: 10.38 MB / 1.121 GB, free: 196.5 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009868/2.41, allocations: 0.4994 MB / 1.121 GB, free: 196.5 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002046/2.412, allocations: 0.536 MB / 1.122 GB, free: 196.5 MB / 0.6857 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 (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00584/2.418, allocations: 2.658 MB / 1.125 GB, free: 196.3 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/2.42, allocations: 0.7667 MB / 1.125 GB, free: 196.3 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02449/2.445, allocations: 14.18 MB / 1.139 GB, free: 193.6 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/2.445, allocations: 34.44 kB / 1.139 GB, free: 193.6 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/2.445, allocations: 0 / 1.139 GB, free: 193.6 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01476/2.46, allocations: 10.77 MB / 1.15 GB, free: 188.8 MB / 0.6857 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 postOpt removeSimpleEquations (simulation): time 0.03855/2.498, allocations: 24.55 MB / 1.174 GB, free: 177.5 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/2.498, allocations: 0 / 1.174 GB, free: 177.5 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005333/2.504, allocations: 0.6961 MB / 1.174 GB, free: 177.4 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07023/2.574, allocations: 10.26 MB / 1.184 GB, free: 176.8 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/2.575, allocations: 108.4 kB / 1.185 GB, free: 176.7 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/2.579, allocations: 4.709 MB / 1.189 GB, free: 173.4 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.579, allocations: 0 / 1.189 GB, free: 173.4 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/2.604, allocations: 19.3 MB / 1.208 GB, free: 165.1 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004715/2.609, allocations: 1.939 MB / 1.21 GB, free: 164 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/2.61, allocations: 78.92 kB / 1.21 GB, free: 164 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006187/2.617, allocations: 389.3 kB / 1.21 GB, free: 163.8 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008269/2.617, allocations: 216.6 kB / 1.211 GB, free: 163.7 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000502/2.618, allocations: 155.3 kB / 1.211 GB, free: 163.6 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.007558/2.625, allocations: 5.534 MB / 1.216 GB, free: 159.4 MB / 0.6857 GB Notification: Performance of sort global known variables: time 3.1e-07/2.625, allocations: 0 / 1.216 GB, free: 159.4 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.01775/2.643, allocations: 4.853 MB / 1.221 GB, free: 154.8 MB / 0.6857 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 (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/2.645, allocations: 0.5816 MB / 1.221 GB, free: 154.3 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.03316/2.678, allocations: 23.99 MB / 1.245 GB, free: 130.2 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/2.678, allocations: 4 kB / 1.245 GB, free: 130.2 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.008549/2.687, allocations: 6.41 MB / 1.251 GB, free: 123.8 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02559/2.712, allocations: 4.678 MB / 1.256 GB, free: 119.2 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/2.746, allocations: 23.85 MB / 1.279 GB, free: 95.34 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005344/2.751, allocations: 5.261 MB / 1.284 GB, free: 90.04 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.02005/2.771, allocations: 5.046 MB / 1.289 GB, free: 84.99 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008204/2.779, allocations: 0.9047 MB / 1.29 GB, free: 84.09 MB / 0.6857 GB Notification: Performance of SimCode: time 1.343e-06/2.779, allocations: 4 kB / 1.29 GB, free: 84.08 MB / 0.6857 GB Notification: Performance of Templates: time 0.578/3.357, allocations: 217.3 MB / 1.502 GB, free: 138.1 MB / 0.7013 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)