Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") translateModel(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.0008269, allocations: 98.03 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.007014/0.007014, allocations: 170.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4084/0.4084, allocations: 55.01 MB / 325.8 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005883/0.0005883, allocations: 12.56 kB / 397.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3547, allocations: 60.72 MB / 458 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example3): time 0.02505/0.3798, allocations: 31.66 MB / 489.6 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3958, allocations: 12.88 MB / 0.4907 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.3978, allocations: 41.75 kB / 0.4908 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.4001, allocations: 0.6528 MB / 0.4914 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.4043, allocations: 1.404 MB / 0.4928 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.4077, allocations: 1.248 MB / 0.494 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009283/0.417, allocations: 6.349 MB / 0.5002 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003968/0.421, allocations: 1.7 MB / 0.5019 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004733/0.4257, allocations: 1.552 MB / 0.5034 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.4291, allocations: 1.342 MB / 0.5047 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006089/0.4297, allocations: 66 kB / 0.5047 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004052/0.4338, allocations: 1.095 MB / 0.5058 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009778/0.4348, allocations: 397.9 kB / 0.5062 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002613/0.4374, allocations: 0.9387 MB / 0.5071 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005797/0.4432, allocations: 2.814 MB / 0.5099 GB, free: 2.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4432, allocations: 0.6562 kB / 0.5099 GB, free: 2.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4432, allocations: 0 / 0.5099 GB, free: 2.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.75e-05/0.4433, allocations: 1.438 kB / 0.5099 GB, free: 2.684 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.005937/0.4493, allocations: 2.016 MB / 0.5118 GB, free: 1.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4493, allocations: 10.72 kB / 0.5118 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.4512, allocations: 311.8 kB / 0.5121 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004593/0.4558, allocations: 1.619 MB / 0.5137 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/0.4559, allocations: 87.97 kB / 0.5138 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.4561, allocations: 109.4 kB / 0.5139 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/0.4601, allocations: 1.521 MB / 0.5154 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.4601, allocations: 10.81 kB / 0.5154 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.4603, allocations: 42.84 kB / 0.5154 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.4603, allocations: 23.91 kB / 0.5155 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003434/0.4638, allocations: 1.208 MB / 0.5166 GB, free: 14.76 MB / 398.1 MB 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.009001/0.4728, allocations: 7.136 MB / 0.5236 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.4754, allocations: 0.7719 MB / 0.5244 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.4761, allocations: 385.9 kB / 0.5247 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002595/0.4787, allocations: 1.442 MB / 0.5261 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/0.4807, allocations: 0.5722 MB / 0.5267 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009438/0.4817, allocations: 99.33 kB / 0.5268 GB, free: 5.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.595e-06/0.4817, allocations: 0 / 0.5268 GB, free: 5.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.01199/0.4937, allocations: 3.183 MB / 0.5299 GB, free: 1.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.4938, allocations: 137 kB / 0.53 GB, free: 1.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.4966, allocations: 1.768 MB / 0.5318 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.4968, allocations: 45.7 kB / 0.5318 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007908/0.4976, allocations: 0.8615 MB / 0.5327 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.4978, allocations: 185.5 kB / 0.5328 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.4979, allocations: 77.67 kB / 0.5329 GB, free: 14.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.498, allocations: 341.9 kB / 0.5332 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009178/0.499, allocations: 377.7 kB / 0.5336 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.5002, allocations: 0.8558 MB / 0.5344 GB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.5022, allocations: 1.135 MB / 0.5355 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5022, allocations: 0 / 0.5355 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005383/0.5076, allocations: 1.619 MB / 0.5371 GB, free: 10.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003385/0.508, allocations: 463.6 kB / 0.5376 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.508, allocations: 13.06 kB / 0.5376 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009089/0.5089, allocations: 292.3 kB / 0.5378 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.5097, allocations: 199.6 kB / 0.538 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008642/0.5184, allocations: 3.582 MB / 0.5415 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.5202, allocations: 100.9 kB / 0.5416 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5203, allocations: 51.97 kB / 0.5417 GB, free: 5.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.5204, allocations: 4 kB / 0.5417 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00208/0.5224, allocations: 1.162 MB / 0.5428 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.5225, allocations: 12.94 kB / 0.5428 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.5227, allocations: 117.6 kB / 0.5429 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.5233, allocations: 187.7 kB / 0.5431 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.5255, allocations: 2.117 MB / 0.5452 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.5271, allocations: 99.7 kB / 0.5453 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.5271, allocations: 44 kB / 0.5453 GB, free: 1.152 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001299/0.5285, allocations: 0.5842 MB / 0.5459 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.5287, allocations: 177.8 kB / 0.5461 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/0.5327, allocations: 1.257 MB / 0.5473 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5328, allocations: 8 kB / 0.5473 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5328, allocations: 0 / 0.5473 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003472/0.5362, allocations: 1.219 MB / 0.5485 GB, free: 13.82 MB / 430.1 MB 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.006814/0.5431, allocations: 2.57 MB / 0.551 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5431, allocations: 4 kB / 0.551 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.5436, allocations: 95.86 kB / 0.5511 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008199/0.5444, allocations: 275.2 kB / 0.5514 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.5445, allocations: 24.84 kB / 0.5514 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/0.552, allocations: 3.308 MB / 0.5546 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5521, allocations: 0 / 0.5546 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/0.557, allocations: 1.723 MB / 0.5563 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008311/0.5578, allocations: 330.7 kB / 0.5566 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.558, allocations: 20 kB / 0.5566 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000922/0.5589, allocations: 91.84 kB / 0.5567 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.5591, allocations: 56.47 kB / 0.5568 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.5592, allocations: 27.97 kB / 0.5568 GB, free: 5.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.5609, allocations: 1.219 MB / 0.558 GB, free: 3.797 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5609, allocations: 0 / 0.558 GB, free: 3.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002641/0.5635, allocations: 0.7735 MB / 0.5587 GB, free: 3.023 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.medium.T) * 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 (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009482/0.5645, allocations: 367.3 kB / 0.5591 GB, free: 2.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.5683, allocations: 1.84 MB / 0.5609 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5683, allocations: 0 / 0.5609 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.5696, allocations: 0.596 MB / 0.5615 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/0.5736, allocations: 0.7512 MB / 0.5622 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.5792, allocations: 3.612 MB / 0.5657 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.5802, allocations: 1.493 MB / 0.5672 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001661/0.5819, allocations: 444.6 kB / 0.5676 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.5822, allocations: 135.3 kB / 0.5677 GB, free: 9.695 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5822, allocations: 0 / 0.5677 GB, free: 9.695 MB / 446.1 MB Notification: Performance of Templates: time 0.05755/0.6398, allocations: 35.33 MB / 0.6022 GB, free: 6.59 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: