Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4554/0.4554, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 97.62 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 55.91 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3312, allocations: 70.06 MB / 0.5575 GB, free: 44.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.02262/0.3538, allocations: 32.55 MB / 0.5893 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.3653, allocations: 10.58 MB / 0.5996 GB, free: 1.938 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.3674, allocations: 43.75 kB / 0.5996 GB, free: 1.895 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.3692, allocations: 0.6396 MB / 0.6003 GB, free: 1.254 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.3731, allocations: 1.442 MB / 0.6017 GB, free: 15.81 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.3763, allocations: 1.255 MB / 0.6029 GB, free: 14.56 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00701/0.3833, allocations: 6.466 MB / 0.6092 GB, free: 8.074 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/0.386, allocations: 1.776 MB / 0.611 GB, free: 6.266 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.3895, allocations: 1.684 MB / 0.6126 GB, free: 4.574 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.3917, allocations: 1.377 MB / 0.6139 GB, free: 3.191 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.3919, allocations: 80 kB / 0.614 GB, free: 3.113 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.3943, allocations: 1.104 MB / 0.6151 GB, free: 2.008 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004419/0.3948, allocations: 402.3 kB / 0.6155 GB, free: 1.613 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.3959, allocations: 0.9479 MB / 0.6164 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.3991, allocations: 2.847 MB / 0.6192 GB, free: 13.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3991, allocations: 0 / 0.6192 GB, free: 13.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3991, allocations: 0 / 0.6192 GB, free: 13.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.472e-05/0.3991, allocations: 0 / 0.6192 GB, free: 13.8 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004096/0.4032, allocations: 2.392 MB / 0.6215 GB, free: 11.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4033, allocations: 12.03 kB / 0.6215 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.405, allocations: 394 kB / 0.6219 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.4081, allocations: 1.68 MB / 0.6235 GB, free: 9.219 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.4082, allocations: 81.94 kB / 0.6236 GB, free: 9.141 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.4084, allocations: 108 kB / 0.6237 GB, free: 9.035 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.4105, allocations: 1.31 MB / 0.625 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.4105, allocations: 0 / 0.625 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.736e-05/0.4106, allocations: 47.98 kB / 0.6251 GB, free: 7.602 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.4107, allocations: 20 kB / 0.6251 GB, free: 7.582 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.4126, allocations: 1.038 MB / 0.6261 GB, free: 6.547 MB / 442.7 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.007371/0.42, allocations: 6.793 MB / 0.6327 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.4214, allocations: 0.6332 MB / 0.6333 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.4222, allocations: 414.5 kB / 0.6337 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/0.4249, allocations: 1.706 MB / 0.6354 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000798/0.4257, allocations: 396.8 kB / 0.6358 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004862/0.4262, allocations: 107.3 kB / 0.6359 GB, free: 11.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=46): time 2.444e-06/0.4262, allocations: 0 / 0.6359 GB, free: 11.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.003527/0.4297, allocations: 1.36 MB / 0.6372 GB, free: 10.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.4298, allocations: 59.41 kB / 0.6373 GB, free: 10.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.432, allocations: 1.781 MB / 0.639 GB, free: 8.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.4321, allocations: 37.7 kB / 0.639 GB, free: 8.527 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006987/0.4328, allocations: 0.8461 MB / 0.6399 GB, free: 7.672 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.4329, allocations: 169.7 kB / 0.64 GB, free: 7.504 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.4332, allocations: 186.4 kB / 0.6402 GB, free: 7.316 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4333, allocations: 338 kB / 0.6405 GB, free: 6.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007983/0.4341, allocations: 340.6 kB / 0.6409 GB, free: 6.645 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009855/0.4351, allocations: 0.7596 MB / 0.6416 GB, free: 5.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.4368, allocations: 1.023 MB / 0.6426 GB, free: 4.508 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.4368, allocations: 4 kB / 0.6426 GB, free: 4.504 MB / 458.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002707/0.4395, allocations: 1.336 MB / 0.6439 GB, free: 3.148 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.4396, allocations: 37.7 kB / 0.6439 GB, free: 3.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.4396, allocations: 12 kB / 0.644 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/0.4403, allocations: 185.1 kB / 0.6441 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.441, allocations: 171.7 kB / 0.6443 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/0.4417, allocations: 0.7668 MB / 0.645 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.4428, allocations: 104.5 kB / 0.6451 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.4429, allocations: 43.98 kB / 0.6452 GB, free: 1.805 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001222/0.4441, allocations: 0.732 MB / 0.6459 GB, free: 1.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008974/0.445, allocations: 0.7245 MB / 0.6466 GB, free: 148 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001402/0.4464, allocations: 0.9678 MB / 0.6475 GB, free: 15.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.47e-06/0.4464, allocations: 3.984 kB / 0.6476 GB, free: 15.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002366/0.4488, allocations: 1.296 MB / 0.6488 GB, free: 13.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.4489, allocations: 37.69 kB / 0.6489 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4489, allocations: 15.94 kB / 0.6489 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.4491, allocations: 117.4 kB / 0.649 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.4498, allocations: 179.7 kB / 0.6492 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.4519, allocations: 2.122 MB / 0.6512 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.453, allocations: 96.66 kB / 0.6513 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/0.4531, allocations: 39.98 kB / 0.6514 GB, free: 10.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (85): * Single equations (assignments): 82 * 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.0002794/0.4534, allocations: 240 kB / 0.6516 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.4536, allocations: 177.7 kB / 0.6518 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.4558, allocations: 1.035 MB / 0.6528 GB, free: 9.484 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.4559, allocations: 8 kB / 0.6528 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4559, allocations: 7.938 kB / 0.6528 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/0.4575, allocations: 0.984 MB / 0.6537 GB, free: 8.41 MB / 474.7 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.003879/0.4613, allocations: 2.214 MB / 0.6559 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4614, allocations: 0 / 0.6559 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.4618, allocations: 99.92 kB / 0.656 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002861/0.4621, allocations: 120.5 kB / 0.6561 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.4622, allocations: 11.98 kB / 0.6561 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005551/0.4628, allocations: 0.7395 MB / 0.6568 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4628, allocations: 4.062 kB / 0.6569 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02394/0.4867, allocations: 10.98 MB / 0.6676 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.4874, allocations: 294.9 kB / 0.6679 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.4877, allocations: 20.05 kB / 0.6679 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.4884, allocations: 87.77 kB / 0.668 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4885, allocations: 40.33 kB / 0.668 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.4886, allocations: 23.98 kB / 0.668 GB, free: 9.242 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00171/0.4903, allocations: 1.235 MB / 0.6692 GB, free: 7.984 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4903, allocations: 0 / 0.6692 GB, free: 7.984 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003762/0.4941, allocations: 1.327 MB / 0.6705 GB, free: 6.656 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.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 (40): * Single equations (assignments): 34 * 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.001109/0.4952, allocations: 454.3 kB / 0.671 GB, free: 6.207 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003205/0.4984, allocations: 1.521 MB / 0.6724 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4985, allocations: 0 / 0.6724 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.4993, allocations: 354.6 kB / 0.6728 GB, free: 4.309 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/0.5026, allocations: 0.7395 MB / 0.6735 GB, free: 3.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/0.5082, allocations: 4 MB / 0.6774 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.5092, allocations: 1.516 MB / 0.6789 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001754/0.511, allocations: 470.1 kB / 0.6793 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/0.5113, allocations: 135.4 kB / 0.6795 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.5114, allocations: 0 / 0.6795 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.2969/0.8083, allocations: 35.42 MB / 0.7141 GB, free: 138.8 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)