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.0009494/0.0009496, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4965/0.4965, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 343.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.00087, allocations: 101 kB / 416 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.223e-05, allocations: 4 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.455/4.598, allocations: 1.822 GB / 2.376 GB, free: 81.44 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/4.599, allocations: 95.17 kB / 2.376 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.454/11.05, allocations: 1.782 GB / 4.158 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.392e-06/11.05, allocations: 0 / 4.158 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001683/11.05, allocations: 26.88 kB / 4.158 GB, free: 163.4 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.002551/11.06, allocations: 1.149 MB / 4.159 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/11.06, allocations: 16.31 kB / 4.159 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/11.06, allocations: 176.3 kB / 4.159 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/11.06, allocations: 1.075 MB / 4.16 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/11.06, allocations: 15.73 kB / 4.16 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/11.06, allocations: 44.75 kB / 4.16 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006466/11.06, allocations: 471.9 kB / 4.161 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/11.06, allocations: 0.6717 MB / 4.161 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/11.06, allocations: 6.594 kB / 4.161 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/11.06, allocations: 0 / 4.161 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/11.06, allocations: 15.72 kB / 4.161 GB, free: 162.1 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.002939/11.06, allocations: 4.475 MB / 4.166 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/11.06, allocations: 443.6 kB / 4.166 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/11.06, allocations: 234.4 kB / 4.166 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/11.06, allocations: 195.1 kB / 4.167 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/11.06, allocations: 256.9 kB / 4.167 GB, free: 158 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/11.06, allocations: 3.844 kB / 4.167 GB, free: 158 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.0008571/11.06, allocations: 491.3 kB / 4.167 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/11.06, allocations: 87.83 kB / 4.167 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/11.07, allocations: 0.8499 MB / 4.168 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/11.07, allocations: 29.52 kB / 4.168 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/11.07, allocations: 487.1 kB / 4.169 GB, free: 157 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/11.07, allocations: 113.9 kB / 4.169 GB, free: 157 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/11.07, allocations: 3.844 kB / 4.169 GB, free: 157 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/11.07, allocations: 324.6 kB / 4.169 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/11.07, allocations: 178.8 kB / 4.169 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/11.07, allocations: 0.4968 MB / 4.17 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/11.07, allocations: 264.5 kB / 4.17 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/11.07, allocations: 0 / 4.17 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007038/11.07, allocations: 0.6104 MB / 4.171 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003738/11.07, allocations: 2.13 MB / 4.173 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/11.07, allocations: 3.25 kB / 4.173 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/11.07, allocations: 7.781 kB / 4.173 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/11.07, allocations: 115.8 kB / 4.173 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/11.07, allocations: 14.56 kB / 4.173 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/11.07, allocations: 89.94 kB / 4.173 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/11.07, allocations: 23.06 kB / 4.173 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/11.07, allocations: 4.406 kB / 4.173 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004976/11.07, allocations: 420.4 kB / 4.173 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/11.07, allocations: 7.219 kB / 4.173 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/11.07, allocations: 7.438 kB / 4.173 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/11.07, allocations: 101.5 kB / 4.173 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/11.07, allocations: 16.69 kB / 4.173 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/11.07, allocations: 80.8 kB / 4.173 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/11.07, allocations: 25.25 kB / 4.174 GB, free: 153.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.0001115/11.07, allocations: 125.8 kB / 4.174 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004339/11.07, allocations: 414.9 kB / 4.174 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/11.07, allocations: 95.89 kB / 4.174 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/11.07, allocations: 450.9 kB / 4.175 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/11.07, allocations: 5.844 kB / 4.175 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/11.07, allocations: 3.375 kB / 4.175 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/11.07, allocations: 0 / 4.175 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/11.07, allocations: 1.266 MB / 4.176 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/11.07, allocations: 3.219 kB / 4.176 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/11.07, allocations: 68.44 kB / 4.176 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/11.07, allocations: 3.781 kB / 4.176 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/11.07, allocations: 6.938 kB / 4.176 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/11.07, allocations: 3.406 kB / 4.176 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/11.07, allocations: 3.219 kB / 4.176 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/11.07, allocations: 0.6283 MB / 4.176 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/11.07, allocations: 206.9 kB / 4.177 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/11.08, allocations: 3.469 kB / 4.177 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/11.08, allocations: 58.97 kB / 4.177 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/11.08, allocations: 34.77 kB / 4.177 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/11.08, allocations: 13.53 kB / 4.177 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006633/11.08, allocations: 0.662 MB / 4.177 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/11.08, allocations: 0 / 4.177 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001264/11.08, allocations: 452.3 kB / 4.178 GB, free: 151.3 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.001936/11.08, allocations: 2.579 MB / 4.18 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008365/11.08, allocations: 0.7624 MB / 4.181 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/11.08, allocations: 0 / 4.181 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/11.08, allocations: 176.3 kB / 4.181 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/11.08, allocations: 390.5 kB / 4.182 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/11.08, allocations: 1.597 MB / 4.183 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/11.09, allocations: 1.201 MB / 4.184 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001726/11.09, allocations: 0.7538 MB / 4.185 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/11.09, allocations: 306.1 kB / 4.185 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/11.09, allocations: 2.719 kB / 4.185 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/11.14, allocations: 29.87 MB / 4.215 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/11.14, allocations: 181 kB / 4.215 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/14, allocations: 3.938 kB / 4.215 GB, free: 120.6 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)