Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.4 MB / 303.7 MB, free: 8.105 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.001363/0.001363, allocations: 184.5 kB / 372.3 MB, free: 10.11 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.346/1.346, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0007521/0.0007522, allocations: 94.31 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004227, allocations: 20.2 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.5969/0.8008, allocations: 152.4 MB / 1.129 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.8051, allocations: 2.051 MB / 1.131 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/0.8055, allocations: 19.53 kB / 1.131 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007374/0.8063, allocations: 174 kB / 1.131 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.8081, allocations: 0.6022 MB / 1.132 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.8093, allocations: 371.3 kB / 1.132 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002887/0.8122, allocations: 3.296 MB / 1.135 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/0.815, allocations: 2.344 MB / 1.138 GB, free: 256 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.8172, allocations: 1.082 MB / 1.139 GB, free: 28 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.8185, allocations: 0.871 MB / 1.14 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/0.8186, allocations: 46.88 kB / 1.14 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.8202, allocations: 0.889 MB / 1.14 GB, free: 15.58 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.8206, allocations: 332.8 kB / 1.141 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.8213, allocations: 0.5791 MB / 1.141 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.8226, allocations: 1.188 MB / 1.142 GB, free: 14.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8226, allocations: 1.344 kB / 1.142 GB, free: 14.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.897e-06/0.8226, allocations: 0 / 1.142 GB, free: 14.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.8226, allocations: 3.938 kB / 1.142 GB, free: 14.56 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002586/0.8252, allocations: 1.511 MB / 1.144 GB, free: 13.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.8252, allocations: 9.25 kB / 1.144 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007888/0.826, allocations: 203.2 kB / 1.144 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.8277, allocations: 0.9039 MB / 1.145 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.8278, allocations: 46.25 kB / 1.145 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.8279, allocations: 68.88 kB / 1.145 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.8294, allocations: 0.9959 MB / 1.146 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.8295, allocations: 1.188 kB / 1.146 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.8295, allocations: 24.56 kB / 1.146 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.8296, allocations: 14.41 kB / 1.146 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.8309, allocations: 0.8051 MB / 1.147 GB, free: 12.22 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.005085/0.836, allocations: 4.83 MB / 1.152 GB, free: 8.383 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.8387, allocations: 4.023 MB / 1.156 GB, free: 3.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.8393, allocations: 344.7 kB / 1.156 GB, free: 3.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.8396, allocations: 202.9 kB / 1.156 GB, free: 3.723 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/0.8401, allocations: 323.7 kB / 1.156 GB, free: 3.582 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005105/0.8406, allocations: 39.23 kB / 1.156 GB, free: 3.559 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 4.038e-06/0.8407, allocations: 1.094 kB / 1.156 GB, free: 3.559 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.004751/0.8454, allocations: 1.621 MB / 1.158 GB, free: 2.855 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.8455, allocations: 89.47 kB / 1.158 GB, free: 2.754 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.847, allocations: 1.171 MB / 1.159 GB, free: 2.387 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.8471, allocations: 38.98 kB / 1.159 GB, free: 2.355 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.8475, allocations: 0.5178 MB / 1.16 GB, free: 2.129 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.8476, allocations: 127.9 kB / 1.16 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.8476, allocations: 11.03 kB / 1.16 GB, free: 2.035 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8477, allocations: 323.2 kB / 1.16 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.8481, allocations: 210.9 kB / 1.16 GB, free: 1.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.8488, allocations: 0.5336 MB / 1.161 GB, free: 1.234 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.8498, allocations: 0.6508 MB / 1.162 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8498, allocations: 2.438 kB / 1.162 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002287/0.8521, allocations: 1.031 MB / 1.163 GB, free: 0.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.8523, allocations: 279.7 kB / 1.163 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.8523, allocations: 5.5 kB / 1.163 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.8535, allocations: 334 kB / 1.163 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.8539, allocations: 110.7 kB / 1.163 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.855, allocations: 1.006 MB / 1.164 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.8561, allocations: 92.34 kB / 1.164 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.8561, allocations: 27.39 kB / 1.164 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.8561, allocations: 7.719 kB / 1.164 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001407/0.8576, allocations: 0.7836 MB / 1.165 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.8576, allocations: 9.219 kB / 1.165 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/0.8581, allocations: 224.5 kB / 1.165 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.8586, allocations: 109.7 kB / 1.166 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.8619, allocations: 2.937 MB / 1.168 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.863, allocations: 100.6 kB / 1.168 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.863, allocations: 26.03 kB / 1.169 GB, free: 13.2 MB / 0.7136 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006716/0.8637, allocations: 482.9 kB / 1.169 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.8639, allocations: 110.5 kB / 1.169 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.8651, allocations: 0.7893 MB / 1.17 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8651, allocations: 3.125 kB / 1.17 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.8652, allocations: 0 / 1.17 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.8652, allocations: 6.422 kB / 1.17 GB, free: 12.6 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.002815/0.868, allocations: 2.126 MB / 1.172 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.868, allocations: 3.312 kB / 1.172 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.8683, allocations: 86.77 kB / 1.172 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003842/0.8687, allocations: 174.1 kB / 1.172 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.8688, allocations: 15.75 kB / 1.172 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006334/0.8694, allocations: 0.8566 MB / 1.173 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8694, allocations: 5.125 kB / 1.173 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.8706, allocations: 0.853 MB / 1.174 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/0.871, allocations: 234.4 kB / 1.174 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.8711, allocations: 12.77 kB / 1.174 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.8718, allocations: 73.45 kB / 1.174 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.8719, allocations: 40.33 kB / 1.174 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.8719, allocations: 10.75 kB / 1.174 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009877/0.8729, allocations: 0.8266 MB / 1.175 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8729, allocations: 4 kB / 1.175 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001423/0.8743, allocations: 0.5047 MB / 1.176 GB, free: 9.742 MB / 0.7136 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004678/0.8748, allocations: 198.1 kB / 1.176 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.8767, allocations: 1.122 MB / 1.177 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8767, allocations: 0 / 1.177 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.8771, allocations: 252.4 kB / 1.177 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.8804, allocations: 0.6453 MB / 1.178 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.8833, allocations: 2.106 MB / 1.18 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/0.884, allocations: 1.214 MB / 1.181 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001052/0.8851, allocations: 355.5 kB / 1.181 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.8852, allocations: 70.08 kB / 1.181 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.8852, allocations: 0 / 1.181 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of Templates: time 0.03385/0.9191, allocations: 21.17 MB / 1.202 GB, free: 5.121 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)