Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.777/2.777, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001586/0.001585, allocations: 176.9 kB / 370.8 MB, free: 10.85 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.59 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.001176/0.001175, allocations: 98.84 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005265/0.0005264, allocations: 10.59 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2225, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.619/6.842, allocations: 2.063 GB / 3.042 GB, free: 211 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/6.842, allocations: 98.69 kB / 3.042 GB, free: 210.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.248/16.09, allocations: 1.789 GB / 4.83 GB, free: 251 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.565e-06/16.09, allocations: 0 / 4.83 GB, free: 251 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000145/16.09, allocations: 26.47 kB / 4.83 GB, free: 251 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.004501/16.1, allocations: 1.433 MB / 4.832 GB, free: 250.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/16.1, allocations: 7.75 kB / 4.832 GB, free: 250.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002739/16.1, allocations: 102.5 kB / 4.832 GB, free: 250 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/16.1, allocations: 187 kB / 4.832 GB, free: 249.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/16.1, allocations: 1.085 MB / 4.833 GB, free: 249.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.178e-05/16.1, allocations: 47.09 kB / 4.833 GB, free: 249.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/16.1, allocations: 63.11 kB / 4.833 GB, free: 249.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/16.1, allocations: 0.7655 MB / 4.834 GB, free: 248.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/16.1, allocations: 3.562 kB / 4.834 GB, free: 248.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/16.1, allocations: 19.84 kB / 4.834 GB, free: 248.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/16.1, allocations: 15.03 kB / 4.834 GB, free: 248.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/16.1, allocations: 0.5158 MB / 4.834 GB, free: 248.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.006613/16.11, allocations: 4.601 MB / 4.839 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/16.11, allocations: 423.7 kB / 4.839 GB, free: 243.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/16.11, allocations: 190.8 kB / 4.84 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007204/16.11, allocations: 292.4 kB / 4.84 GB, free: 243.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.427e-06/16.11, allocations: 0 / 4.84 GB, free: 243.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002257/16.12, allocations: 0.6472 MB / 4.84 GB, free: 243.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/16.12, allocations: 80.86 kB / 4.841 GB, free: 243 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/16.12, allocations: 0.9846 MB / 4.841 GB, free: 242.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/16.12, allocations: 35.39 kB / 4.842 GB, free: 242.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/16.12, allocations: 495 kB / 4.842 GB, free: 242 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/16.12, allocations: 112.4 kB / 4.842 GB, free: 241.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/16.12, allocations: 4 kB / 4.842 GB, free: 241.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/16.12, allocations: 332.8 kB / 4.842 GB, free: 241.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/16.12, allocations: 182.1 kB / 4.843 GB, free: 241.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/16.12, allocations: 0.5104 MB / 4.843 GB, free: 241 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/16.12, allocations: 298.8 kB / 4.843 GB, free: 240.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/16.12, allocations: 3.938 kB / 4.843 GB, free: 240.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001816/16.12, allocations: 0.6727 MB / 4.844 GB, free: 240.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004751/16.12, allocations: 2.127 MB / 4.846 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/16.12, allocations: 11.41 kB / 4.846 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.053e-05/16.12, allocations: 11.44 kB / 4.846 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/16.13, allocations: 113.1 kB / 4.846 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/16.13, allocations: 19.42 kB / 4.846 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/16.13, allocations: 114.7 kB / 4.846 GB, free: 238.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/16.13, allocations: 26.5 kB / 4.846 GB, free: 238.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/16.13, allocations: 7.812 kB / 4.846 GB, free: 238.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001372/16.13, allocations: 0.5327 MB / 4.847 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/16.13, allocations: 3.938 kB / 4.847 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/16.13, allocations: 11.56 kB / 4.847 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/16.13, allocations: 109.8 kB / 4.847 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/16.13, allocations: 15.27 kB / 4.847 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/16.13, allocations: 92.97 kB / 4.847 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/16.13, allocations: 23.16 kB / 4.847 GB, free: 237.7 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.000852/16.13, allocations: 468.8 kB / 4.848 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/16.13, allocations: 101.1 kB / 4.848 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/16.13, allocations: 0.5022 MB / 4.848 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/16.13, allocations: 4 kB / 4.848 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/16.13, allocations: 0 / 4.848 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/16.13, allocations: 0 / 4.848 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/16.14, allocations: 1.399 MB / 4.85 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/16.14, allocations: 0 / 4.85 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/16.14, allocations: 67.89 kB / 4.85 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/16.14, allocations: 4 kB / 4.85 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/16.14, allocations: 12 kB / 4.85 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.968e-05/16.14, allocations: 4 kB / 4.85 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/16.14, allocations: 4 kB / 4.85 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/16.14, allocations: 0.7046 MB / 4.85 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/16.14, allocations: 211.8 kB / 4.851 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/16.14, allocations: 8 kB / 4.851 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/16.14, allocations: 55.88 kB / 4.851 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/16.14, allocations: 35.86 kB / 4.851 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/16.14, allocations: 12 kB / 4.851 GB, free: 234.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001465/16.14, allocations: 0.7797 MB / 4.851 GB, free: 233.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.41e-07/16.14, allocations: 0 / 4.851 GB, free: 233.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002059/16.14, allocations: 483.6 kB / 4.852 GB, free: 233 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.003156/16.15, allocations: 2.527 MB / 4.854 GB, free: 230.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002105/16.15, allocations: 0.7989 MB / 4.855 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/16.15, allocations: 0 / 4.855 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005895/16.15, allocations: 204.2 kB / 4.855 GB, free: 229.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/16.15, allocations: 452.2 kB / 4.856 GB, free: 229.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/16.17, allocations: 9.57 MB / 4.865 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/16.17, allocations: 1.193 MB / 4.866 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001943/16.17, allocations: 431.5 kB / 4.867 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/16.17, allocations: 331.3 kB / 4.867 GB, free: 217.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.392e-06/16.17, allocations: 3.938 kB / 4.867 GB, free: 217.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09414/16.27, allocations: 39.21 MB / 4.905 GB, free: 178.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/16.27, allocations: 243.4 kB / 4.906 GB, free: 178.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.07/20.34, allocations: 0 / 4.906 GB, free: 178.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)