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.726/1.726, allocations: 288.2 MB / 303.2 MB, free: 8.238 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.001198/0.001198, allocations: 182.7 kB / 371.8 MB, free: 10.27 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.705/1.705, allocations: 205.4 MB / 0.6305 GB, free: 9.965 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.00106/0.00106, allocations: 88.42 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 11.62 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.902/5.152, allocations: 2.064 GB / 3.043 GB, free: 207.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/5.152, allocations: 95.06 kB / 3.043 GB, free: 207.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.041/11.19, allocations: 1.789 GB / 4.832 GB, free: 248.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.386e-06/11.19, allocations: 0 / 4.832 GB, free: 248.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.903e-05/11.19, allocations: 33.19 kB / 4.832 GB, free: 248.1 MB / 0.948 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.002876/11.2, allocations: 1.418 MB / 4.833 GB, free: 247.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/11.2, allocations: 14.31 kB / 4.833 GB, free: 247.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/11.2, allocations: 100.3 kB / 4.833 GB, free: 247 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/11.2, allocations: 182.7 kB / 4.833 GB, free: 246.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/11.2, allocations: 1.094 MB / 4.834 GB, free: 246.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/11.2, allocations: 48.09 kB / 4.834 GB, free: 246.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/11.2, allocations: 67.09 kB / 4.835 GB, free: 246.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/11.2, allocations: 0.7664 MB / 4.835 GB, free: 245.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/11.2, allocations: 7.062 kB / 4.835 GB, free: 245.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/11.2, allocations: 21.81 kB / 4.835 GB, free: 245.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/11.2, allocations: 13.03 kB / 4.835 GB, free: 245.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/11.2, allocations: 0.5157 MB / 4.836 GB, free: 245.3 MB / 0.948 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.003382/11.21, allocations: 4.59 MB / 4.84 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/11.21, allocations: 420.2 kB / 4.841 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/11.21, allocations: 195.7 kB / 4.841 GB, free: 239.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004031/11.21, allocations: 295.4 kB / 4.841 GB, free: 239.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/11.21, allocations: 0 / 4.841 GB, free: 239.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001186/11.21, allocations: 0.6383 MB / 4.842 GB, free: 238.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/11.21, allocations: 81.11 kB / 4.842 GB, free: 238.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009932/11.21, allocations: 0.9873 MB / 4.843 GB, free: 237.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/11.21, allocations: 33.92 kB / 4.843 GB, free: 237.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/11.21, allocations: 0.4918 MB / 4.843 GB, free: 237.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/11.21, allocations: 105.1 kB / 4.843 GB, free: 237.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/11.21, allocations: 12 kB / 4.843 GB, free: 237.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/11.21, allocations: 325.9 kB / 4.844 GB, free: 236.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/11.21, allocations: 188.7 kB / 4.844 GB, free: 236.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/11.21, allocations: 0.5091 MB / 4.844 GB, free: 235.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/11.21, allocations: 301.5 kB / 4.845 GB, free: 235.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/11.21, allocations: 0 / 4.845 GB, free: 235.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008882/11.21, allocations: 0.6849 MB / 4.845 GB, free: 234.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004062/11.21, allocations: 2.124 MB / 4.847 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/11.21, allocations: 4 kB / 4.847 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/11.21, allocations: 15.94 kB / 4.847 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/11.21, allocations: 115.8 kB / 4.848 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/11.21, allocations: 15.92 kB / 4.848 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007584/11.21, allocations: 99.47 kB / 4.848 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/11.21, allocations: 27.95 kB / 4.848 GB, free: 232.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/11.21, allocations: 8.609 kB / 4.848 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007197/11.21, allocations: 0.5329 MB / 4.848 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/11.21, allocations: 8 kB / 4.848 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/11.21, allocations: 11.94 kB / 4.848 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/11.21, allocations: 103.9 kB / 4.848 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/11.21, allocations: 11.94 kB / 4.848 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/11.21, allocations: 95.66 kB / 4.848 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/11.21, allocations: 27.98 kB / 4.849 GB, free: 231.6 MB / 0.948 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.000419/11.22, allocations: 468.7 kB / 4.849 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/11.22, allocations: 102.7 kB / 4.849 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007458/11.22, allocations: 0.4989 MB / 4.85 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/11.22, allocations: 4 kB / 4.85 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/11.22, allocations: 0 / 4.85 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/11.22, allocations: 3.938 kB / 4.85 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/11.22, allocations: 1.393 MB / 4.851 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/11.22, allocations: 224 / 4.851 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/11.22, allocations: 67.89 kB / 4.851 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/11.22, allocations: 8 kB / 4.851 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/11.22, allocations: 11.98 kB / 4.851 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/11.22, allocations: 4 kB / 4.851 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/11.22, allocations: 4 kB / 4.851 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/11.22, allocations: 0.7005 MB / 4.852 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/11.22, allocations: 219.8 kB / 4.852 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/11.22, allocations: 11.98 kB / 4.852 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/11.22, allocations: 55.8 kB / 4.852 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/11.22, allocations: 39.91 kB / 4.852 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/11.22, allocations: 8 kB / 4.852 GB, free: 227.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007892/11.22, allocations: 0.7836 MB / 4.853 GB, free: 227 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/11.22, allocations: 0 / 4.853 GB, free: 227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001297/11.22, allocations: 475.6 kB / 4.853 GB, free: 226.6 MB / 0.948 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.002096/11.22, allocations: 2.528 MB / 4.856 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001098/11.23, allocations: 0.7988 MB / 4.856 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/11.23, allocations: 0 / 4.856 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/11.23, allocations: 208.5 kB / 4.857 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/11.23, allocations: 455.8 kB / 4.857 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/11.24, allocations: 9.567 MB / 4.866 GB, free: 212.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/11.24, allocations: 1.201 MB / 4.868 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0011/11.24, allocations: 431.5 kB / 4.868 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/11.24, allocations: 319.3 kB / 4.868 GB, free: 210.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/11.24, allocations: 0 / 4.868 GB, free: 210.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05209/11.29, allocations: 39.23 MB / 4.907 GB, free: 171.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/11.29, allocations: 253 kB / 4.907 GB, free: 171.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/14.41, allocations: 3.938 kB / 4.907 GB, free: 171.4 MB / 0.948 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)