Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 81.95 kB / 21.44 MB, free: 3.047 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 170.2 kB / 24.84 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6118/0.6118, allocations: 115 MB / 376.8 MB, free: 7.449 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 482.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.148e-05, allocations: 2.812 kB / 482.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1301/0.1301, allocations: 143.7 MB / 0.6118 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003884/0.134, allocations: 2.57 MB / 0.6143 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004231/0.1344, allocations: 23.81 kB / 0.6143 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.135, allocations: 111.2 kB / 0.6144 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009026/0.1359, allocations: 338 kB / 0.6147 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1374, allocations: 0.6577 MB / 0.6154 GB, free: 4 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.1402, allocations: 2.867 MB / 0.6182 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.1414, allocations: 0.7904 MB / 0.6189 GB, free: 316 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.1439, allocations: 1.524 MB / 0.6204 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.145, allocations: 0.7322 MB / 0.6211 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.1452, allocations: 64 kB / 0.6212 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.1462, allocations: 482.9 kB / 0.6217 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.1466, allocations: 382.5 kB / 0.622 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.1472, allocations: 458.8 kB / 0.6225 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.1487, allocations: 1.284 MB / 0.6237 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1487, allocations: 0 / 0.6237 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1487, allocations: 0 / 0.6237 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.342e-05/0.1487, allocations: 0 / 0.6237 GB, free: 11.4 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00228/0.151, allocations: 1.941 MB / 0.6256 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.151, allocations: 8.031 kB / 0.6256 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.1515, allocations: 251.7 kB / 0.6259 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.1529, allocations: 0.9597 MB / 0.6268 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.1529, allocations: 65 kB / 0.6269 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.153, allocations: 92 kB / 0.627 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.1537, allocations: 0.5874 MB / 0.6275 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1538, allocations: 7.938 kB / 0.6275 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.1538, allocations: 20 kB / 0.6276 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1538, allocations: 16 kB / 0.6276 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.1541, allocations: 170.5 kB / 0.6277 GB, free: 7.098 MB / 0.5417 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.003212/0.1573, allocations: 4.316 MB / 0.6319 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.1576, allocations: 162.9 kB / 0.6321 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1577, allocations: 87.62 kB / 0.6322 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.1578, allocations: 31.91 kB / 0.6322 GB, free: 2.336 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.1581, allocations: 168.5 kB / 0.6324 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.1581, allocations: 0 / 0.6324 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31): time 0.0006824/0.1587, allocations: 368 kB / 0.6327 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1588, allocations: 81.11 kB / 0.6328 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.1602, allocations: 1.495 MB / 0.6343 GB, free: 172 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.1602, allocations: 53.7 kB / 0.6343 GB, free: 112 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.1608, allocations: 0.7822 MB / 0.6351 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.1609, allocations: 123 kB / 0.6352 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.1612, allocations: 316.4 kB / 0.6355 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1614, allocations: 0.5589 MB / 0.636 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.1616, allocations: 126.5 kB / 0.6362 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.1626, allocations: 1.934 MB / 0.6381 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.1638, allocations: 1.396 MB / 0.6394 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.1638, allocations: 8 kB / 0.6394 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001405/0.1652, allocations: 1.041 MB / 0.6404 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.1652, allocations: 49.73 kB / 0.6405 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.1652, allocations: 24 kB / 0.6405 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/0.1653, allocations: 35.98 kB / 0.6405 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.1659, allocations: 267.5 kB / 0.6408 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-05/0.1659, allocations: 55.77 kB / 0.6409 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.1667, allocations: 154.9 kB / 0.641 GB, free: 8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.1667, allocations: 67.98 kB / 0.6411 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003587/0.1671, allocations: 267.1 kB / 0.6413 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/0.1681, allocations: 1.934 MB / 0.6432 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001109/0.1692, allocations: 1.392 MB / 0.6446 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.447e-05/0.1692, allocations: 8.219 kB / 0.6446 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001335/0.1706, allocations: 1.028 MB / 0.6456 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.1706, allocations: 49.64 kB / 0.6456 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.1706, allocations: 24 kB / 0.6457 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.1707, allocations: 32 kB / 0.6457 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.1712, allocations: 267.5 kB / 0.6459 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.633e-05/0.1713, allocations: 51.78 kB / 0.646 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/0.172, allocations: 124.2 kB / 0.6461 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.172, allocations: 60 kB / 0.6462 GB, free: 1.488 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002329/0.1723, allocations: 363.7 kB / 0.6465 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.1724, allocations: 151 kB / 0.6467 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.1729, allocations: 283.1 kB / 0.6469 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1729, allocations: 4 kB / 0.6469 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1729, allocations: 0 / 0.6469 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1729, allocations: 0 / 0.6469 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2731/0.4459, allocations: 1.109 MB / 0.648 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.4459, allocations: 1.734 kB / 0.648 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.4461, allocations: 56.08 kB / 0.6481 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.4461, allocations: 6.25 kB / 0.6481 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4461, allocations: 10.03 kB / 0.6481 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.4462, allocations: 4.391 kB / 0.6481 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4462, allocations: 1.875 kB / 0.6481 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.4467, allocations: 0.513 MB / 0.6486 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.447, allocations: 151.9 kB / 0.6487 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/0.4471, allocations: 12.64 kB / 0.6487 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.4473, allocations: 14.53 kB / 0.6488 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.4474, allocations: 34.41 kB / 0.6488 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.4474, allocations: 12 kB / 0.6488 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007368/0.4481, allocations: 0.7325 MB / 0.6495 GB, free: 42.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4481, allocations: 0.625 kB / 0.6495 GB, free: 42.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001496/0.4496, allocations: 0.5284 MB / 0.65 GB, free: 42.53 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002643/0.4499, allocations: 144.3 kB / 0.6502 GB, free: 42.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.4512, allocations: 1.039 MB / 0.6512 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4512, allocations: 1.406 kB / 0.6512 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.4513, allocations: 94.98 kB / 0.6513 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4524, allocations: 465.4 kB / 0.6517 GB, free: 42.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.4546, allocations: 1.964 MB / 0.6536 GB, free: 41.24 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.4548, allocations: 350.2 kB / 0.654 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005925/0.4554, allocations: 210 kB / 0.6542 GB, free: 41.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.456, allocations: 428.6 kB / 0.6546 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of SimCode: time 2.525e-06/0.456, allocations: 0.9375 kB / 0.6546 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of Templates: time 0.03161/0.4876, allocations: 19.91 MB / 0.674 GB, free: 39.53 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.258694395888597]