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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 110.5 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6742/0.6742, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 68.98 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1254, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.498/0.6234, allocations: 161.6 MB / 0.7899 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003031/0.6265, allocations: 1.76 MB / 0.7916 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004677/0.627, allocations: 14.75 kB / 0.7916 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.6277, allocations: 161.9 kB / 0.7918 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.6291, allocations: 0.5237 MB / 0.7923 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.6303, allocations: 397.1 kB / 0.7927 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.6333, allocations: 2.525 MB / 0.7951 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.6347, allocations: 0.9292 MB / 0.796 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.6368, allocations: 1.039 MB / 0.7971 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.638, allocations: 0.7105 MB / 0.7978 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.6382, allocations: 55.72 kB / 0.7978 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.6398, allocations: 0.7375 MB / 0.7985 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004256/0.6403, allocations: 306.8 kB / 0.7988 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008276/0.6411, allocations: 0.5388 MB / 0.7993 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.6429, allocations: 1.4 MB / 0.8007 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.643, allocations: 0 / 0.8007 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.643, allocations: 0 / 0.8007 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.061e-05/0.643, allocations: 4 kB / 0.8007 GB, free: 12.16 MB / 0.5919 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.002697/0.6457, allocations: 1.451 MB / 0.8021 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6458, allocations: 10.06 kB / 0.8021 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.6466, allocations: 186.3 kB / 0.8023 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6479, allocations: 0.8513 MB / 0.8031 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.648, allocations: 42.5 kB / 0.8032 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.648, allocations: 57.81 kB / 0.8032 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.6492, allocations: 0.793 MB / 0.804 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.6492, allocations: 3.938 kB / 0.804 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.6493, allocations: 28.08 kB / 0.804 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6493, allocations: 12.66 kB / 0.8041 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.6501, allocations: 0.5372 MB / 0.8046 GB, free: 10.36 MB / 0.5919 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.00385/0.654, allocations: 4.586 MB / 0.8091 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.6546, allocations: 408.6 kB / 0.8095 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.655, allocations: 253.4 kB / 0.8097 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.6552, allocations: 198.5 kB / 0.8099 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/0.6557, allocations: 284.8 kB / 0.8102 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.6557, allocations: 0 / 0.8102 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.00119/0.6569, allocations: 0.6317 MB / 0.8108 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.657, allocations: 85.98 kB / 0.8109 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.6581, allocations: 1.121 MB / 0.812 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.6582, allocations: 33.64 kB / 0.812 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.6585, allocations: 491.3 kB / 0.8125 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.787e-05/0.6586, allocations: 109.4 kB / 0.8126 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.6588, allocations: 112.9 kB / 0.8127 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6589, allocations: 328.5 kB / 0.813 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.6592, allocations: 215.6 kB / 0.8132 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.6598, allocations: 0.5288 MB / 0.8137 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/0.6606, allocations: 0.636 MB / 0.8143 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6606, allocations: 0 / 0.8143 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001029/0.6616, allocations: 0.7178 MB / 0.815 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.6616, allocations: 39.98 kB / 0.8151 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.6617, allocations: 12.92 kB / 0.8151 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6617, allocations: 7.594 kB / 0.8151 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.6621, allocations: 105.7 kB / 0.8152 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.6621, allocations: 13.52 kB / 0.8152 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.6627, allocations: 64 kB / 0.8153 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.6627, allocations: 31.55 kB / 0.8153 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000586/0.6633, allocations: 0.495 MB / 0.8158 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004772/0.6638, allocations: 494.9 kB / 0.8162 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006781/0.6645, allocations: 0.5582 MB / 0.8168 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.6645, allocations: 2.438 kB / 0.8168 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009081/0.6654, allocations: 0.6463 MB / 0.8174 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.6655, allocations: 33.52 kB / 0.8175 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.6655, allocations: 8.094 kB / 0.8175 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.6655, allocations: 7.688 kB / 0.8175 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.6658, allocations: 107.2 kB / 0.8176 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.6658, allocations: 7.062 kB / 0.8176 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.6664, allocations: 66.8 kB / 0.8176 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.6664, allocations: 23.66 kB / 0.8177 GB, free: 1.723 MB / 0.5919 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.6666, allocations: 228.9 kB / 0.8179 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.6667, allocations: 102.7 kB / 0.818 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.6676, allocations: 497.8 kB / 0.8185 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6676, allocations: 9.766 kB / 0.8185 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6676, allocations: 0 / 0.8185 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6676, allocations: 0 / 0.8185 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.6694, allocations: 1.385 MB / 0.8198 GB, free: 220 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6694, allocations: 2.812 kB / 0.8198 GB, free: 220 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.6696, allocations: 69.45 kB / 0.8199 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.6696, allocations: 6.344 kB / 0.8199 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.6697, allocations: 8.438 kB / 0.8199 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.6697, allocations: 4.328 kB / 0.8199 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6697, allocations: 14.67 kB / 0.8199 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.6705, allocations: 0.5908 MB / 0.8205 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.6707, allocations: 209.8 kB / 0.8207 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.6708, allocations: 13.19 kB / 0.8207 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.6712, allocations: 26.09 kB / 0.8207 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.6713, allocations: 29.12 kB / 0.8208 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.6713, allocations: 7.812 kB / 0.8208 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009036/0.6722, allocations: 0.7942 MB / 0.8215 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6723, allocations: 0 / 0.8215 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001019/0.6733, allocations: 405.7 kB / 0.8219 GB, free: 15.07 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004363/0.6737, allocations: 179.8 kB / 0.8221 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.675, allocations: 0.8175 MB / 0.8229 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.675, allocations: 2.094 kB / 0.8229 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.6754, allocations: 200 kB / 0.8231 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.6772, allocations: 453.1 kB / 0.8235 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.6798, allocations: 1.74 MB / 0.8252 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.6806, allocations: 1.176 MB / 0.8264 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009145/0.6815, allocations: 405.7 kB / 0.8268 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.6817, allocations: 80.39 kB / 0.8268 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.6817, allocations: 0 / 0.8268 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of Templates: time 0.02772/0.7094, allocations: 17.18 MB / 0.8436 GB, free: 12.57 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)