Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 96.97 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 174.9 kB / 16.57 MB, free: 6.391 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.313/1.313, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6719/0.6719, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.3902/0.5193, allocations: 135.7 MB / 0.6893 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004344/0.5237, allocations: 3.1 MB / 0.6924 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.5241, allocations: 11.94 kB / 0.6924 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.5248, allocations: 191.1 kB / 0.6926 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.5264, allocations: 0.5024 MB / 0.6931 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.5278, allocations: 449.9 kB / 0.6935 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.5299, allocations: 1.497 MB / 0.6949 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.531, allocations: 0.7073 MB / 0.6956 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.5323, allocations: 0.7007 MB / 0.6963 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008152/0.5332, allocations: 497.8 kB / 0.6968 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.5333, allocations: 36 kB / 0.6968 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.5344, allocations: 415.4 kB / 0.6972 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.5348, allocations: 255.1 kB / 0.6975 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.5352, allocations: 233.1 kB / 0.6977 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.5364, allocations: 0.9725 MB / 0.6986 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.5364, allocations: 4 kB / 0.6986 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5364, allocations: 0 / 0.6986 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.127e-05/0.5364, allocations: 0 / 0.6986 GB, free: 8.773 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002312/0.5387, allocations: 1.288 MB / 0.6999 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5388, allocations: 8.031 kB / 0.6999 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008505/0.5396, allocations: 186.5 kB / 0.7001 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.5413, allocations: 0.7924 MB / 0.7009 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.5413, allocations: 45 kB / 0.7009 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.966e-05/0.5415, allocations: 56 kB / 0.701 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5426, allocations: 0.8003 MB / 0.7017 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5427, allocations: 0 / 0.7017 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.5427, allocations: 24 kB / 0.7018 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.5427, allocations: 15.98 kB / 0.7018 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009382/0.5437, allocations: 0.5423 MB / 0.7023 GB, free: 4.836 MB / 0.5137 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.004182/0.5479, allocations: 4.599 MB / 0.7068 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.5486, allocations: 442.2 kB / 0.7072 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.5487, allocations: 11.98 kB / 0.7072 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.5492, allocations: 306.2 kB / 0.7075 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.424e-06/0.5492, allocations: 4 kB / 0.7075 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.004144/0.5534, allocations: 1.324 MB / 0.7088 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.5534, allocations: 110.8 kB / 0.7089 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.5552, allocations: 1.118 MB / 0.71 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.5552, allocations: 37.7 kB / 0.7101 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.5557, allocations: 488.2 kB / 0.7105 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5559, allocations: 114.5 kB / 0.7106 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.5559, allocations: 8 kB / 0.7106 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.556, allocations: 325.9 kB / 0.711 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.5564, allocations: 188.7 kB / 0.7111 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.5569, allocations: 0.494 MB / 0.7116 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.5574, allocations: 292 kB / 0.7119 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5574, allocations: 224 / 0.7119 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002278/0.5597, allocations: 0.9903 MB / 0.7129 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007839/0.5605, allocations: 2.139 MB / 0.7149 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.5605, allocations: 8 kB / 0.715 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.562, allocations: 332.5 kB / 0.7153 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.5623, allocations: 67.89 kB / 0.7153 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.5635, allocations: 1.011 MB / 0.7163 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.5645, allocations: 107.5 kB / 0.7164 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.5646, allocations: 27.94 kB / 0.7165 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5646, allocations: 0 / 0.7165 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001475/0.5661, allocations: 0.7358 MB / 0.7172 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.5662, allocations: 8 kB / 0.7172 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005592/0.5667, allocations: 221.1 kB / 0.7174 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.5669, allocations: 55.91 kB / 0.7174 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.5707, allocations: 3.178 MB / 0.7205 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/0.5716, allocations: 99.58 kB / 0.7206 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.5717, allocations: 24 kB / 0.7207 GB, free: 1.016 MB / 0.5294 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005812/0.5723, allocations: 467.2 kB / 0.7211 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.5725, allocations: 98.78 kB / 0.7212 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.5737, allocations: 0.7128 MB / 0.7219 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5737, allocations: 4 kB / 0.7219 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.5737, allocations: 0 / 0.7219 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5738, allocations: 0 / 0.7219 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.5755, allocations: 1.103 MB / 0.723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5755, allocations: 4 kB / 0.723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.5756, allocations: 23.98 kB / 0.723 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.5761, allocations: 220.5 kB / 0.7232 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.5761, allocations: 16.2 kB / 0.7232 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008441/0.577, allocations: 0.9758 MB / 0.7242 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.577, allocations: 11.86 kB / 0.7242 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.5782, allocations: 0.8445 MB / 0.725 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.5787, allocations: 223.8 kB / 0.7252 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.5788, allocations: 12 kB / 0.7252 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.5793, allocations: 55.84 kB / 0.7253 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.5794, allocations: 35.89 kB / 0.7253 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.5795, allocations: 12 kB / 0.7253 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009745/0.5805, allocations: 0.7916 MB / 0.7261 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.324e-06/0.5805, allocations: 0 / 0.7261 GB, free: 11.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001266/0.5817, allocations: 455.4 kB / 0.7266 GB, free: 10.75 MB / 0.545 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003876/0.5821, allocations: 174.5 kB / 0.7267 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.584, allocations: 1.059 MB / 0.7278 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.584, allocations: 4.062 kB / 0.7278 GB, free: 9.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.5845, allocations: 238.5 kB / 0.728 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.5864, allocations: 463.2 kB / 0.7284 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.5892, allocations: 1.967 MB / 0.7304 GB, free: 6.773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007121/0.59, allocations: 1.2 MB / 0.7315 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008931/0.5909, allocations: 323.6 kB / 0.7318 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.591, allocations: 59.44 kB / 0.7319 GB, free: 5.164 MB / 0.545 GB Notification: Performance of SimCode: time 6.12e-07/0.591, allocations: 3.938 kB / 0.7319 GB, free: 5.16 MB / 0.545 GB Notification: Performance of Templates: time 0.02853/0.6195, allocations: 18.35 MB / 0.7498 GB, free: 3.031 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)