Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") translateModel(Annex60.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 99.36 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.001174/0.001174, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.642/1.642, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4557/0.4557, allocations: 54.94 MB / 324.4 MB, free: 16 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.002069/0.002069, allocations: 71.91 kB / 394.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1379, allocations: 59.59 MB / 454.4 MB, free: 0.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example2): time 0.2691/0.407, allocations: 29.27 MB / 483.7 MB, free: 20.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.423, allocations: 12.01 MB / 495.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.4255, allocations: 41.72 kB / 495.7 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002473/0.4281, allocations: 0.6196 MB / 496.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.4327, allocations: 1.302 MB / 497.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.4368, allocations: 1.28 MB / 498.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006317/0.4431, allocations: 3.785 MB / 0.4909 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.446, allocations: 1.312 MB / 0.4922 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.4503, allocations: 1.482 MB / 0.4937 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.4529, allocations: 1.106 MB / 0.4948 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.4533, allocations: 123 kB / 0.4949 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.4564, allocations: 1.149 MB / 0.496 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005807/0.457, allocations: 405.2 kB / 0.4964 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.4583, allocations: 0.8016 MB / 0.4972 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004848/0.4632, allocations: 2.442 MB / 0.4995 GB, free: 5.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4632, allocations: 0 / 0.4995 GB, free: 5.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4632, allocations: 0.6094 kB / 0.4995 GB, free: 5.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.183e-05/0.4633, allocations: 0 / 0.4995 GB, free: 5.41 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004063/0.4673, allocations: 1.936 MB / 0.5014 GB, free: 4.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4674, allocations: 13.53 kB / 0.5014 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.4687, allocations: 257.6 kB / 0.5017 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.4712, allocations: 1.306 MB / 0.503 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.4713, allocations: 67.25 kB / 0.503 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.4714, allocations: 83.06 kB / 0.5031 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.4747, allocations: 1.212 MB / 0.5043 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.4748, allocations: 1.062 kB / 0.5043 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.4749, allocations: 33.84 kB / 0.5043 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.4749, allocations: 19.5 kB / 0.5043 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.4778, allocations: 0.9224 MB / 0.5052 GB, free: 2.426 MB / 382.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.007107/0.4849, allocations: 5.312 MB / 0.5104 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.4875, allocations: 0.7388 MB / 0.5112 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.4882, allocations: 314.6 kB / 0.5115 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002679/0.4909, allocations: 1.32 MB / 0.5127 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002165/0.4931, allocations: 0.5482 MB / 0.5133 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007192/0.4938, allocations: 78 kB / 0.5134 GB, free: 12.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/0.4939, allocations: 0 / 0.5134 GB, free: 12.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.01129/0.5052, allocations: 2.798 MB / 0.5161 GB, free: 11.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.5054, allocations: 138.2 kB / 0.5162 GB, free: 11.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.5073, allocations: 1.268 MB / 0.5175 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.5076, allocations: 46.08 kB / 0.5175 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.5082, allocations: 0.643 MB / 0.5181 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.5084, allocations: 171.5 kB / 0.5183 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.5087, allocations: 176.9 kB / 0.5185 GB, free: 9.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.5089, allocations: 342.2 kB / 0.5188 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008441/0.5098, allocations: 337.2 kB / 0.5191 GB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.5109, allocations: 0.7012 MB / 0.5198 GB, free: 8.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.5128, allocations: 0.9536 MB / 0.5207 GB, free: 7.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.5128, allocations: 1.375 kB / 0.5207 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005237/0.5181, allocations: 1.423 MB / 0.5221 GB, free: 6.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/0.5181, allocations: 37.7 kB / 0.5222 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.5181, allocations: 8 kB / 0.5222 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008519/0.519, allocations: 299.5 kB / 0.5224 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.5196, allocations: 159.8 kB / 0.5226 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009875/0.5295, allocations: 3.936 MB / 0.5264 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.5314, allocations: 83.89 kB / 0.5265 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.5315, allocations: 47.98 kB / 0.5266 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001197/0.5327, allocations: 0.5799 MB / 0.5271 GB, free: 1.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007855/0.5335, allocations: 0.6144 MB / 0.5277 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001249/0.5348, allocations: 0.8237 MB / 0.5285 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.463e-06/0.5348, allocations: 4 kB / 0.5285 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.002502/0.5373, allocations: 1.138 MB / 0.5297 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.5374, allocations: 33.7 kB / 0.5297 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5374, allocations: 9 kB / 0.5297 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.5376, allocations: 104.7 kB / 0.5298 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.5382, allocations: 155.8 kB / 0.5299 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.5406, allocations: 2.357 MB / 0.5322 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.5419, allocations: 76.06 kB / 0.5323 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.542, allocations: 44.67 kB / 0.5324 GB, free: 11.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 78 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003959/0.5424, allocations: 239.9 kB / 0.5326 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.5426, allocations: 134.5 kB / 0.5327 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.5463, allocations: 1.165 MB / 0.5339 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.5463, allocations: 4 kB / 0.5339 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5463, allocations: 0 / 0.5339 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003118/0.5495, allocations: 1.153 MB / 0.535 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00582/0.5553, allocations: 2.224 MB / 0.5372 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.5553, allocations: 9.344 kB / 0.5372 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.5558, allocations: 91.81 kB / 0.5373 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007631/0.5566, allocations: 285.2 kB / 0.5375 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.5566, allocations: 23.91 kB / 0.5375 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008615/0.5653, allocations: 3.686 MB / 0.5411 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5653, allocations: 7.984 kB / 0.5412 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.5699, allocations: 1.554 MB / 0.5427 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008297/0.5707, allocations: 272 kB / 0.5429 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.5709, allocations: 12 kB / 0.5429 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/0.5717, allocations: 71.89 kB / 0.543 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.5719, allocations: 56.47 kB / 0.5431 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.572, allocations: 27.97 kB / 0.5431 GB, free: 448 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001234/0.5732, allocations: 0.8738 MB / 0.5439 GB, free: 15.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.5733, allocations: 4.109 kB / 0.5439 GB, free: 15.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002727/0.576, allocations: 0.6444 MB / 0.5446 GB, free: 14.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (pump_dp.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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009874/0.577, allocations: 348.6 kB / 0.5449 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004887/0.5819, allocations: 1.846 MB / 0.5467 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.5819, allocations: 4 kB / 0.5467 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.5841, allocations: 0.658 MB / 0.5474 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.5871, allocations: 0.6377 MB / 0.548 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.592, allocations: 2.822 MB / 0.5507 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/0.5929, allocations: 1.284 MB / 0.552 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001489/0.5944, allocations: 331.8 kB / 0.5523 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.5947, allocations: 107.3 kB / 0.5524 GB, free: 6.836 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5947, allocations: 0 / 0.5524 GB, free: 6.836 MB / 430.1 MB Notification: Performance of Templates: time 0.04966/0.6443, allocations: 30.34 MB / 0.582 GB, free: 8.691 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe 2>&1)