Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8476/0.8476, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 173.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.0008914, allocations: 88.33 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 272.7 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005026, allocations: 12.69 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2045, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.644/4.849, allocations: 1.83 GB / 2.603 GB, free: 247.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/4.849, allocations: 95.06 kB / 2.604 GB, free: 247.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.304/11.15, allocations: 1.802 GB / 4.405 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.065e-06/11.15, allocations: 0 / 4.405 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001086/11.15, allocations: 27.98 kB / 4.405 GB, free: 126.3 MB / 0.7136 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.002899/11.16, allocations: 1.434 MB / 4.407 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/11.16, allocations: 12.02 kB / 4.407 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/11.16, allocations: 90.52 kB / 4.407 GB, free: 124.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007548/11.16, allocations: 189.4 kB / 4.407 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/11.16, allocations: 1.088 MB / 4.408 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/11.16, allocations: 45 kB / 4.408 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/11.16, allocations: 60 kB / 4.408 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/11.16, allocations: 0.7731 MB / 4.409 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/11.16, allocations: 0 / 4.409 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/11.16, allocations: 27.94 kB / 4.409 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/11.16, allocations: 12 kB / 4.409 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/11.16, allocations: 0.5189 MB / 4.41 GB, free: 121.9 MB / 0.7136 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.003719/11.17, allocations: 4.591 MB / 4.414 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/11.17, allocations: 422.5 kB / 4.414 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/11.17, allocations: 194.2 kB / 4.415 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004116/11.17, allocations: 297 kB / 4.415 GB, free: 116 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/11.17, allocations: 0 / 4.415 GB, free: 116 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001283/11.17, allocations: 0.6434 MB / 4.416 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/11.17, allocations: 81.11 kB / 4.416 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/11.17, allocations: 0.9834 MB / 4.417 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/11.17, allocations: 37.7 kB / 4.417 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/11.17, allocations: 496.5 kB / 4.417 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.991e-05/11.17, allocations: 106.7 kB / 4.417 GB, free: 113.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/11.17, allocations: 12 kB / 4.417 GB, free: 113.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/11.17, allocations: 329.9 kB / 4.417 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/11.17, allocations: 184.7 kB / 4.418 GB, free: 113.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/11.17, allocations: 0.5085 MB / 4.418 GB, free: 112.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/11.17, allocations: 294.5 kB / 4.418 GB, free: 112.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/11.17, allocations: 0 / 4.418 GB, free: 112.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009354/11.17, allocations: 0.6853 MB / 4.419 GB, free: 111.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005614/11.17, allocations: 2.124 MB / 4.421 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/11.17, allocations: 4 kB / 4.421 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/11.17, allocations: 12 kB / 4.421 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/11.17, allocations: 111.8 kB / 4.421 GB, free: 109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/11.17, allocations: 11.94 kB / 4.421 GB, free: 109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/11.17, allocations: 107.4 kB / 4.421 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/11.17, allocations: 35.95 kB / 4.421 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/11.17, allocations: 5.406 kB / 4.421 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007369/11.17, allocations: 0.5336 MB / 4.422 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/11.17, allocations: 8 kB / 4.422 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-06/11.17, allocations: 8.375 kB / 4.422 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/11.17, allocations: 108.4 kB / 4.422 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/11.17, allocations: 15.92 kB / 4.422 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/11.18, allocations: 95.56 kB / 4.422 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/11.18, allocations: 23.98 kB / 4.422 GB, free: 108.1 MB / 0.7136 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.0005831/11.18, allocations: 468.7 kB / 4.423 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/11.18, allocations: 106.7 kB / 4.423 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/11.18, allocations: 0.495 MB / 4.423 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/11.18, allocations: 3.938 kB / 4.423 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/11.18, allocations: 4 kB / 4.423 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/11.18, allocations: 0 / 4.423 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/11.18, allocations: 1.4 MB / 4.425 GB, free: 105.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/11.18, allocations: 0 / 4.425 GB, free: 105.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/11.18, allocations: 63.89 kB / 4.425 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/11.18, allocations: 4 kB / 4.425 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/11.18, allocations: 11.94 kB / 4.425 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/11.18, allocations: 7.984 kB / 4.425 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/11.18, allocations: 12.2 kB / 4.425 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/11.18, allocations: 0.6949 MB / 4.425 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/11.18, allocations: 211.8 kB / 4.426 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/11.18, allocations: 8 kB / 4.426 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/11.18, allocations: 59.78 kB / 4.426 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/11.18, allocations: 31.92 kB / 4.426 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/11.18, allocations: 11.98 kB / 4.426 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008195/11.18, allocations: 0.7797 MB / 4.426 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/11.18, allocations: 4 kB / 4.426 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001472/11.18, allocations: 475.6 kB / 4.427 GB, free: 103 MB / 0.7136 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.002409/11.19, allocations: 2.533 MB / 4.429 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001226/11.19, allocations: 0.8066 MB / 4.43 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/11.19, allocations: 0 / 4.43 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/11.19, allocations: 206.2 kB / 4.43 GB, free: 99.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/11.19, allocations: 449.5 kB / 4.431 GB, free: 98.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/11.2, allocations: 9.561 MB / 4.44 GB, free: 89.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/11.2, allocations: 1.198 MB / 4.441 GB, free: 87.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00124/11.2, allocations: 435.5 kB / 4.442 GB, free: 87.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/11.2, allocations: 327.3 kB / 4.442 GB, free: 87.12 MB / 0.7136 GB Notification: Performance of SimCode: time 1.26e-05/11.2, allocations: 0 / 4.442 GB, free: 87.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0659/11.27, allocations: 39.26 MB / 4.48 GB, free: 48.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/11.27, allocations: 248 kB / 4.481 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.338/14.61, allocations: 1.875 kB / 4.481 GB, free: 47.9 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)