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.001385/0.001385, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4825/0.4825, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.377/1.377, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009701, allocations: 105 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.621e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4543, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.789/5.243, allocations: 1.823 GB / 2.383 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/5.243, allocations: 91.94 kB / 2.383 GB, free: 205.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.472/11.72, allocations: 1.8 GB / 4.183 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/11.72, allocations: 0 / 4.183 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.886e-05/11.72, allocations: 33.41 kB / 4.184 GB, free: 156.8 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.001722/11.72, allocations: 1.14 MB / 4.185 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/11.72, allocations: 15.55 kB / 4.185 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.722e-05/11.72, allocations: 92.09 kB / 4.185 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/11.72, allocations: 192.2 kB / 4.185 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/11.72, allocations: 1.062 MB / 4.186 GB, free: 156 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/11.72, allocations: 47.22 kB / 4.186 GB, free: 156 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.898e-05/11.72, allocations: 61.34 kB / 4.186 GB, free: 156 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/11.72, allocations: 0.7411 MB / 4.187 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/11.72, allocations: 3.844 kB / 4.187 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/11.72, allocations: 25.36 kB / 4.187 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/11.72, allocations: 15.09 kB / 4.187 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/11.72, allocations: 479.6 kB / 4.187 GB, free: 155.8 MB / 0.6042 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.003589/11.73, allocations: 4.593 MB / 4.192 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/11.73, allocations: 379.3 kB / 4.192 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/11.73, allocations: 229.5 kB / 4.192 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/11.73, allocations: 192.4 kB / 4.193 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/11.73, allocations: 278 kB / 4.193 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.645e-06/11.73, allocations: 0 / 4.193 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.0009319/11.73, allocations: 461.9 kB / 4.193 GB, free: 152 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/11.73, allocations: 84.23 kB / 4.193 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/11.73, allocations: 0.9734 MB / 4.194 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/11.73, allocations: 36.36 kB / 4.194 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/11.73, allocations: 492.4 kB / 4.195 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.494e-05/11.73, allocations: 117.3 kB / 4.195 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/11.73, allocations: 6.094 kB / 4.195 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.196e-05/11.73, allocations: 329.9 kB / 4.195 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/11.73, allocations: 161.9 kB / 4.195 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/11.73, allocations: 494.7 kB / 4.196 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/11.73, allocations: 278.6 kB / 4.196 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/11.73, allocations: 5.766 kB / 4.196 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00133/11.73, allocations: 0.6402 MB / 4.197 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000544/11.73, allocations: 2.127 MB / 4.199 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/11.73, allocations: 3.875 kB / 4.199 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/11.73, allocations: 11.41 kB / 4.199 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/11.73, allocations: 114.3 kB / 4.199 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/11.73, allocations: 15.27 kB / 4.199 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/11.74, allocations: 104.2 kB / 4.199 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/11.74, allocations: 28.64 kB / 4.199 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/11.74, allocations: 7.125 kB / 4.199 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006995/11.74, allocations: 498.4 kB / 4.2 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/11.74, allocations: 7.641 kB / 4.2 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/11.74, allocations: 11.44 kB / 4.2 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/11.74, allocations: 107.5 kB / 4.2 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/11.74, allocations: 5.938 kB / 4.2 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/11.74, allocations: 102 kB / 4.2 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/11.74, allocations: 23.31 kB / 4.2 GB, free: 148.4 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 () * 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.0001336/11.74, allocations: 149.9 kB / 4.2 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/11.74, allocations: 100.5 kB / 4.2 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000847/11.74, allocations: 465.8 kB / 4.2 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/11.74, allocations: 6.375 kB / 4.2 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/11.74, allocations: 1.125 kB / 4.2 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/11.74, allocations: 4.344 kB / 4.2 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/11.74, allocations: 1.355 MB / 4.202 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/11.74, allocations: 7.156 kB / 4.202 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/11.74, allocations: 69.28 kB / 4.202 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/11.74, allocations: 3.688 kB / 4.202 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/11.74, allocations: 5.688 kB / 4.202 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/11.74, allocations: 3.594 kB / 4.202 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/11.74, allocations: 7.25 kB / 4.202 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/11.74, allocations: 0.6506 MB / 4.203 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/11.74, allocations: 218.5 kB / 4.203 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/11.74, allocations: 6.5 kB / 4.203 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/11.74, allocations: 62.33 kB / 4.203 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/11.74, allocations: 39.47 kB / 4.203 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/11.74, allocations: 6.844 kB / 4.203 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008186/11.74, allocations: 0.774 MB / 4.204 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/11.74, allocations: 3.594 kB / 4.204 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00132/11.74, allocations: 479.3 kB / 4.204 GB, free: 147.1 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) * 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.001962/11.75, allocations: 2.48 MB / 4.207 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009476/11.75, allocations: 0.7735 MB / 4.207 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/11.75, allocations: 3.281 kB / 4.207 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/11.75, allocations: 186.4 kB / 4.207 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/11.75, allocations: 448.3 kB / 4.208 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/11.75, allocations: 1.645 MB / 4.209 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/11.75, allocations: 1.195 MB / 4.211 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001713/11.75, allocations: 0.8372 MB / 4.211 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/11.75, allocations: 305.9 kB / 4.212 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/11.75, allocations: 0 / 4.212 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06486/11.82, allocations: 42.97 MB / 4.254 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/11.82, allocations: 203.4 kB / 4.254 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.569/15.39, allocations: 1.719 kB / 4.254 GB, free: 141.4 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)