Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 175.6 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.3 MB / 0.5671 GB, free: 15.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009472/0.0009473, allocations: 96.61 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.661e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2173, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.619/5.836, allocations: 2.182 GB / 3.067 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/5.837, allocations: 95.69 kB / 3.067 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.732/11.57, allocations: 1.706 GB / 4.773 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.964e-06/11.57, allocations: 0 / 4.773 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001014/11.57, allocations: 31.98 kB / 4.773 GB, free: 143.3 MB / 0.8698 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.001883/11.57, allocations: 1.144 MB / 4.774 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/11.57, allocations: 8.562 kB / 4.774 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/11.57, allocations: 183.5 kB / 4.774 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/11.57, allocations: 1.081 MB / 4.775 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/11.57, allocations: 16 kB / 4.775 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/11.57, allocations: 40 kB / 4.775 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007226/11.57, allocations: 466.3 kB / 4.776 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/11.58, allocations: 0.6766 MB / 4.776 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/11.58, allocations: 4 kB / 4.776 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/11.58, allocations: 0 / 4.776 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/11.58, allocations: 19.98 kB / 4.776 GB, free: 139.5 MB / 0.8698 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.003619/11.58, allocations: 4.469 MB / 4.781 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/11.58, allocations: 442.5 kB / 4.781 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/11.58, allocations: 242.2 kB / 4.782 GB, free: 134 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/11.58, allocations: 198.2 kB / 4.782 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/11.58, allocations: 267.2 kB / 4.782 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.674e-06/11.58, allocations: 0 / 4.782 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0008691/11.58, allocations: 493.6 kB / 4.782 GB, free: 133 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/11.58, allocations: 81.11 kB / 4.783 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/11.58, allocations: 0.8557 MB / 4.783 GB, free: 132 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/11.58, allocations: 25.7 kB / 4.783 GB, free: 132 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/11.58, allocations: 492.2 kB / 4.784 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/11.58, allocations: 106.5 kB / 4.784 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/11.58, allocations: 4 kB / 4.784 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/11.58, allocations: 326 kB / 4.784 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/11.58, allocations: 180.7 kB / 4.784 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/11.58, allocations: 0.4962 MB / 4.785 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/11.58, allocations: 261.7 kB / 4.785 GB, free: 130 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/11.58, allocations: 3.984 kB / 4.785 GB, free: 130 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007366/11.58, allocations: 0.6092 MB / 4.786 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005017/11.59, allocations: 2.126 MB / 4.788 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/11.59, allocations: 4 kB / 4.788 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/11.59, allocations: 15.94 kB / 4.788 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/11.59, allocations: 115.8 kB / 4.788 GB, free: 127 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/11.59, allocations: 12.2 kB / 4.788 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008035/11.59, allocations: 83.47 kB / 4.788 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/11.59, allocations: 27.98 kB / 4.788 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/11.59, allocations: 4 kB / 4.788 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004881/11.59, allocations: 415.3 kB / 4.788 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/11.59, allocations: 4 kB / 4.788 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/11.59, allocations: 8.656 kB / 4.788 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/11.59, allocations: 107.8 kB / 4.789 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/11.59, allocations: 15.92 kB / 4.789 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/11.59, allocations: 75.62 kB / 4.789 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/11.59, allocations: 24 kB / 4.789 GB, free: 126.2 MB / 0.8698 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.0001124/11.59, allocations: 128.8 kB / 4.789 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004415/11.59, allocations: 412.3 kB / 4.789 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/11.59, allocations: 90.88 kB / 4.789 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/11.59, allocations: 442.7 kB / 4.79 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/11.59, allocations: 4 kB / 4.79 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/11.59, allocations: 4 kB / 4.79 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/11.59, allocations: 288 / 4.79 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/11.59, allocations: 1.266 MB / 4.791 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/11.59, allocations: 4 kB / 4.791 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/11.59, allocations: 68.11 kB / 4.791 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/11.59, allocations: 11.98 kB / 4.791 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/11.59, allocations: 7.953 kB / 4.791 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/11.59, allocations: 4 kB / 4.791 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/11.59, allocations: 0 / 4.791 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/11.59, allocations: 0.6304 MB / 4.792 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/11.59, allocations: 219.7 kB / 4.792 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/11.59, allocations: 7.938 kB / 4.792 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/11.59, allocations: 43.89 kB / 4.792 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/11.59, allocations: 31.95 kB / 4.792 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/11.59, allocations: 8 kB / 4.792 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006618/11.59, allocations: 0.665 MB / 4.793 GB, free: 122 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/11.59, allocations: 3.938 kB / 4.793 GB, free: 122 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00124/11.59, allocations: 451.4 kB / 4.793 GB, free: 121.5 MB / 0.8698 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.001927/11.6, allocations: 2.593 MB / 4.796 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008681/11.6, allocations: 0.7556 MB / 4.796 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/11.6, allocations: 0 / 4.796 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/11.6, allocations: 176.5 kB / 4.797 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/11.6, allocations: 394.7 kB / 4.797 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/11.6, allocations: 1.591 MB / 4.798 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/11.6, allocations: 1.198 MB / 4.8 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001625/11.6, allocations: 0.7562 MB / 4.8 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/11.6, allocations: 303.3 kB / 4.801 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of SimCode: time 6.61e-07/11.6, allocations: 0 / 4.801 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/11.66, allocations: 29.88 MB / 4.83 GB, free: 83.87 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/11.66, allocations: 198.7 kB / 4.83 GB, free: 83.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/14.49, allocations: 4.031 kB / 4.83 GB, free: 83.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)