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.652/1.652, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001131/0.001131, allocations: 168.9 kB / 361.4 MB, free: 6.883 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.775/1.775, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009631/0.0009627, allocations: 100.3 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.625e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.749, allocations: 115.3 MB / 0.9645 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.278/6.027, allocations: 2.063 GB / 3.027 GB, free: 98.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/6.027, allocations: 84.48 kB / 3.027 GB, free: 98.74 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.076/13.1, allocations: 1.769 GB / 4.796 GB, free: 182.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/13.1, allocations: 0 / 4.796 GB, free: 182.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001559/13.1, allocations: 27.98 kB / 4.796 GB, free: 182.4 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.00271/13.11, allocations: 1.143 MB / 4.797 GB, free: 181.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/13.11, allocations: 8.031 kB / 4.797 GB, free: 181.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/13.11, allocations: 182.5 kB / 4.797 GB, free: 181 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/13.11, allocations: 1.085 MB / 4.798 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/13.11, allocations: 16 kB / 4.798 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/13.11, allocations: 40 kB / 4.798 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008121/13.11, allocations: 470.3 kB / 4.799 GB, free: 179.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/13.11, allocations: 0.6774 MB / 4.799 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/13.11, allocations: 4 kB / 4.799 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/13.11, allocations: 0 / 4.799 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/13.11, allocations: 16 kB / 4.799 GB, free: 178.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003852/13.12, allocations: 4.473 MB / 4.804 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/13.12, allocations: 438.5 kB / 4.804 GB, free: 173.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/13.12, allocations: 240.7 kB / 4.804 GB, free: 173 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/13.12, allocations: 190.2 kB / 4.805 GB, free: 172.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/13.12, allocations: 265.9 kB / 4.805 GB, free: 172.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/13.12, allocations: 0 / 4.805 GB, free: 172.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0009868/13.12, allocations: 495.9 kB / 4.805 GB, free: 172 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/13.12, allocations: 85.11 kB / 4.805 GB, free: 171.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/13.12, allocations: 0.8518 MB / 4.806 GB, free: 171.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/13.12, allocations: 25.7 kB / 4.806 GB, free: 171 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/13.12, allocations: 496.7 kB / 4.807 GB, free: 170.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/13.12, allocations: 98.56 kB / 4.807 GB, free: 170.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/13.12, allocations: 0 / 4.807 GB, free: 170.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/13.12, allocations: 330 kB / 4.807 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/13.12, allocations: 176.8 kB / 4.807 GB, free: 169.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/13.12, allocations: 0.5009 MB / 4.808 GB, free: 169.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/13.12, allocations: 255.6 kB / 4.808 GB, free: 169.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/13.12, allocations: 0 / 4.808 GB, free: 169.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008229/13.12, allocations: 0.6133 MB / 4.809 GB, free: 168.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004286/13.12, allocations: 2.13 MB / 4.811 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/13.12, allocations: 4 kB / 4.811 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/13.12, allocations: 8.219 kB / 4.811 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/13.12, allocations: 123.8 kB / 4.811 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/13.12, allocations: 11.94 kB / 4.811 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008666/13.12, allocations: 87.45 kB / 4.811 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-05/13.12, allocations: 24 kB / 4.811 GB, free: 165.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/13.12, allocations: 4.625 kB / 4.811 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005519/13.12, allocations: 419.5 kB / 4.811 GB, free: 165.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/13.12, allocations: 4 kB / 4.811 GB, free: 165.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/13.12, allocations: 12.03 kB / 4.811 GB, free: 165.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/13.12, allocations: 112.5 kB / 4.812 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/13.12, allocations: 11.94 kB / 4.812 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/13.13, allocations: 79.61 kB / 4.812 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/13.13, allocations: 24 kB / 4.812 GB, free: 165.2 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 () * 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.0001376/13.13, allocations: 124.8 kB / 4.812 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005099/13.13, allocations: 404.3 kB / 4.812 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/13.13, allocations: 98.78 kB / 4.812 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006743/13.13, allocations: 447 kB / 4.813 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/13.13, allocations: 7.938 kB / 4.813 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/13.13, allocations: 0 / 4.813 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/13.13, allocations: 0 / 4.813 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/13.13, allocations: 1.263 MB / 4.814 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/13.13, allocations: 4 kB / 4.814 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/13.13, allocations: 63.95 kB / 4.814 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/13.13, allocations: 4 kB / 4.814 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/13.13, allocations: 4.219 kB / 4.814 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/13.13, allocations: 19.89 kB / 4.814 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/13.13, allocations: 0 / 4.814 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/13.13, allocations: 0.6321 MB / 4.815 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/13.13, allocations: 219.8 kB / 4.815 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/13.13, allocations: 3.953 kB / 4.815 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/13.13, allocations: 47.86 kB / 4.815 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/13.13, allocations: 31.95 kB / 4.815 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/13.13, allocations: 15.94 kB / 4.815 GB, free: 161.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006928/13.13, allocations: 0.6611 MB / 4.816 GB, free: 161 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/13.13, allocations: 0 / 4.816 GB, free: 161 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00145/13.13, allocations: 451.4 kB / 4.816 GB, free: 160.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) * 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.002044/13.14, allocations: 2.587 MB / 4.819 GB, free: 157.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009593/13.14, allocations: 0.7675 MB / 4.819 GB, free: 157.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/13.14, allocations: 0 / 4.819 GB, free: 157.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/13.14, allocations: 175.8 kB / 4.819 GB, free: 157 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/13.14, allocations: 384.7 kB / 4.82 GB, free: 156.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/13.14, allocations: 1.595 MB / 4.821 GB, free: 154.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/13.14, allocations: 1.198 MB / 4.823 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001797/13.14, allocations: 0.7562 MB / 4.823 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/13.14, allocations: 307.3 kB / 4.824 GB, free: 152.6 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/13.14, allocations: 0 / 4.824 GB, free: 152.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05457/13.2, allocations: 29.87 MB / 4.853 GB, free: 122.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/13.2, allocations: 202.7 kB / 4.853 GB, free: 122.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/16.09, allocations: 0 / 4.853 GB, free: 122.7 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)