Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.58/1.58, allocations: 288.4 MB / 304.3 MB, free: 8.07 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.0009312/0.0009313, allocations: 180.5 kB / 372.9 MB, free: 10.16 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.301/1.301, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007125/0.0007126, allocations: 104.1 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005927/0.0005927, allocations: 16.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1901, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4581/0.6481, allocations: 146.7 MB / 1.124 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.6504, allocations: 1.651 MB / 1.126 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.6506, allocations: 9.406 kB / 1.126 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.651, allocations: 120.8 kB / 1.126 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008941/0.6519, allocations: 473.2 kB / 1.126 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.6526, allocations: 326.2 kB / 1.127 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.6547, allocations: 3.027 MB / 1.129 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/0.6555, allocations: 0.7343 MB / 1.13 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.6566, allocations: 0.8781 MB / 1.131 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000689/0.6573, allocations: 0.7095 MB / 1.132 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.6574, allocations: 39.12 kB / 1.132 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.6585, allocations: 0.7824 MB / 1.133 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.6588, allocations: 288.6 kB / 1.133 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.6593, allocations: 0.515 MB / 1.133 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008805/0.6602, allocations: 1.039 MB / 1.134 GB, free: 268 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6602, allocations: 1.125 kB / 1.134 GB, free: 268 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6602, allocations: 0 / 1.134 GB, free: 268 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.6602, allocations: 0 / 1.134 GB, free: 268 kB / 0.6823 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.001954/0.6621, allocations: 1.291 MB / 1.136 GB, free: 15.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6622, allocations: 9.594 kB / 1.136 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/0.6629, allocations: 181.6 kB / 1.136 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.6642, allocations: 0.8374 MB / 1.137 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.6642, allocations: 47.34 kB / 1.137 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.6643, allocations: 60.91 kB / 1.137 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.6655, allocations: 0.793 MB / 1.137 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6655, allocations: 5.969 kB / 1.137 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.6656, allocations: 23.28 kB / 1.138 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.6656, allocations: 13.44 kB / 1.138 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.6665, allocations: 0.5424 MB / 1.138 GB, free: 14.52 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.003908/0.6705, allocations: 4.607 MB / 1.143 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.6712, allocations: 426.5 kB / 1.143 GB, free: 10.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.6715, allocations: 246.2 kB / 1.143 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.6718, allocations: 199.8 kB / 1.143 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.6723, allocations: 297.2 kB / 1.144 GB, free: 10.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.6723, allocations: 0 / 1.144 GB, free: 10.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001258/0.6736, allocations: 0.6489 MB / 1.144 GB, free: 9.914 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.6736, allocations: 85.45 kB / 1.144 GB, free: 9.816 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.6749, allocations: 1.107 MB / 1.145 GB, free: 9.461 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.6749, allocations: 41.56 kB / 1.146 GB, free: 9.426 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.6753, allocations: 495.3 kB / 1.146 GB, free: 9.207 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.6754, allocations: 106.4 kB / 1.146 GB, free: 9.133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.6754, allocations: 8.844 kB / 1.146 GB, free: 9.133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6755, allocations: 331.5 kB / 1.146 GB, free: 8.816 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.6758, allocations: 193.3 kB / 1.147 GB, free: 8.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.6764, allocations: 0.4927 MB / 1.147 GB, free: 8.348 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.6772, allocations: 0.5916 MB / 1.148 GB, free: 8.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6772, allocations: 1.25 kB / 1.148 GB, free: 8.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001063/0.6783, allocations: 0.6872 MB / 1.148 GB, free: 7.773 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.6784, allocations: 280 kB / 1.149 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6784, allocations: 4.75 kB / 1.149 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6785, allocations: 8.344 kB / 1.149 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.6789, allocations: 114.4 kB / 1.149 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.6789, allocations: 18.53 kB / 1.149 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/0.6797, allocations: 102.3 kB / 1.149 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.6797, allocations: 22.28 kB / 1.149 GB, free: 7.367 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.972e-06/0.6797, allocations: 8.531 kB / 1.149 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008326/0.6806, allocations: 0.5366 MB / 1.149 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.6806, allocations: 4.906 kB / 1.149 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.6806, allocations: 8.5 kB / 1.149 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.681, allocations: 110.9 kB / 1.15 GB, free: 7.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.681, allocations: 15.17 kB / 1.15 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.6816, allocations: 95.59 kB / 1.15 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.6816, allocations: 24.8 kB / 1.15 GB, free: 7.133 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.0005287/0.6822, allocations: 469.9 kB / 1.15 GB, free: 6.863 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.6823, allocations: 98.19 kB / 1.15 GB, free: 6.812 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.6831, allocations: 0.5051 MB / 1.151 GB, free: 6.656 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6832, allocations: 1.406 kB / 1.151 GB, free: 6.656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6832, allocations: 0 / 1.151 GB, free: 6.656 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.6835, allocations: 216.2 kB / 1.151 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.6836, allocations: 8.062 kB / 1.151 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.6841, allocations: 54.98 kB / 1.151 GB, free: 6.469 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.6841, allocations: 30.66 kB / 1.151 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008882/0.685, allocations: 0.582 MB / 1.152 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008197/0.6859, allocations: 0.7107 MB / 1.152 GB, free: 5.766 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002996/0.6862, allocations: 175.7 kB / 1.152 GB, free: 5.727 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009557/0.6871, allocations: 0.7904 MB / 1.153 GB, free: 5.461 MB / 0.698 GB Notification: Performance of Backend: time 7.42e-07/0.6872, allocations: 0 / 1.153 GB, free: 5.461 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.6892, allocations: 0.8792 MB / 1.154 GB, free: 5.086 MB / 0.698 GB Notification: Performance of SimCode: time 0.003933/0.6931, allocations: 2.7 MB / 1.157 GB, free: 3.469 MB / 0.698 GB Notification: Performance of Templates: time 0.02562/0.7188, allocations: 17.91 MB / 1.174 GB, free: 10.71 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)