Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 88.17 kB / 15.7 MB, free: 460 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.00133/0.001331, allocations: 175.6 kB / 16.59 MB, free: 6.852 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.364/1.364, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7031/0.7031, allocations: 115.5 MB / 407.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 12 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 77.52 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4018/0.533, allocations: 146.7 MB / 0.7026 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00458/0.5376, allocations: 3.378 MB / 0.7059 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.538, allocations: 11.88 kB / 0.7059 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.5384, allocations: 111.2 kB / 0.706 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.5396, allocations: 395 kB / 0.7064 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.5406, allocations: 373.2 kB / 0.7068 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003166/0.5438, allocations: 3.018 MB / 0.7097 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.5466, allocations: 2.149 MB / 0.7118 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.5482, allocations: 0.8675 MB / 0.7126 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.549, allocations: 0.704 MB / 0.7133 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.5491, allocations: 39.94 kB / 0.7134 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.5503, allocations: 0.5535 MB / 0.7139 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.5506, allocations: 286.9 kB / 0.7142 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.5508, allocations: 229.1 kB / 0.7144 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.5519, allocations: 1.037 MB / 0.7154 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5519, allocations: 3.938 kB / 0.7154 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5519, allocations: 0 / 0.7154 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.552, allocations: 0 / 0.7154 GB, free: 7.484 MB / 0.5294 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.002034/0.554, allocations: 1.331 MB / 0.7167 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.554, allocations: 20.02 kB / 0.7167 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/0.5548, allocations: 182.5 kB / 0.7169 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.5561, allocations: 0.8041 MB / 0.7177 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.5562, allocations: 41 kB / 0.7177 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.5563, allocations: 64 kB / 0.7178 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.5576, allocations: 0.8315 MB / 0.7186 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5577, allocations: 11.94 kB / 0.7186 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.5577, allocations: 20 kB / 0.7186 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.5578, allocations: 19.94 kB / 0.7187 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000975/0.5587, allocations: 0.5618 MB / 0.7192 GB, free: 3.41 MB / 0.5294 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.003932/0.5627, allocations: 4.263 MB / 0.7234 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.5634, allocations: 452.1 kB / 0.7238 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.5639, allocations: 346.1 kB / 0.7241 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.5642, allocations: 190.2 kB / 0.7243 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005446/0.5648, allocations: 331.1 kB / 0.7246 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001855/0.565, allocations: 31.69 kB / 0.7247 GB, free: 13.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.565, allocations: 0 / 0.7247 GB, free: 13.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001387/0.5664, allocations: 0.7153 MB / 0.7254 GB, free: 12.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.5664, allocations: 85.11 kB / 0.7254 GB, free: 12.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.5678, allocations: 1.151 MB / 0.7266 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.5678, allocations: 33.7 kB / 0.7266 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.5683, allocations: 492.4 kB / 0.7271 GB, free: 10.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5684, allocations: 118.5 kB / 0.7272 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.5684, allocations: 15.94 kB / 0.7272 GB, free: 10.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5685, allocations: 322 kB / 0.7275 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.5689, allocations: 205 kB / 0.7277 GB, free: 10.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.5696, allocations: 0.5228 MB / 0.7282 GB, free: 9.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.57, allocations: 315.1 kB / 0.7285 GB, free: 9.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5701, allocations: 0 / 0.7285 GB, free: 9.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001163/0.5712, allocations: 0.7216 MB / 0.7292 GB, free: 8.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.5714, allocations: 292.7 kB / 0.7295 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5714, allocations: 4.625 kB / 0.7295 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5715, allocations: 8 kB / 0.7295 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.572, allocations: 119.8 kB / 0.7296 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.572, allocations: 11.98 kB / 0.7296 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007567/0.5728, allocations: 91.83 kB / 0.7297 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.5728, allocations: 27.94 kB / 0.7297 GB, free: 7.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.5728, allocations: 4 kB / 0.7297 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009679/0.5738, allocations: 0.5833 MB / 0.7303 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5738, allocations: 8 kB / 0.7303 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.5739, allocations: 8 kB / 0.7303 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.5743, allocations: 111.8 kB / 0.7304 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.5743, allocations: 15.92 kB / 0.7305 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.575, allocations: 91.94 kB / 0.7305 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.5751, allocations: 28 kB / 0.7306 GB, free: 7.145 MB / 0.545 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 (55): * Single equations (assignments): 54 * 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.0004976/0.5756, allocations: 472.6 kB / 0.731 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.5757, allocations: 102.7 kB / 0.7311 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009693/0.5767, allocations: 0.5505 MB / 0.7317 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5767, allocations: 7.953 kB / 0.7317 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5767, allocations: 4 kB / 0.7317 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5767, allocations: 0 / 0.7317 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.5788, allocations: 1.518 MB / 0.7331 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5789, allocations: 0 / 0.7331 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.5792, allocations: 80.03 kB / 0.7332 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5792, allocations: 4 kB / 0.7332 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.5792, allocations: 8 kB / 0.7332 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5792, allocations: 4 kB / 0.7332 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5792, allocations: 0 / 0.7332 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.5801, allocations: 0.6665 MB / 0.7339 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.5804, allocations: 231.7 kB / 0.7341 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.5805, allocations: 8 kB / 0.7341 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.5812, allocations: 71.77 kB / 0.7342 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.5813, allocations: 31.91 kB / 0.7342 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.5813, allocations: 16 kB / 0.7342 GB, free: 3.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009993/0.5823, allocations: 0.812 MB / 0.735 GB, free: 2.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5823, allocations: 4 kB / 0.735 GB, free: 2.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001121/0.5834, allocations: 427.5 kB / 0.7354 GB, free: 1.996 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 (33): * Single equations (assignments): 31 * 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.0004002/0.5838, allocations: 171.6 kB / 0.7356 GB, free: 1.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.5853, allocations: 0.8938 MB / 0.7365 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5853, allocations: 0 / 0.7365 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.5857, allocations: 239.7 kB / 0.7367 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/0.5885, allocations: 0.6348 MB / 0.7373 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.5913, allocations: 1.988 MB / 0.7393 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.592, allocations: 1.182 MB / 0.7404 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001176/0.5932, allocations: 440 kB / 0.7408 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.5934, allocations: 83.36 kB / 0.7409 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.5934, allocations: 0 / 0.7409 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.02933/0.6227, allocations: 18.63 MB / 0.7591 GB, free: 9.906 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)