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.001305/0.00131, allocations: 106.1 kB / 16.41 MB, free: 6.453 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.001442/0.001442, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.72 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.07272/0.208, allocations: 80.62 MB / 0.7391 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3604/0.5684, allocations: 19.24 MB / 0.7579 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.5723, allocations: 107.3 kB / 0.758 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003245/0.5755, allocations: 1.153 MB / 0.7591 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007654/0.5832, allocations: 2.85 MB / 0.7619 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006171/0.5894, allocations: 2.39 MB / 0.7642 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02666/0.6161, allocations: 26.89 MB / 0.7905 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01802/0.6341, allocations: 17.04 MB / 0.8071 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02244/0.6566, allocations: 11.43 MB / 0.8183 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02055/0.6771, allocations: 11.68 MB / 0.8297 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.007002/0.6842, allocations: 1.285 MB / 0.8309 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.6958, allocations: 2.573 MB / 0.8334 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.007108/0.703, allocations: 3.627 MB / 0.837 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01355/0.7166, allocations: 6.488 MB / 0.8433 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02435/0.7409, allocations: 18.51 MB / 0.8614 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.741, allocations: 0 / 0.8614 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.741, allocations: 0 / 0.8614 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000523/0.7415, allocations: 0 / 0.8614 GB, free: 10.29 MB / 0.6387 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.0374/0.7789, allocations: 12.21 MB / 0.8733 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.779, allocations: 15.97 kB / 0.8733 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008078/0.7871, allocations: 1.261 MB / 0.8746 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02342/0.8105, allocations: 10.11 MB / 0.8844 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004283/0.811, allocations: 439.1 kB / 0.8849 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/0.814, allocations: 0.5857 MB / 0.8854 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02982/0.8439, allocations: 14.62 MB / 0.8997 GB, free: 2.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/0.8441, allocations: 27.72 kB / 0.8997 GB, free: 2.965 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002304/0.8464, allocations: 240 kB / 0.9 GB, free: 2.73 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.8466, allocations: 139.9 kB / 0.9001 GB, free: 2.594 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03218/0.8787, allocations: 19.76 MB / 0.9194 GB, free: 14.82 MB / 0.7012 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.1071/0.9859, allocations: 60.04 MB / 0.978 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/1, allocations: 9.161 MB / 0.987 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01224/1.013, allocations: 8.603 MB / 0.9954 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05355/1.066, allocations: 27.44 MB / 1.022 GB, free: 4.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0122/1.078, allocations: 7.637 MB / 1.03 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01605/1.094, allocations: 4.493 MB / 1.034 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=299): time 1.915e-05/1.094, allocations: 0 / 1.034 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=299): time 0.05211/1.147, allocations: 23.31 MB / 1.057 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.147, allocations: 81.77 kB / 1.057 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.556/1.703, allocations: 8.239 MB / 1.065 GB, free: 309.2 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001814/1.704, allocations: 104.7 kB / 1.065 GB, free: 309.1 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003561/1.708, allocations: 4.055 MB / 1.069 GB, free: 307 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.002421/1.711, allocations: 1.078 MB / 1.07 GB, free: 306.4 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003605/1.714, allocations: 1.669 MB / 1.072 GB, free: 306 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 3.543e-05/1.714, allocations: 301.1 kB / 1.072 GB, free: 305.7 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009224/1.723, allocations: 6.547 MB / 1.078 GB, free: 303.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.734, allocations: 8.319 MB / 1.086 GB, free: 298.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01999/1.754, allocations: 15.25 MB / 1.101 GB, free: 290.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.674e-05/1.754, allocations: 14.44 kB / 1.101 GB, free: 290.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.02948/1.784, allocations: 17.57 MB / 1.119 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/1.784, allocations: 53.69 kB / 1.119 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.303e-05/1.784, allocations: 52 kB / 1.119 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06948/1.853, allocations: 11.58 MB / 1.13 GB, free: 267.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008154/1.861, allocations: 1.549 MB / 1.131 GB, free: 265.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004766/1.866, allocations: 3.786 MB / 1.135 GB, free: 262.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009314/1.875, allocations: 336.2 kB / 1.135 GB, free: 261.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/1.877, allocations: 0.5421 MB / 1.136 GB, free: 261.2 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01067/1.888, allocations: 8.822 MB / 1.145 GB, free: 252.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008017/1.896, allocations: 8.276 MB / 1.153 GB, free: 243.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0189/1.915, allocations: 15.15 MB / 1.167 GB, free: 227.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.737e-05/1.915, allocations: 19.83 kB / 1.167 GB, free: 227.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.02882/1.944, allocations: 17.41 MB / 1.185 GB, free: 209.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/1.944, allocations: 49.7 kB / 1.185 GB, free: 209.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-05/1.944, allocations: 48 kB / 1.185 GB, free: 209.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06707/2.011, allocations: 11.14 MB / 1.195 GB, free: 198.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007985/2.019, allocations: 1.547 MB / 1.197 GB, free: 197.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/2.027, allocations: 8.179 MB / 1.205 GB, free: 188.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009283/2.037, allocations: 341.1 kB / 1.205 GB, free: 188.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/2.039, allocations: 0.5343 MB / 1.206 GB, free: 187.8 MB / 0.8263 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.002301/2.041, allocations: 493.9 kB / 1.206 GB, free: 187.3 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002602/2.044, allocations: 0.764 MB / 1.207 GB, free: 186.5 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02067/2.064, allocations: 14.16 MB / 1.221 GB, free: 172.3 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01278/2.077, allocations: 10.78 MB / 1.231 GB, free: 161.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/2.077, allocations: 0 / 1.231 GB, free: 161.4 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004422/2.082, allocations: 1.815 MB / 1.233 GB, free: 159.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/2.083, allocations: 67.98 kB / 1.233 GB, free: 159.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004862/2.088, allocations: 199.5 kB / 1.233 GB, free: 159.3 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008044/2.089, allocations: 254.4 kB / 1.234 GB, free: 159.1 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01762/2.106, allocations: 11.71 MB / 1.245 GB, free: 147.4 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02182/2.128, allocations: 19.31 MB / 1.264 GB, free: 128 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00622/2.134, allocations: 6.015 MB / 1.27 GB, free: 122 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.00861/2.143, allocations: 5.691 MB / 1.275 GB, free: 116.3 MB / 0.8263 GB Notification: Performance of Backend: time 1.012e-06/2.143, allocations: 0 / 1.275 GB, free: 116.3 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.04932/2.192, allocations: 19.16 MB / 1.294 GB, free: 97.21 MB / 0.8263 GB Notification: Performance of SimCode: time 0.03882/2.231, allocations: 20.89 MB / 1.314 GB, free: 76.49 MB / 0.8263 GB Notification: Performance of Templates: time 0.5717/2.803, allocations: 271.8 MB / 1.58 GB, free: 129.6 MB / 0.8263 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)