Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005124/0.005124, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.399/1.399, 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005284/0.0005285, allocations: 18.81 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2163, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6075/0.8238, allocations: 157.3 MB / 0.9415 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.8271, allocations: 1.738 MB / 0.9432 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005296/0.8277, allocations: 14.81 kB / 0.9432 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.8284, allocations: 138.6 kB / 0.9433 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.83, allocations: 0.49 MB / 0.9438 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.8312, allocations: 344.9 kB / 0.9441 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005332/0.8365, allocations: 3.475 MB / 0.9475 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.8389, allocations: 0.7528 MB / 0.9483 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.842, allocations: 0.8986 MB / 0.9491 GB, free: 0 / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.8442, allocations: 0.7182 MB / 0.9498 GB, free: 0 / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.8446, allocations: 32.8 kB / 0.9499 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.8473, allocations: 0.8016 MB / 0.9507 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007117/0.848, allocations: 279.9 kB / 0.9509 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.8498, allocations: 0.5331 MB / 0.9515 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.8526, allocations: 1.367 MB / 0.9528 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8526, allocations: 1.438 kB / 0.9528 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8526, allocations: 0 / 0.9528 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.076e-05/0.8527, allocations: 1.75 kB / 0.9528 GB, free: 15.77 MB / 0.7325 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.004027/0.8567, allocations: 1.262 MB / 0.954 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.973e-05/0.8568, allocations: 9.438 kB / 0.954 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.8585, allocations: 185.6 kB / 0.9542 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.8613, allocations: 0.8002 MB / 0.955 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.23e-05/0.8614, allocations: 44.91 kB / 0.955 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.8616, allocations: 59.31 kB / 0.9551 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.8634, allocations: 0.8004 MB / 0.9559 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.8634, allocations: 6.156 kB / 0.9559 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.8635, allocations: 28.47 kB / 0.9559 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.8636, allocations: 13.34 kB / 0.9559 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.8647, allocations: 0.5483 MB / 0.9565 GB, free: 14.24 MB / 0.7325 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.005255/0.87, allocations: 4.599 MB / 0.9609 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007812/0.8708, allocations: 426.8 kB / 0.9613 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.8712, allocations: 265.7 kB / 0.9616 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.8716, allocations: 197.4 kB / 0.9618 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.8721, allocations: 296.4 kB / 0.9621 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.966e-06/0.8721, allocations: 0 / 0.9621 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001579/0.8737, allocations: 0.6557 MB / 0.9627 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.8738, allocations: 81.48 kB / 0.9628 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.8756, allocations: 1.115 MB / 0.9639 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.8757, allocations: 38.08 kB / 0.9639 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.8761, allocations: 489 kB / 0.9644 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.8763, allocations: 112 kB / 0.9645 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.8763, allocations: 50.77 kB / 0.9645 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8765, allocations: 328.1 kB / 0.9649 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.8769, allocations: 211.9 kB / 0.9651 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.8776, allocations: 0.5222 MB / 0.9656 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/0.8785, allocations: 0.6361 MB / 0.9662 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.8785, allocations: 1.281 kB / 0.9662 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001356/0.8799, allocations: 0.7287 MB / 0.9669 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.8801, allocations: 282.7 kB / 0.9672 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.8801, allocations: 6.125 kB / 0.9672 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.8801, allocations: 8.719 kB / 0.9672 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.8806, allocations: 116.2 kB / 0.9673 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.8806, allocations: 11.66 kB / 0.9673 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/0.8815, allocations: 99.66 kB / 0.9674 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/0.8816, allocations: 27.92 kB / 0.9674 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.8816, allocations: 6.938 kB / 0.9674 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009723/0.8826, allocations: 0.5382 MB / 0.968 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.8826, allocations: 9 kB / 0.968 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.8827, allocations: 14.28 kB / 0.968 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.883, allocations: 103.4 kB / 0.9681 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.883, allocations: 7.719 kB / 0.9681 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.8839, allocations: 90 kB / 0.9682 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.884, allocations: 26.23 kB / 0.9682 GB, free: 7.891 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (53): * Single equations (assignments): 52 * 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.0007001/0.8847, allocations: 474.6 kB / 0.9686 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.8849, allocations: 100.3 kB / 0.9687 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009742/0.8859, allocations: 0.4952 MB / 0.9692 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.8859, allocations: 2.281 kB / 0.9692 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.886, allocations: 6.969 kB / 0.9692 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.886, allocations: 3.984 kB / 0.9692 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.8882, allocations: 1.391 MB / 0.9706 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8882, allocations: 2.938 kB / 0.9706 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.8885, allocations: 70.33 kB / 0.9707 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.8885, allocations: 5.5 kB / 0.9707 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.8885, allocations: 11.31 kB / 0.9707 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.8885, allocations: 10.11 kB / 0.9707 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8885, allocations: 1.859 kB / 0.9707 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.8894, allocations: 0.6135 MB / 0.9713 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.8898, allocations: 217.9 kB / 0.9715 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.89, allocations: 10.97 kB / 0.9715 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.8906, allocations: 51.36 kB / 0.9716 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.8907, allocations: 36.05 kB / 0.9716 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.8907, allocations: 13.22 kB / 0.9716 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001142/0.8919, allocations: 0.7896 MB / 0.9724 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8919, allocations: 0 / 0.9724 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001507/0.8934, allocations: 406.5 kB / 0.9728 GB, free: 5.859 MB / 0.7325 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.0004577/0.8939, allocations: 173 kB / 0.9729 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.8953, allocations: 0.8253 MB / 0.9737 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8953, allocations: 0 / 0.9737 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.8957, allocations: 203.8 kB / 0.9739 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.8982, allocations: 462.9 kB / 0.9744 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.9017, allocations: 2.044 MB / 0.9764 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009829/0.9028, allocations: 1.184 MB / 0.9775 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001401/0.9042, allocations: 424.1 kB / 0.9779 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.9044, allocations: 71.31 kB / 0.978 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.9044, allocations: 0 / 0.978 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of Templates: time 0.03058/0.935, allocations: 16.42 MB / 0.994 GB, free: 11.07 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: