Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 182.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5177/0.5177, allocations: 91.98 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 223.1 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 110.6 kB / 427.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 8 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1759, allocations: 72.31 MB / 0.5689 GB, free: 1.805 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.933/5.109, allocations: 1.823 GB / 2.392 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/5.109, allocations: 95.95 kB / 2.392 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.008/12.12, allocations: 1.802 GB / 4.194 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.524e-06/12.12, allocations: 0 / 4.194 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002028/12.12, allocations: 27.98 kB / 4.194 GB, free: 100.1 MB / 0.6042 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.004185/12.12, allocations: 1.431 MB / 4.195 GB, free: 98.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/12.12, allocations: 8.031 kB / 4.195 GB, free: 98.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/12.12, allocations: 90.52 kB / 4.195 GB, free: 98.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008461/12.12, allocations: 191.2 kB / 4.195 GB, free: 98.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/12.13, allocations: 1.088 MB / 4.196 GB, free: 97.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/12.13, allocations: 45 kB / 4.196 GB, free: 97.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/12.13, allocations: 60 kB / 4.196 GB, free: 97.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009989/12.13, allocations: 0.7692 MB / 4.197 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/12.13, allocations: 0 / 4.197 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/12.13, allocations: 28 kB / 4.197 GB, free: 96.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/12.13, allocations: 15.98 kB / 4.197 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/12.13, allocations: 0.5149 MB / 4.198 GB, free: 95.71 MB / 0.6042 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.00358/12.13, allocations: 4.602 MB / 4.202 GB, free: 90.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/12.13, allocations: 422.5 kB / 4.203 GB, free: 90.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/12.13, allocations: 198.2 kB / 4.203 GB, free: 90.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/12.13, allocations: 290.6 kB / 4.203 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/12.13, allocations: 0 / 4.203 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001287/12.13, allocations: 0.6443 MB / 4.204 GB, free: 89.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/12.13, allocations: 89.06 kB / 4.204 GB, free: 89.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/12.14, allocations: 0.9873 MB / 4.205 GB, free: 88.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/12.14, allocations: 37.7 kB / 4.205 GB, free: 87.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/12.14, allocations: 488.5 kB / 4.205 GB, free: 87.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/12.14, allocations: 106.5 kB / 4.205 GB, free: 87.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/12.14, allocations: 12 kB / 4.205 GB, free: 87.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/12.14, allocations: 329.9 kB / 4.206 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/12.14, allocations: 188.9 kB / 4.206 GB, free: 86.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/12.14, allocations: 0.5014 MB / 4.206 GB, free: 86.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/12.14, allocations: 305.5 kB / 4.207 GB, free: 85.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/12.14, allocations: 0 / 4.207 GB, free: 85.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001003/12.14, allocations: 0.6789 MB / 4.207 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006503/12.14, allocations: 2.132 MB / 4.209 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/12.14, allocations: 4 kB / 4.209 GB, free: 82.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/12.14, allocations: 8 kB / 4.209 GB, free: 82.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/12.14, allocations: 119.8 kB / 4.209 GB, free: 82.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/12.14, allocations: 11.94 kB / 4.209 GB, free: 82.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/12.14, allocations: 103.5 kB / 4.21 GB, free: 82.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/12.14, allocations: 24 kB / 4.21 GB, free: 82.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/12.14, allocations: 6.188 kB / 4.21 GB, free: 82.65 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000775/12.14, allocations: 0.5326 MB / 4.21 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/12.14, allocations: 4.062 kB / 4.21 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/12.14, allocations: 16 kB / 4.21 GB, free: 82.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/12.14, allocations: 103.8 kB / 4.21 GB, free: 81.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/12.14, allocations: 15.92 kB / 4.21 GB, free: 81.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/12.14, allocations: 95.53 kB / 4.21 GB, free: 81.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/12.14, allocations: 20 kB / 4.21 GB, free: 81.86 MB / 0.6042 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.0005905/12.14, allocations: 480.6 kB / 4.211 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/12.14, allocations: 98.78 kB / 4.211 GB, free: 81.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/12.14, allocations: 0.495 MB / 4.211 GB, free: 80.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/12.14, allocations: 4 kB / 4.211 GB, free: 80.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/12.14, allocations: 4 kB / 4.211 GB, free: 80.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/12.14, allocations: 384 / 4.211 GB, free: 80.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/12.15, allocations: 1.389 MB / 4.213 GB, free: 79.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/12.15, allocations: 4 kB / 4.213 GB, free: 79.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/12.15, allocations: 68.11 kB / 4.213 GB, free: 79.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/12.15, allocations: 4 kB / 4.213 GB, free: 79.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/12.15, allocations: 15.94 kB / 4.213 GB, free: 79.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/12.15, allocations: 4 kB / 4.213 GB, free: 79.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/12.15, allocations: 4 kB / 4.213 GB, free: 79.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/12.15, allocations: 0.7011 MB / 4.214 GB, free: 78.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/12.15, allocations: 219.7 kB / 4.214 GB, free: 78.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/12.15, allocations: 8 kB / 4.214 GB, free: 78.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/12.15, allocations: 59.78 kB / 4.214 GB, free: 78.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/12.15, allocations: 35.97 kB / 4.214 GB, free: 78.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/12.15, allocations: 11.98 kB / 4.214 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008337/12.15, allocations: 0.7797 MB / 4.215 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.21e-07/12.15, allocations: 0 / 4.215 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001516/12.15, allocations: 475.6 kB / 4.215 GB, free: 76.83 MB / 0.6042 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.002462/12.15, allocations: 2.52 MB / 4.218 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001175/12.15, allocations: 0.8027 MB / 4.218 GB, free: 73.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/12.15, allocations: 4 kB / 4.218 GB, free: 73.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/12.15, allocations: 202.8 kB / 4.219 GB, free: 73.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/12.16, allocations: 468.1 kB / 4.219 GB, free: 72.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/12.17, allocations: 9.551 MB / 4.228 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/12.17, allocations: 1.202 MB / 4.229 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001167/12.17, allocations: 423.6 kB / 4.23 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/12.17, allocations: 327.3 kB / 4.23 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/12.17, allocations: 0 / 4.23 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05866/12.23, allocations: 39.23 MB / 4.269 GB, free: 22.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/12.23, allocations: 240.5 kB / 4.269 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/15.77, allocations: 0 / 4.269 GB, free: 21.79 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)