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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.817/1.817, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.001118/0.001118, allocations: 183 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.629/1.629, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0008131/0.0008134, allocations: 94.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004502, allocations: 12.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2499, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6851/0.9351, allocations: 146.7 MB / 1.123 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.9379, allocations: 1.642 MB / 1.125 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.9383, allocations: 14.5 kB / 1.125 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.9388, allocations: 121.7 kB / 1.125 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.9403, allocations: 477.8 kB / 1.126 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.9415, allocations: 326.5 kB / 1.126 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00338/0.9449, allocations: 3.025 MB / 1.129 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.9462, allocations: 0.7411 MB / 1.13 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.9479, allocations: 0.8727 MB / 1.131 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000791/0.9487, allocations: 0.7024 MB / 1.131 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.9488, allocations: 35.47 kB / 1.131 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.9505, allocations: 0.7918 MB / 1.132 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.9509, allocations: 285.2 kB / 1.132 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006636/0.9515, allocations: 0.5165 MB / 1.133 GB, free: 16.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.9527, allocations: 1.036 MB / 1.134 GB, free: 16.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.9527, allocations: 0 / 1.134 GB, free: 16.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9527, allocations: 0 / 1.134 GB, free: 16.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.9527, allocations: 1.859 kB / 1.134 GB, free: 16.29 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.002027/0.9548, allocations: 1.294 MB / 1.135 GB, free: 15.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.9548, allocations: 10.66 kB / 1.135 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.9549, allocations: 95.42 kB / 1.135 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006887/0.9556, allocations: 187.5 kB / 1.135 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.957, allocations: 0.8354 MB / 1.136 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.957, allocations: 44.31 kB / 1.136 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.9571, allocations: 57.97 kB / 1.136 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.9582, allocations: 0.8026 MB / 1.137 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.9582, allocations: 0 / 1.137 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.9583, allocations: 24.69 kB / 1.137 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.9583, allocations: 15.59 kB / 1.137 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.9591, allocations: 0.5485 MB / 1.138 GB, free: 14.5 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.004306/0.9634, allocations: 4.609 MB / 1.142 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.9643, allocations: 421.9 kB / 1.143 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.9647, allocations: 251 kB / 1.143 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.9651, allocations: 190.1 kB / 1.143 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000566/0.9656, allocations: 302.7 kB / 1.143 GB, free: 10.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.815e-06/0.9656, allocations: 0 / 1.143 GB, free: 10.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001477/0.9671, allocations: 0.6483 MB / 1.144 GB, free: 9.891 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.9672, allocations: 84.11 kB / 1.144 GB, free: 9.797 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.9687, allocations: 1.111 MB / 1.145 GB, free: 9.438 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.9688, allocations: 38.33 kB / 1.145 GB, free: 9.406 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.9692, allocations: 490.3 kB / 1.146 GB, free: 9.191 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.9693, allocations: 114.2 kB / 1.146 GB, free: 9.113 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.9693, allocations: 9.125 kB / 1.146 GB, free: 9.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9695, allocations: 330.8 kB / 1.146 GB, free: 8.797 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.9698, allocations: 184.2 kB / 1.146 GB, free: 8.758 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.9704, allocations: 0.4973 MB / 1.147 GB, free: 8.336 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/0.9714, allocations: 0.5997 MB / 1.147 GB, free: 8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.9714, allocations: 1.188 kB / 1.147 GB, free: 8 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001355/0.9728, allocations: 0.6723 MB / 1.148 GB, free: 7.762 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.973, allocations: 277.5 kB / 1.148 GB, free: 7.441 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.9731, allocations: 5.375 kB / 1.148 GB, free: 7.441 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.9731, allocations: 12.12 kB / 1.148 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.9736, allocations: 116.4 kB / 1.148 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.88e-05/0.9736, allocations: 11.09 kB / 1.148 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.9745, allocations: 109.6 kB / 1.148 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.9746, allocations: 22.94 kB / 1.148 GB, free: 7.352 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.9746, allocations: 5.594 kB / 1.148 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000911/0.9755, allocations: 0.5382 MB / 1.149 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.9755, allocations: 7.031 kB / 1.149 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.9756, allocations: 7.281 kB / 1.149 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.9759, allocations: 112.3 kB / 1.149 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.976, allocations: 11.91 kB / 1.149 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.9767, allocations: 94.45 kB / 1.149 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.9768, allocations: 24.62 kB / 1.149 GB, free: 7.125 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.0007626/0.9775, allocations: 474.9 kB / 1.15 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.9777, allocations: 106 kB / 1.15 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.9787, allocations: 0.4965 MB / 1.15 GB, free: 6.641 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.9787, allocations: 3.844 kB / 1.15 GB, free: 6.641 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.9787, allocations: 5.375 kB / 1.15 GB, free: 6.637 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.9787, allocations: 3.984 kB / 1.15 GB, free: 6.633 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.9809, allocations: 1.386 MB / 1.152 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.9809, allocations: 6.969 kB / 1.152 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.9812, allocations: 64.27 kB / 1.152 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.9812, allocations: 7.891 kB / 1.152 GB, free: 5.918 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.9812, allocations: 12.31 kB / 1.152 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/0.9812, allocations: 11.23 kB / 1.152 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9812, allocations: 2.312 kB / 1.152 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.9822, allocations: 0.6131 MB / 1.152 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.9825, allocations: 222.4 kB / 1.152 GB, free: 5.414 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.9826, allocations: 9.75 kB / 1.153 GB, free: 5.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.9831, allocations: 59.62 kB / 1.153 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.9832, allocations: 33.52 kB / 1.153 GB, free: 5.371 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.9833, allocations: 12.5 kB / 1.153 GB, free: 5.371 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001236/0.9845, allocations: 0.7825 MB / 1.153 GB, free: 5.109 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9845, allocations: 0 / 1.153 GB, free: 5.109 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00146/0.986, allocations: 410.4 kB / 1.154 GB, free: 5.078 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.00155/0.9876, allocations: 1.221 MB / 1.155 GB, free: 4.207 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.989, allocations: 0.8042 MB / 1.156 GB, free: 3.918 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.989, allocations: 1.312 kB / 1.156 GB, free: 3.918 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.9894, allocations: 202.6 kB / 1.156 GB, free: 3.875 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.9916, allocations: 456.1 kB / 1.156 GB, free: 3.723 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.002, allocations: 6.249 MB / 1.162 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/1.003, allocations: 1.188 MB / 1.164 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001153/1.004, allocations: 414.6 kB / 1.164 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/1.005, allocations: 326.7 kB / 1.164 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of SimCode: time 1.252e-06/1.005, allocations: 0 / 1.164 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7558/1.76, allocations: 25.83 MB / 1.19 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/1.761, allocations: 252.1 kB / 1.19 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.064/4.824, allocations: 0 / 1.19 GB, free: 13.17 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)