Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.801/1.801, allocations: 288.4 MB / 303.6 MB, free: 8.062 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.0009996/0.0009998, allocations: 187.8 kB / 372.3 MB, free: 10.14 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.649/1.649, allocations: 205.4 MB / 0.631 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.0008353/0.0008352, allocations: 102.8 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004479, allocations: 12.66 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.6685/0.9173, allocations: 146.7 MB / 1.124 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.9218, allocations: 3.358 MB / 1.127 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.9223, allocations: 8.312 kB / 1.127 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.9228, allocations: 118 kB / 1.127 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.9243, allocations: 477.5 kB / 1.127 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.9255, allocations: 370 kB / 1.128 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.9285, allocations: 3.042 MB / 1.131 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009912/0.9295, allocations: 0.7404 MB / 1.131 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.9312, allocations: 0.8824 MB / 1.132 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000825/0.932, allocations: 0.7015 MB / 1.133 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.9321, allocations: 35.12 kB / 1.133 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.934, allocations: 0.7877 MB / 1.134 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.9344, allocations: 283.5 kB / 1.134 GB, free: 488 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009154/0.9353, allocations: 0.5191 MB / 1.135 GB, free: 16.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.9367, allocations: 1.039 MB / 1.136 GB, free: 16.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9367, allocations: 0 / 1.136 GB, free: 16.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9367, allocations: 3.312 kB / 1.136 GB, free: 16.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.9367, allocations: 0 / 1.136 GB, free: 16.18 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002155/0.9389, allocations: 1.295 MB / 1.137 GB, free: 15.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.939, allocations: 9.75 kB / 1.137 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.9391, allocations: 100.1 kB / 1.137 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000694/0.9398, allocations: 187.3 kB / 1.137 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.9411, allocations: 0.84 MB / 1.138 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.9411, allocations: 49.09 kB / 1.138 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.9412, allocations: 59.5 kB / 1.138 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.9426, allocations: 0.7907 MB / 1.139 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.9426, allocations: 4.781 kB / 1.139 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.9427, allocations: 21.75 kB / 1.139 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.9427, allocations: 19.19 kB / 1.139 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008995/0.9436, allocations: 0.5401 MB / 1.139 GB, free: 14.2 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.004511/0.9481, allocations: 4.611 MB / 1.144 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008491/0.949, allocations: 425.5 kB / 1.144 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/0.9494, allocations: 247.7 kB / 1.145 GB, free: 10.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/0.9498, allocations: 192.7 kB / 1.145 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000532/0.9503, allocations: 308.4 kB / 1.145 GB, free: 9.793 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.9503, allocations: 0 / 1.145 GB, free: 9.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.004379/0.9547, allocations: 1.35 MB / 1.146 GB, free: 9.223 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.9548, allocations: 89.69 kB / 1.146 GB, free: 9.121 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.9566, allocations: 1.114 MB / 1.147 GB, free: 8.766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/0.9567, allocations: 36.95 kB / 1.148 GB, free: 8.734 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.9571, allocations: 490.1 kB / 1.148 GB, free: 8.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.9572, allocations: 107.2 kB / 1.148 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.9573, allocations: 9.781 kB / 1.148 GB, free: 8.445 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9574, allocations: 330 kB / 1.148 GB, free: 8.133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.9577, allocations: 186.1 kB / 1.149 GB, free: 8.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.9584, allocations: 0.4921 MB / 1.149 GB, free: 7.668 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/0.9593, allocations: 0.5932 MB / 1.15 GB, free: 7.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.9593, allocations: 5.344 kB / 1.15 GB, free: 7.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002277/0.9616, allocations: 0.9908 MB / 1.151 GB, free: 6.949 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.9618, allocations: 282.1 kB / 1.151 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.9618, allocations: 9.297 kB / 1.151 GB, free: 6.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.9632, allocations: 334.1 kB / 1.151 GB, free: 6.508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.9634, allocations: 66.81 kB / 1.151 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.9645, allocations: 1.01 MB / 1.152 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009421/0.9655, allocations: 104.4 kB / 1.152 GB, free: 5.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.9656, allocations: 28.89 kB / 1.152 GB, free: 5.801 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.9656, allocations: 7.344 kB / 1.152 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001384/0.967, allocations: 0.7268 MB / 1.153 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.967, allocations: 8.875 kB / 1.153 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/0.9675, allocations: 228.8 kB / 1.153 GB, free: 5.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.9677, allocations: 61.75 kB / 1.153 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.9713, allocations: 3.102 MB / 1.156 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.9721, allocations: 95.25 kB / 1.157 GB, free: 3.559 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.9722, allocations: 29.98 kB / 1.157 GB, free: 3.555 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 (34): * Single equations (assignments): 32 * 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.0006902/0.9729, allocations: 465.7 kB / 1.157 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.973, allocations: 98.72 kB / 1.157 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.9742, allocations: 0.7251 MB / 1.158 GB, free: 2.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.9743, allocations: 5.062 kB / 1.158 GB, free: 2.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.9743, allocations: 0 / 1.158 GB, free: 2.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9743, allocations: 0 / 1.158 GB, free: 2.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.9769, allocations: 1.62 MB / 1.159 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9769, allocations: 1.375 kB / 1.159 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.977, allocations: 26.66 kB / 1.159 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.9775, allocations: 232.4 kB / 1.16 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.9775, allocations: 7.5 kB / 1.16 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008402/0.9784, allocations: 0.9778 MB / 1.161 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9784, allocations: 6.125 kB / 1.161 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.9796, allocations: 0.8439 MB / 1.161 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.98, allocations: 225 kB / 1.162 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9801, allocations: 14.91 kB / 1.162 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.9806, allocations: 58.47 kB / 1.162 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9808, allocations: 36.17 kB / 1.162 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.9808, allocations: 11.03 kB / 1.162 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009732/0.9818, allocations: 0.7904 MB / 1.163 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9818, allocations: 0 / 1.163 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001284/0.9831, allocations: 444 kB / 1.163 GB, free: 0.5352 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/0.9847, allocations: 1.365 MB / 1.164 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.9864, allocations: 1.059 MB / 1.165 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9865, allocations: 0 / 1.165 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.9869, allocations: 251 kB / 1.166 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.9891, allocations: 460.5 kB / 1.166 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1, allocations: 6.563 MB / 1.172 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/1.001, allocations: 1.191 MB / 1.174 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009476/1.002, allocations: 319.2 kB / 1.174 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/1.002, allocations: 307.3 kB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.002, allocations: 0 / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8486/1.851, allocations: 28.28 MB / 1.202 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003864/1.851, allocations: 275 kB / 1.202 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/4.857, allocations: 0 / 1.202 GB, free: 2.836 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)