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.001202/0.001202, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.00121/0.00121, allocations: 196 kB / 17.98 MB, free: 5.031 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.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6716/0.6716, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3088, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1554/0.4642, allocations: 161.6 MB / 0.7154 GB, free: 2.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004622/0.4689, allocations: 3.624 MB / 0.7189 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.4692, allocations: 15.88 kB / 0.7189 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.4698, allocations: 163 kB / 0.7191 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.4711, allocations: 0.5275 MB / 0.7196 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.4723, allocations: 440.5 kB / 0.72 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.475, allocations: 2.559 MB / 0.7225 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.4777, allocations: 2.411 MB / 0.7249 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4794, allocations: 1.043 MB / 0.7259 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.4804, allocations: 0.7117 MB / 0.7266 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.4806, allocations: 60 kB / 0.7266 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.4819, allocations: 0.7522 MB / 0.7274 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.4823, allocations: 314.9 kB / 0.7277 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007918/0.4831, allocations: 0.5441 MB / 0.7282 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.4846, allocations: 1.429 MB / 0.7296 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4846, allocations: 0 / 0.7296 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4847, allocations: 0 / 0.7296 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.858e-05/0.4847, allocations: 0 / 0.7296 GB, free: 3.797 MB / 0.5606 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.002362/0.4871, allocations: 1.451 MB / 0.731 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.4871, allocations: 8.031 kB / 0.731 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.4879, allocations: 194.5 kB / 0.7312 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.4893, allocations: 0.8568 MB / 0.7321 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.4894, allocations: 49 kB / 0.7321 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.4895, allocations: 56 kB / 0.7322 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.4906, allocations: 0.8238 MB / 0.733 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.4906, allocations: 7.938 kB / 0.733 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.4907, allocations: 23.98 kB / 0.733 GB, free: 140 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.4907, allocations: 16 kB / 0.733 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/0.4916, allocations: 0.5617 MB / 0.7336 GB, free: 15.56 MB / 0.5762 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.003673/0.4953, allocations: 4.208 MB / 0.7377 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.496, allocations: 438.2 kB / 0.7381 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.4964, allocations: 341.1 kB / 0.7384 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.4967, allocations: 190.2 kB / 0.7386 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.4972, allocations: 331.1 kB / 0.7389 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002008/0.4974, allocations: 31.59 kB / 0.7389 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.576e-06/0.4974, allocations: 112 / 0.7389 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001347/0.4988, allocations: 0.7048 MB / 0.7396 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.4988, allocations: 81.11 kB / 0.7397 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.5001, allocations: 1.151 MB / 0.7408 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.5002, allocations: 41.7 kB / 0.7409 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.5006, allocations: 488.4 kB / 0.7413 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.5007, allocations: 114.4 kB / 0.7414 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.5009, allocations: 114.2 kB / 0.7415 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.501, allocations: 333.9 kB / 0.7419 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.5014, allocations: 230.9 kB / 0.7421 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.502, allocations: 0.5434 MB / 0.7426 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/0.5029, allocations: 0.6856 MB / 0.7433 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5029, allocations: 0 / 0.7433 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001182/0.5041, allocations: 0.7668 MB / 0.744 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.5041, allocations: 34.36 kB / 0.7441 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5041, allocations: 7.938 kB / 0.7441 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.5042, allocations: 12 kB / 0.7441 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.5047, allocations: 111.8 kB / 0.7442 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.5047, allocations: 11.94 kB / 0.7442 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.5054, allocations: 59.92 kB / 0.7443 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.5054, allocations: 31.94 kB / 0.7443 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006181/0.506, allocations: 0.5164 MB / 0.7448 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005118/0.5066, allocations: 0.5038 MB / 0.7453 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007182/0.5073, allocations: 0.6117 MB / 0.7459 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/0.5073, allocations: 0 / 0.7459 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001004/0.5083, allocations: 0.6926 MB / 0.7466 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5083, allocations: 33.7 kB / 0.7466 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5084, allocations: 4.656 kB / 0.7466 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.5084, allocations: 8 kB / 0.7466 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.5088, allocations: 111.9 kB / 0.7467 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5088, allocations: 11.94 kB / 0.7467 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.5095, allocations: 64.25 kB / 0.7468 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.5095, allocations: 20 kB / 0.7468 GB, free: 1.117 MB / 0.5762 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 (55): * Single equations (assignments): 54 * 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.0001564/0.5097, allocations: 238.5 kB / 0.747 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5098, allocations: 102.7 kB / 0.7471 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008687/0.5107, allocations: 0.5466 MB / 0.7477 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5107, allocations: 4 kB / 0.7477 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5107, allocations: 0 / 0.7477 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5107, allocations: 4 kB / 0.7477 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2214/0.7321, allocations: 1.484 MB / 0.7491 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7322, allocations: 5.906 kB / 0.7491 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.7325, allocations: 71.44 kB / 0.7492 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.7325, allocations: 4.266 kB / 0.7492 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.7325, allocations: 11.78 kB / 0.7492 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.7326, allocations: 8.406 kB / 0.7492 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7326, allocations: 1.656 kB / 0.7492 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009237/0.7335, allocations: 0.661 MB / 0.7499 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.7339, allocations: 230.9 kB / 0.7501 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.734, allocations: 8.75 kB / 0.7501 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.7346, allocations: 40.39 kB / 0.7501 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.7347, allocations: 31.69 kB / 0.7502 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.7347, allocations: 14.52 kB / 0.7502 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001047/0.7358, allocations: 0.816 MB / 0.751 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7358, allocations: 0.7188 kB / 0.751 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001112/0.7369, allocations: 421 kB / 0.7514 GB, free: 174.1 MB / 0.5762 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 (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.0003739/0.7373, allocations: 177.8 kB / 0.7515 GB, free: 174 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.7388, allocations: 0.8977 MB / 0.7524 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7388, allocations: 0.6875 kB / 0.7524 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.7392, allocations: 240.3 kB / 0.7526 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.7411, allocations: 0.5013 MB / 0.7531 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.7441, allocations: 1.757 MB / 0.7549 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/0.7449, allocations: 1.181 MB / 0.756 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001278/0.7462, allocations: 450.6 kB / 0.7564 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.7464, allocations: 80.78 kB / 0.7565 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.322e-06/0.7464, allocations: 0 / 0.7565 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.0294/0.7758, allocations: 18.64 MB / 0.7747 GB, free: 166.3 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)