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.667/1.667, allocations: 288.4 MB / 303.3 MB, free: 8.09 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.001506/0.001506, allocations: 186.2 kB / 372 MB, free: 10.24 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.697/1.697, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0008544/0.0008543, allocations: 93.19 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.000407, allocations: 15.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2224, allocations: 115.3 MB / 0.9796 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6742/0.8967, allocations: 146.7 MB / 1.123 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003536/0.9003, allocations: 1.636 MB / 1.125 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.9007, allocations: 8.875 kB / 1.125 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.9012, allocations: 112.2 kB / 1.125 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.9025, allocations: 398.6 kB / 1.125 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.9037, allocations: 326.7 kB / 1.125 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003374/0.9071, allocations: 2.986 MB / 1.128 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.9082, allocations: 0.6912 MB / 1.129 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.9101, allocations: 0.8666 MB / 1.13 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.9112, allocations: 0.7051 MB / 1.13 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-05/0.9113, allocations: 35.88 kB / 1.131 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.9128, allocations: 0.5558 MB / 1.131 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.9131, allocations: 281 kB / 1.131 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.9135, allocations: 229 kB / 1.132 GB, free: 16.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.9148, allocations: 1.018 MB / 1.133 GB, free: 16.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.9148, allocations: 0 / 1.133 GB, free: 16.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.637e-06/0.9148, allocations: 1.781 kB / 1.133 GB, free: 16.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.9149, allocations: 0 / 1.133 GB, free: 16.34 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.002207/0.9171, allocations: 1.307 MB / 1.134 GB, free: 15.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.9171, allocations: 9.094 kB / 1.134 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.9172, allocations: 92.8 kB / 1.134 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007272/0.918, allocations: 192.7 kB / 1.134 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.9194, allocations: 0.793 MB / 1.135 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.9194, allocations: 45.16 kB / 1.135 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.9195, allocations: 58.25 kB / 1.135 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.9207, allocations: 0.7967 MB / 1.136 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.9207, allocations: 3.938 kB / 1.136 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.9208, allocations: 25.97 kB / 1.136 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.9208, allocations: 15.44 kB / 1.136 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.9217, allocations: 0.5433 MB / 1.136 GB, free: 14.73 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.004122/0.9258, allocations: 4.609 MB / 1.141 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.9266, allocations: 425.5 kB / 1.141 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.927, allocations: 250.1 kB / 1.141 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.9273, allocations: 191.7 kB / 1.142 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005287/0.9279, allocations: 294.5 kB / 1.142 GB, free: 10.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.9279, allocations: 0 / 1.142 GB, free: 10.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001473/0.9294, allocations: 0.6494 MB / 1.143 GB, free: 10.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.9294, allocations: 80.45 kB / 1.143 GB, free: 10.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.9311, allocations: 1.119 MB / 1.144 GB, free: 9.668 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.9312, allocations: 36.67 kB / 1.144 GB, free: 9.637 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.9316, allocations: 495.2 kB / 1.144 GB, free: 9.422 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.9317, allocations: 105.8 kB / 1.144 GB, free: 9.348 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.9317, allocations: 12.47 kB / 1.144 GB, free: 9.344 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9319, allocations: 328.3 kB / 1.145 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.9323, allocations: 184.2 kB / 1.145 GB, free: 8.992 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.9329, allocations: 0.4924 MB / 1.145 GB, free: 8.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.9334, allocations: 296.4 kB / 1.146 GB, free: 8.477 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.9334, allocations: 2.031 kB / 1.146 GB, free: 8.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001323/0.9347, allocations: 0.6844 MB / 1.146 GB, free: 8.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.9349, allocations: 279.7 kB / 1.147 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.935, allocations: 5.156 kB / 1.147 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/0.935, allocations: 12.48 kB / 1.147 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.9355, allocations: 113.2 kB / 1.147 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.9355, allocations: 12.61 kB / 1.147 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/0.9364, allocations: 100.7 kB / 1.147 GB, free: 7.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.9365, allocations: 26.23 kB / 1.147 GB, free: 7.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.9365, allocations: 4.125 kB / 1.147 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009542/0.9375, allocations: 0.5362 MB / 1.147 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9375, allocations: 13.34 kB / 1.147 GB, free: 7.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.9375, allocations: 9.062 kB / 1.147 GB, free: 7.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.9379, allocations: 106.7 kB / 1.147 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9379, allocations: 6.812 kB / 1.147 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/0.9386, allocations: 106 kB / 1.148 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.9387, allocations: 21.75 kB / 1.148 GB, free: 7.59 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.0007322/0.9394, allocations: 474.2 kB / 1.148 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.9396, allocations: 97.88 kB / 1.148 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.9406, allocations: 0.4984 MB / 1.149 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.9406, allocations: 11.17 kB / 1.149 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9406, allocations: 1 kB / 1.149 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.9406, allocations: 3.953 kB / 1.149 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.9429, allocations: 1.388 MB / 1.15 GB, free: 6.406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.9429, allocations: 3.25 kB / 1.15 GB, free: 6.406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.9432, allocations: 71.22 kB / 1.15 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.9432, allocations: 8.062 kB / 1.15 GB, free: 6.383 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.9432, allocations: 11.02 kB / 1.15 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.9433, allocations: 3.094 kB / 1.15 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.9433, allocations: 6.688 kB / 1.15 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/0.9442, allocations: 0.6107 MB / 1.151 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.9446, allocations: 225.3 kB / 1.151 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.9447, allocations: 15.25 kB / 1.151 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.9452, allocations: 50.95 kB / 1.151 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.9453, allocations: 36.27 kB / 1.151 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.9454, allocations: 8.844 kB / 1.151 GB, free: 5.844 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001189/0.9466, allocations: 0.7867 MB / 1.152 GB, free: 5.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9466, allocations: 0 / 1.152 GB, free: 5.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001398/0.948, allocations: 410 kB / 1.152 GB, free: 5.551 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.00172/0.9497, allocations: 1.238 MB / 1.153 GB, free: 4.664 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.9514, allocations: 0.7978 MB / 1.154 GB, free: 4.379 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9514, allocations: 0 / 1.154 GB, free: 4.379 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.9518, allocations: 206.5 kB / 1.154 GB, free: 4.336 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.954, allocations: 461.2 kB / 1.155 GB, free: 4.184 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.9662, allocations: 6.249 MB / 1.161 GB, free: 1.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.967, allocations: 1.177 MB / 1.162 GB, free: 404 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00133/0.9683, allocations: 425.9 kB / 1.162 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.9687, allocations: 318.2 kB / 1.163 GB, free: 176 kB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.9687, allocations: 0 / 1.163 GB, free: 176 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04905/1.018, allocations: 25.56 MB / 1.188 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/1.018, allocations: 257.6 kB / 1.188 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/3.801, allocations: 0 / 1.188 GB, free: 14.25 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)