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.001632/0.001632, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001952/0.001952, allocations: 187.1 kB / 16.25 MB, free: 6.617 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.467/1.467, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3963/0.3963, allocations: 54.93 MB / 324.4 MB, free: 48 kB / 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.002186/0.002186, allocations: 64.52 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1477, allocations: 59.59 MB / 454.4 MB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example3): time 0.2795/0.4272, allocations: 32.38 MB / 486.8 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.4438, allocations: 12.57 MB / 499.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.4463, allocations: 43.16 kB / 499.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.4489, allocations: 0.6651 MB / 0.4884 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.4535, allocations: 1.406 MB / 0.4898 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.457, allocations: 1.293 MB / 0.491 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006245/0.4633, allocations: 4.778 MB / 0.4957 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/0.4664, allocations: 2.001 MB / 0.4976 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.4717, allocations: 1.879 MB / 0.4995 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.4752, allocations: 1.429 MB / 0.5009 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005047/0.4757, allocations: 145 kB / 0.501 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.4795, allocations: 1.183 MB / 0.5022 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006822/0.4802, allocations: 477.3 kB / 0.5026 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.4822, allocations: 1.02 MB / 0.5036 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007417/0.4896, allocations: 2.924 MB / 0.5065 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4897, allocations: 1.156 kB / 0.5065 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4897, allocations: 0 / 0.5065 GB, free: 1.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.137e-05/0.4898, allocations: 0 / 0.5065 GB, free: 1.477 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.005665/0.4954, allocations: 2.363 MB / 0.5088 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.4955, allocations: 10.25 kB / 0.5088 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.4972, allocations: 301.3 kB / 0.5091 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.5011, allocations: 1.622 MB / 0.5107 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.5012, allocations: 80.12 kB / 0.5107 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.5014, allocations: 120.8 kB / 0.5109 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.5056, allocations: 1.521 MB / 0.5123 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.5057, allocations: 6.688 kB / 0.5123 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.5058, allocations: 40 kB / 0.5124 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.5058, allocations: 24.28 kB / 0.5124 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/0.5093, allocations: 1.194 MB / 0.5136 GB, free: 13.83 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.009254/0.5186, allocations: 7.096 MB / 0.5205 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.5212, allocations: 0.7717 MB / 0.5213 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/0.5219, allocations: 383 kB / 0.5216 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002788/0.5247, allocations: 1.419 MB / 0.523 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002046/0.5267, allocations: 0.5753 MB / 0.5236 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009157/0.5277, allocations: 107.1 kB / 0.5237 GB, free: 5.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.675e-06/0.5277, allocations: 0 / 0.5237 GB, free: 5.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.01173/0.5394, allocations: 3.173 MB / 0.5268 GB, free: 2.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.5396, allocations: 136.9 kB / 0.5269 GB, free: 2.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/0.5429, allocations: 1.768 MB / 0.5286 GB, free: 296 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.5431, allocations: 41.7 kB / 0.5287 GB, free: 248 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009974/0.5441, allocations: 0.8616 MB / 0.5295 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.5444, allocations: 181.5 kB / 0.5297 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.5448, allocations: 210.4 kB / 0.5299 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5449, allocations: 341.9 kB / 0.5302 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009616/0.5459, allocations: 392.5 kB / 0.5306 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.5472, allocations: 0.8479 MB / 0.5314 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.5493, allocations: 1.131 MB / 0.5325 GB, free: 11.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.5494, allocations: 4 kB / 0.5325 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005603/0.555, allocations: 1.623 MB / 0.5341 GB, free: 10.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.5551, allocations: 41.64 kB / 0.5341 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.5551, allocations: 11.98 kB / 0.5342 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/0.556, allocations: 295.7 kB / 0.5344 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/0.5568, allocations: 187.7 kB / 0.5346 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009297/0.5661, allocations: 3.972 MB / 0.5385 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.5683, allocations: 103.6 kB / 0.5386 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.5687, allocations: 55.97 kB / 0.5386 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001924/0.5706, allocations: 0.7282 MB / 0.5394 GB, free: 4.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.5717, allocations: 0.7699 MB / 0.5401 GB, free: 3.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00162/0.5733, allocations: 0.995 MB / 0.5411 GB, free: 2.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.395e-05/0.5733, allocations: 4 kB / 0.5411 GB, free: 2.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002845/0.5762, allocations: 1.341 MB / 0.5424 GB, free: 1.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.5762, allocations: 37.7 kB / 0.5424 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.5763, allocations: 12 kB / 0.5424 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.5765, allocations: 124.8 kB / 0.5426 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.5772, allocations: 179.7 kB / 0.5427 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.5798, allocations: 2.326 MB / 0.545 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.5815, allocations: 92.3 kB / 0.5451 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.5816, allocations: 47.98 kB / 0.5451 GB, free: 14.24 MB / 430.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.0004385/0.5821, allocations: 251.9 kB / 0.5454 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/0.5826, allocations: 173.8 kB / 0.5455 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/0.587, allocations: 1.269 MB / 0.5468 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.587, allocations: 12 kB / 0.5468 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.587, allocations: 0 / 0.5468 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003283/0.5903, allocations: 1.215 MB / 0.548 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00684/0.5972, allocations: 2.499 MB / 0.5504 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.5972, allocations: 0 / 0.5504 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.5977, allocations: 96.61 kB / 0.5505 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007844/0.5985, allocations: 284.6 kB / 0.5508 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.5986, allocations: 19.98 kB / 0.5508 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008102/0.6067, allocations: 3.67 MB / 0.5544 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6068, allocations: 0 / 0.5544 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/0.6121, allocations: 1.719 MB / 0.5561 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.6134, allocations: 306.9 kB / 0.5564 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007543/0.6141, allocations: 16.86 kB / 0.5564 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.6159, allocations: 79.92 kB / 0.5565 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.6161, allocations: 56.41 kB / 0.5565 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6163, allocations: 31.97 kB / 0.5565 GB, free: 2.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00291/0.6192, allocations: 1.223 MB / 0.5577 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6192, allocations: 0 / 0.5577 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004892/0.6241, allocations: 0.7734 MB / 0.5585 GB, free: 204 kB / 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 (47): * Single equations (assignments): 41 * 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.00153/0.6256, allocations: 362.7 kB / 0.5588 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004456/0.6301, allocations: 1.903 MB / 0.5607 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6301, allocations: 0 / 0.5607 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.6316, allocations: 0.5796 MB / 0.5613 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/0.6359, allocations: 0.8004 MB / 0.562 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.6424, allocations: 3.575 MB / 0.5655 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/0.6444, allocations: 1.492 MB / 0.567 GB, free: 7.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00204/0.6465, allocations: 453.3 kB / 0.5674 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.6469, allocations: 135.4 kB / 0.5675 GB, free: 6.852 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6469, allocations: 0 / 0.5675 GB, free: 6.852 MB / 446.1 MB Notification: Performance of Templates: time 0.06397/0.7109, allocations: 36.61 MB / 0.6033 GB, free: 2.484 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.makefile (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)