Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.622/1.622, allocations: 287.5 MB / 302.6 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 186.5 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 0.6298 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000848/0.000848, allocations: 107.1 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 16.06 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2006, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6061/0.8067, allocations: 146.7 MB / 1.122 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.8099, allocations: 1.642 MB / 1.124 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.8104, allocations: 11.3 kB / 1.124 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.811, allocations: 106.2 kB / 1.124 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.8123, allocations: 394.5 kB / 1.124 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.8135, allocations: 332.2 kB / 1.124 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00286/0.8164, allocations: 3.023 MB / 1.127 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009566/0.8174, allocations: 0.7369 MB / 1.128 GB, free: 348 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.819, allocations: 0.8703 MB / 1.129 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009161/0.8199, allocations: 0.6998 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.8201, allocations: 33.86 kB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.8216, allocations: 0.561 MB / 1.13 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.822, allocations: 281.5 kB / 1.13 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.8223, allocations: 235 kB / 1.131 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.8233, allocations: 1.019 MB / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8234, allocations: 0 / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8234, allocations: 0 / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.8234, allocations: 1.75 kB / 1.132 GB, free: 15.76 MB / 0.698 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.002039/0.8254, allocations: 1.293 MB / 1.133 GB, free: 14.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8255, allocations: 9.875 kB / 1.133 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000687/0.8262, allocations: 188 kB / 1.133 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.8275, allocations: 0.8358 MB / 1.134 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.8275, allocations: 41.72 kB / 1.134 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.8276, allocations: 59.44 kB / 1.134 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.8288, allocations: 0.7948 MB / 1.135 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.8289, allocations: 2.625 kB / 1.135 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/0.8289, allocations: 20.59 kB / 1.135 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.829, allocations: 14.06 kB / 1.135 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.8299, allocations: 0.5438 MB / 1.135 GB, free: 14.24 MB / 0.698 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.004451/0.8344, allocations: 4.613 MB / 1.14 GB, free: 10.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.8351, allocations: 429 kB / 1.14 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.8356, allocations: 247.7 kB / 1.141 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/0.8359, allocations: 200.7 kB / 1.141 GB, free: 10.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/0.8364, allocations: 292.5 kB / 1.141 GB, free: 10.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.935e-06/0.8364, allocations: 4 kB / 1.141 GB, free: 10.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001739/0.8382, allocations: 0.6447 MB / 1.142 GB, free: 10.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.8383, allocations: 86.12 kB / 1.142 GB, free: 10.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.84, allocations: 1.108 MB / 1.143 GB, free: 9.855 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.8401, allocations: 37.42 kB / 1.143 GB, free: 9.824 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.8406, allocations: 494.9 kB / 1.143 GB, free: 9.605 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.8407, allocations: 108.1 kB / 1.143 GB, free: 9.531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.8408, allocations: 11.12 kB / 1.143 GB, free: 9.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8409, allocations: 325.3 kB / 1.144 GB, free: 9.219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.8414, allocations: 194.3 kB / 1.144 GB, free: 9.172 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/0.8422, allocations: 0.4964 MB / 1.144 GB, free: 8.746 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.8433, allocations: 0.5867 MB / 1.145 GB, free: 8.422 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.8433, allocations: 6.188 kB / 1.145 GB, free: 8.418 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001605/0.845, allocations: 0.68 MB / 1.146 GB, free: 8.172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.8452, allocations: 281 kB / 1.146 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.8452, allocations: 5.969 kB / 1.146 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.8452, allocations: 8.156 kB / 1.146 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.8457, allocations: 112.6 kB / 1.146 GB, free: 7.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.8457, allocations: 12.52 kB / 1.146 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.8467, allocations: 104.8 kB / 1.146 GB, free: 7.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.8468, allocations: 29.95 kB / 1.146 GB, free: 7.766 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.8468, allocations: 4.156 kB / 1.146 GB, free: 7.766 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000976/0.8478, allocations: 0.5327 MB / 1.147 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8479, allocations: 7.703 kB / 1.147 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.8479, allocations: 8.094 kB / 1.147 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.8482, allocations: 109.9 kB / 1.147 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.8483, allocations: 16.58 kB / 1.147 GB, free: 7.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007975/0.8491, allocations: 93.03 kB / 1.147 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.8491, allocations: 21.78 kB / 1.147 GB, free: 7.543 MB / 0.698 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007441/0.8499, allocations: 473.1 kB / 1.147 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.85, allocations: 97.28 kB / 1.147 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009394/0.851, allocations: 0.5027 MB / 1.148 GB, free: 7.062 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.851, allocations: 3.688 kB / 1.148 GB, free: 7.062 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.851, allocations: 5.156 kB / 1.148 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.851, allocations: 1.375 kB / 1.148 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.8533, allocations: 1.399 MB / 1.149 GB, free: 6.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8533, allocations: 5.375 kB / 1.149 GB, free: 6.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.8536, allocations: 63.39 kB / 1.149 GB, free: 6.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.8536, allocations: 7.562 kB / 1.149 GB, free: 6.332 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.8536, allocations: 9.125 kB / 1.149 GB, free: 6.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.8536, allocations: 9.391 kB / 1.149 GB, free: 6.328 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8536, allocations: 6.406 kB / 1.149 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.8545, allocations: 0.6111 MB / 1.15 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.8549, allocations: 219.2 kB / 1.15 GB, free: 5.836 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.855, allocations: 13.56 kB / 1.15 GB, free: 5.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.8555, allocations: 59.7 kB / 1.15 GB, free: 5.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.8556, allocations: 35.11 kB / 1.15 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.8557, allocations: 8.781 kB / 1.15 GB, free: 5.789 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001128/0.8568, allocations: 0.786 MB / 1.151 GB, free: 5.527 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8568, allocations: 0 / 1.151 GB, free: 5.527 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001332/0.8581, allocations: 411.3 kB / 1.152 GB, free: 5.492 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004378/0.8586, allocations: 176.6 kB / 1.152 GB, free: 5.371 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.86, allocations: 0.8048 MB / 1.152 GB, free: 5.078 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.86, allocations: 0 / 1.152 GB, free: 5.078 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.8604, allocations: 215.9 kB / 1.153 GB, free: 5.027 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.8627, allocations: 455.8 kB / 1.153 GB, free: 4.875 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.8658, allocations: 1.953 MB / 1.155 GB, free: 3.777 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.8668, allocations: 1.177 MB / 1.156 GB, free: 2.902 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001255/0.868, allocations: 429.4 kB / 1.157 GB, free: 2.711 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.8682, allocations: 71.92 kB / 1.157 GB, free: 2.699 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/0.8682, allocations: 2.844 kB / 1.157 GB, free: 2.699 MB / 0.698 GB Notification: Performance of Templates: time 0.02665/0.8949, allocations: 16.04 MB / 1.172 GB, free: 10.89 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)