Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.883 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.001094/0.001094, allocations: 168.1 kB / 316.3 MB, free: 3.309 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.561/1.561, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008443/0.0008443, allocations: 93.75 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.747e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.296/5.495, allocations: 2.185 GB / 3.07 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/5.495, allocations: 91 kB / 3.07 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.825/11.32, allocations: 1.717 GB / 4.787 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.973e-06/11.32, allocations: 4 kB / 4.787 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001092/11.32, allocations: 31.98 kB / 4.787 GB, free: 124.9 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002172/11.32, allocations: 1.152 MB / 4.788 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/11.32, allocations: 12.56 kB / 4.788 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/11.32, allocations: 182.5 kB / 4.788 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/11.32, allocations: 1.108 MB / 4.79 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/11.32, allocations: 16 kB / 4.79 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/11.32, allocations: 36 kB / 4.79 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006604/11.33, allocations: 470.3 kB / 4.79 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/11.33, allocations: 0.6698 MB / 4.791 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/11.33, allocations: 3.938 kB / 4.791 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/11.33, allocations: 4 kB / 4.791 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/11.33, allocations: 16 kB / 4.791 GB, free: 121 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.003156/11.33, allocations: 4.469 MB / 4.795 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/11.33, allocations: 436.2 kB / 4.795 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/11.33, allocations: 239.6 kB / 4.796 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/11.33, allocations: 194.2 kB / 4.796 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/11.33, allocations: 271.4 kB / 4.796 GB, free: 115 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/11.33, allocations: 0 / 4.796 GB, free: 115 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001513/11.33, allocations: 0.7632 MB / 4.797 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/11.33, allocations: 81.11 kB / 4.797 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/11.33, allocations: 0.8521 MB / 4.798 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/11.33, allocations: 25.7 kB / 4.798 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/11.33, allocations: 496.3 kB / 4.798 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/11.33, allocations: 114.4 kB / 4.798 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/11.33, allocations: 0 / 4.798 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/11.33, allocations: 318 kB / 4.799 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/11.33, allocations: 184.8 kB / 4.799 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/11.33, allocations: 495.9 kB / 4.799 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/11.33, allocations: 261.8 kB / 4.8 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/11.33, allocations: 4 kB / 4.8 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001313/11.34, allocations: 0.8866 MB / 4.801 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005351/11.34, allocations: 2.135 MB / 4.803 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/11.34, allocations: 4 kB / 4.803 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/11.34, allocations: 228.6 kB / 4.803 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/11.34, allocations: 59.84 kB / 4.803 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009009/11.34, allocations: 1.106 MB / 4.804 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/11.34, allocations: 83.53 kB / 4.804 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/11.34, allocations: 27.98 kB / 4.804 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/11.34, allocations: 8 kB / 4.804 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/11.34, allocations: 0.5938 MB / 4.805 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/11.34, allocations: 7.953 kB / 4.805 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004612/11.34, allocations: 200.9 kB / 4.805 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/11.34, allocations: 63.91 kB / 4.805 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/11.34, allocations: 2.966 MB / 4.808 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/11.35, allocations: 79.67 kB / 4.808 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/11.35, allocations: 24 kB / 4.808 GB, free: 102.5 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 (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.0003023/11.35, allocations: 124.9 kB / 4.808 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001069/11.35, allocations: 0.6136 MB / 4.809 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/11.35, allocations: 98.77 kB / 4.809 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/11.35, allocations: 0.6356 MB / 4.809 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/11.35, allocations: 8 kB / 4.809 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/11.35, allocations: 4 kB / 4.809 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/11.35, allocations: 3.984 kB / 4.809 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/11.35, allocations: 1.465 MB / 4.811 GB, free: 99.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/11.35, allocations: 4.453 kB / 4.811 GB, free: 99.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/11.35, allocations: 27.92 kB / 4.811 GB, free: 99.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/11.35, allocations: 180.7 kB / 4.811 GB, free: 99.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/11.35, allocations: 7.984 kB / 4.811 GB, free: 99.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008764/11.35, allocations: 0.99 MB / 4.812 GB, free: 98.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/11.35, allocations: 3.984 kB / 4.812 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/11.35, allocations: 0.842 MB / 4.813 GB, free: 97.24 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/11.35, allocations: 215.8 kB / 4.813 GB, free: 97.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/11.35, allocations: 7.938 kB / 4.813 GB, free: 97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/11.35, allocations: 47.86 kB / 4.813 GB, free: 96.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/11.35, allocations: 39.84 kB / 4.813 GB, free: 96.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/11.35, allocations: 12 kB / 4.813 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008992/11.36, allocations: 0.6652 MB / 4.814 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.41e-07/11.36, allocations: 0 / 4.814 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001859/11.36, allocations: 487.4 kB / 4.814 GB, free: 95.75 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 (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.0023/11.36, allocations: 2.789 MB / 4.817 GB, free: 92.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001484/11.36, allocations: 0.9855 MB / 4.818 GB, free: 91.87 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/11.36, allocations: 0 / 4.818 GB, free: 91.87 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/11.36, allocations: 203.1 kB / 4.818 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/11.36, allocations: 389.9 kB / 4.818 GB, free: 91.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/11.37, allocations: 1.603 MB / 4.82 GB, free: 89.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/11.37, allocations: 1.209 MB / 4.821 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001457/11.37, allocations: 0.647 MB / 4.822 GB, free: 87.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/11.37, allocations: 295.3 kB / 4.822 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of SimCode: time 1.103e-06/11.37, allocations: 0 / 4.822 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05515/11.42, allocations: 32.53 MB / 4.854 GB, free: 55.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/11.42, allocations: 200.1 kB / 4.854 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/14.45, allocations: 0 / 4.854 GB, free: 54.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)