Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.591/2.591, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001512/0.001512, allocations: 179.1 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001221/0.00122, allocations: 96.67 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006469, allocations: 13.23 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2257, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.69/6.916, allocations: 2.066 GB / 3.044 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/6.916, allocations: 91.58 kB / 3.044 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.219/16.14, allocations: 1.801 GB / 4.845 GB, free: 171.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/16.14, allocations: 0 / 4.845 GB, free: 171.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001624/16.14, allocations: 27.98 kB / 4.845 GB, free: 171.6 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004924/16.14, allocations: 1.436 MB / 4.846 GB, free: 170.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/16.14, allocations: 8.031 kB / 4.846 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003339/16.14, allocations: 94.52 kB / 4.846 GB, free: 170 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/16.14, allocations: 187.7 kB / 4.847 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004089/16.15, allocations: 1.116 MB / 4.848 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/16.15, allocations: 41 kB / 4.848 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/16.15, allocations: 64 kB / 4.848 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/16.15, allocations: 0.7615 MB / 4.849 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/16.15, allocations: 7.922 kB / 4.849 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/16.15, allocations: 24 kB / 4.849 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/16.15, allocations: 12 kB / 4.849 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/16.15, allocations: 0.5189 MB / 4.849 GB, free: 167.1 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.00593/16.16, allocations: 4.595 MB / 4.854 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/16.16, allocations: 418.8 kB / 4.854 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/16.16, allocations: 190.2 kB / 4.854 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007034/16.16, allocations: 291.4 kB / 4.855 GB, free: 161.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.976e-06/16.16, allocations: 4.219 kB / 4.855 GB, free: 161.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.005492/16.16, allocations: 1.229 MB / 4.856 GB, free: 160 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/16.16, allocations: 85.05 kB / 4.856 GB, free: 159.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/16.17, allocations: 0.9837 MB / 4.857 GB, free: 158.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/16.17, allocations: 37.7 kB / 4.857 GB, free: 158.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/16.17, allocations: 493.2 kB / 4.857 GB, free: 158.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/16.17, allocations: 114.5 kB / 4.857 GB, free: 158.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/16.17, allocations: 4 kB / 4.857 GB, free: 158.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/16.17, allocations: 330 kB / 4.858 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/16.17, allocations: 180.7 kB / 4.858 GB, free: 157.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007719/16.17, allocations: 0.5046 MB / 4.858 GB, free: 157.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/16.17, allocations: 292.9 kB / 4.859 GB, free: 156.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/16.17, allocations: 0 / 4.859 GB, free: 156.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002561/16.17, allocations: 0.9154 MB / 4.86 GB, free: 155.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/16.17, allocations: 2.125 MB / 4.862 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/16.17, allocations: 4 kB / 4.862 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/16.17, allocations: 241.7 kB / 4.862 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/16.17, allocations: 63.84 kB / 4.862 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/16.18, allocations: 1.005 MB / 4.863 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/16.18, allocations: 103.4 kB / 4.863 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/16.18, allocations: 31.98 kB / 4.863 GB, free: 152.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/16.18, allocations: 4 kB / 4.863 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002316/16.18, allocations: 0.7278 MB / 4.864 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/16.18, allocations: 4.625 kB / 4.864 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008898/16.18, allocations: 210.5 kB / 4.864 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/16.18, allocations: 63.91 kB / 4.864 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005467/16.19, allocations: 3.16 MB / 4.867 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/16.19, allocations: 91.69 kB / 4.867 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/16.19, allocations: 20 kB / 4.867 GB, free: 147.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 (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.0008207/16.19, allocations: 476.6 kB / 4.868 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/16.19, allocations: 102.7 kB / 4.868 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/16.19, allocations: 0.7216 MB / 4.868 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/16.19, allocations: 4 kB / 4.868 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/16.19, allocations: 0 / 4.868 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/16.19, allocations: 0 / 4.868 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/16.2, allocations: 1.599 MB / 4.87 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/16.2, allocations: 4 kB / 4.87 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/16.2, allocations: 31.88 kB / 4.87 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008006/16.2, allocations: 228.8 kB / 4.87 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/16.2, allocations: 11.98 kB / 4.87 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/16.2, allocations: 0.9736 MB / 4.871 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/16.2, allocations: 0 / 4.871 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/16.2, allocations: 0.9275 MB / 4.872 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/16.2, allocations: 219.8 kB / 4.872 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/16.2, allocations: 12 kB / 4.872 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009558/16.2, allocations: 63.78 kB / 4.872 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/16.2, allocations: 27.91 kB / 4.872 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/16.2, allocations: 11.98 kB / 4.872 GB, free: 142 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001504/16.2, allocations: 0.7838 MB / 4.873 GB, free: 141.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.7e-07/16.2, allocations: 0 / 4.873 GB, free: 141.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002299/16.21, allocations: 0.5114 MB / 4.874 GB, free: 140.7 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 (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.003523/16.21, allocations: 2.716 MB / 4.876 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002815/16.21, allocations: 1.046 MB / 4.877 GB, free: 136.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/16.21, allocations: 0 / 4.877 GB, free: 136.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008254/16.21, allocations: 243 kB / 4.878 GB, free: 136.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/16.22, allocations: 460.3 kB / 4.878 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/16.23, allocations: 9.812 MB / 4.888 GB, free: 126 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/16.23, allocations: 1.204 MB / 4.889 GB, free: 124.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00161/16.24, allocations: 323.8 kB / 4.889 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/16.24, allocations: 311.3 kB / 4.889 GB, free: 124.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/16.24, allocations: 0 / 4.889 GB, free: 124.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1364/16.37, allocations: 42.5 MB / 4.931 GB, free: 82.04 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/16.37, allocations: 275 kB / 4.931 GB, free: 81.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.139/20.51, allocations: 0 / 4.931 GB, free: 81.68 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)