Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 96.27 kB / 15.69 MB, free: 480 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.0009538/0.0009538, allocations: 175.4 kB / 16.57 MB, free: 6.859 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.304/1.304, allocations: 223.2 MB / 240.5 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6552/0.6552, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 12.5 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.3749/0.5098, allocations: 135.7 MB / 0.6894 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.5126, allocations: 1.673 MB / 0.691 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.5129, allocations: 7.938 kB / 0.691 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.5135, allocations: 187.2 kB / 0.6912 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.5148, allocations: 0.4992 MB / 0.6917 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.5161, allocations: 412.9 kB / 0.6921 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.518, allocations: 1.502 MB / 0.6935 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.5207, allocations: 2.192 MB / 0.6957 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.5221, allocations: 0.6929 MB / 0.6963 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.5228, allocations: 493.9 kB / 0.6968 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.281e-05/0.5229, allocations: 32 kB / 0.6968 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.524, allocations: 419.4 kB / 0.6972 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.5243, allocations: 255.1 kB / 0.6975 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.5247, allocations: 229.1 kB / 0.6977 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.5257, allocations: 0.9914 MB / 0.6987 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.5257, allocations: 0 / 0.6987 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5257, allocations: 0 / 0.6987 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.5257, allocations: 0 / 0.6987 GB, free: 8.723 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002116/0.5278, allocations: 1.317 MB / 0.7 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5279, allocations: 8.031 kB / 0.7 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007096/0.5286, allocations: 182.5 kB / 0.7001 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.5302, allocations: 0.8041 MB / 0.7009 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.5302, allocations: 45 kB / 0.701 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.5303, allocations: 59.98 kB / 0.701 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.5316, allocations: 0.8237 MB / 0.7018 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5316, allocations: 3.938 kB / 0.7018 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.5316, allocations: 27.95 kB / 0.7019 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.5317, allocations: 19.92 kB / 0.7019 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009368/0.5326, allocations: 0.5735 MB / 0.7024 GB, free: 4.68 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.004205/0.5368, allocations: 4.259 MB / 0.7066 GB, free: 156 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007643/0.5376, allocations: 454.3 kB / 0.707 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.5377, allocations: 20.45 kB / 0.707 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005024/0.5382, allocations: 324 kB / 0.7074 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002502/0.5385, allocations: 31.69 kB / 0.7074 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.5385, allocations: 0 / 0.7074 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.00486/0.5433, allocations: 1.672 MB / 0.709 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.5434, allocations: 110.8 kB / 0.7091 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.5447, allocations: 1.147 MB / 0.7102 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.5448, allocations: 37.7 kB / 0.7103 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.5452, allocations: 0.4887 MB / 0.7108 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.5453, allocations: 114.4 kB / 0.7109 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.5453, allocations: 4 kB / 0.7109 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5454, allocations: 330 kB / 0.7112 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.5458, allocations: 205 kB / 0.7114 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.5464, allocations: 0.5189 MB / 0.7119 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.5468, allocations: 313.6 kB / 0.7122 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5468, allocations: 0 / 0.7122 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002106/0.549, allocations: 1.05 MB / 0.7132 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007744/0.5497, allocations: 2.137 MB / 0.7153 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5498, allocations: 4 kB / 0.7153 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.551, allocations: 351.2 kB / 0.7156 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.5514, allocations: 103.8 kB / 0.7157 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.5525, allocations: 1.048 MB / 0.7168 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/0.5534, allocations: 87.91 kB / 0.7168 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.5535, allocations: 20 kB / 0.7169 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.5535, allocations: 6.188 kB / 0.7169 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001409/0.5549, allocations: 0.7926 MB / 0.7176 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5549, allocations: 8.031 kB / 0.7176 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.5555, allocations: 250.2 kB / 0.7179 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.5559, allocations: 99.86 kB / 0.718 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.5596, allocations: 3.115 MB / 0.721 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/0.5606, allocations: 87.81 kB / 0.7211 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.5606, allocations: 24 kB / 0.7211 GB, free: 0.6562 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005458/0.5612, allocations: 468.7 kB / 0.7216 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.5613, allocations: 98.78 kB / 0.7217 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.5627, allocations: 0.7682 MB / 0.7224 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5627, allocations: 7.938 kB / 0.7224 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.5627, allocations: 0 / 0.7224 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.5627, allocations: 0 / 0.7224 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.5644, allocations: 1.158 MB / 0.7236 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5644, allocations: 0 / 0.7236 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.5647, allocations: 64.09 kB / 0.7236 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/0.5652, allocations: 248.8 kB / 0.7239 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.5653, allocations: 8 kB / 0.7239 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008987/0.5662, allocations: 1.006 MB / 0.7248 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5662, allocations: 7.938 kB / 0.7249 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.5675, allocations: 0.9265 MB / 0.7258 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.5679, allocations: 227.7 kB / 0.726 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.5681, allocations: 8 kB / 0.726 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/0.5687, allocations: 67.77 kB / 0.7261 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.5688, allocations: 39.92 kB / 0.7261 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.5689, allocations: 11.98 kB / 0.7261 GB, free: 11.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001018/0.5699, allocations: 0.8119 MB / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5699, allocations: 0 / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001258/0.5712, allocations: 467.5 kB / 0.7273 GB, free: 10.07 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.000386/0.5716, allocations: 186.6 kB / 0.7275 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.5737, allocations: 1.135 MB / 0.7286 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5737, allocations: 0 / 0.7286 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.5742, allocations: 251.1 kB / 0.7289 GB, free: 8.469 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/0.5774, allocations: 0.6214 MB / 0.7295 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.5803, allocations: 1.993 MB / 0.7314 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/0.5811, allocations: 1.204 MB / 0.7326 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001025/0.5821, allocations: 340.1 kB / 0.7329 GB, free: 4.238 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.5823, allocations: 63.44 kB / 0.733 GB, free: 4.18 MB / 0.545 GB Notification: Performance of SimCode: time 1.133e-06/0.5823, allocations: 0 / 0.733 GB, free: 4.18 MB / 0.545 GB Notification: Performance of Templates: time 0.03429/0.6166, allocations: 20.7 MB / 0.7532 GB, free: 15.74 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)