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.001154/0.001153, allocations: 102.3 kB / 16.4 MB, free: 6.461 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.001282/0.001282, allocations: 197.8 kB / 17.34 MB, free: 5.715 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7481/0.7481, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 61.19 kB / 0.5685 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 77.94 MB / 0.6446 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4886/0.6248, allocations: 161.6 MB / 0.8024 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004633/0.6295, allocations: 3.633 MB / 0.806 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.63, allocations: 10.53 kB / 0.806 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.6307, allocations: 158.5 kB / 0.8061 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.6321, allocations: 0.5399 MB / 0.8066 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.6334, allocations: 435.1 kB / 0.8071 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002381/0.6358, allocations: 2.562 MB / 0.8096 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.6383, allocations: 2.418 MB / 0.8119 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.6401, allocations: 1.04 MB / 0.8129 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008303/0.641, allocations: 0.7165 MB / 0.8136 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.6411, allocations: 57.88 kB / 0.8137 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.6426, allocations: 0.7454 MB / 0.8144 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.6429, allocations: 314.1 kB / 0.8147 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006278/0.6436, allocations: 0.5533 MB / 0.8153 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.6452, allocations: 1.425 MB / 0.8167 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6452, allocations: 0 / 0.8167 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6452, allocations: 0 / 0.8167 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.6452, allocations: 2.406 kB / 0.8167 GB, free: 8.809 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002527/0.6477, allocations: 1.494 MB / 0.8181 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.6478, allocations: 10.22 kB / 0.8181 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.6486, allocations: 197.9 kB / 0.8183 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.65, allocations: 0.8615 MB / 0.8192 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.6501, allocations: 46.17 kB / 0.8192 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.6502, allocations: 58.59 kB / 0.8193 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.6514, allocations: 0.8205 MB / 0.8201 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.6514, allocations: 2.906 kB / 0.8201 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.6515, allocations: 20.88 kB / 0.8201 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.6515, allocations: 15.47 kB / 0.8201 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008453/0.6524, allocations: 0.56 MB / 0.8206 GB, free: 6.156 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.003908/0.6563, allocations: 4.214 MB / 0.8248 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.657, allocations: 443 kB / 0.8252 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.6575, allocations: 343.3 kB / 0.8255 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.6578, allocations: 189.5 kB / 0.8257 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005327/0.6584, allocations: 320.8 kB / 0.826 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002869/0.6587, allocations: 41.97 kB / 0.826 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.6587, allocations: 3.938 kB / 0.826 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001415/0.6601, allocations: 0.7083 MB / 0.8267 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.6602, allocations: 82.08 kB / 0.8268 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.6614, allocations: 1.156 MB / 0.8279 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.6615, allocations: 34.95 kB / 0.828 GB, free: 480 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.6619, allocations: 495.8 kB / 0.8284 GB, free: 52 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.662, allocations: 119.1 kB / 0.8286 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.6622, allocations: 111.3 kB / 0.8287 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6623, allocations: 332.5 kB / 0.829 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.6627, allocations: 238.7 kB / 0.8292 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.6633, allocations: 0.5431 MB / 0.8297 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.6642, allocations: 0.6749 MB / 0.8304 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6642, allocations: 2.188 kB / 0.8304 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001172/0.6654, allocations: 0.7689 MB / 0.8312 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.6654, allocations: 40.03 kB / 0.8312 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.6655, allocations: 4.969 kB / 0.8312 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.6655, allocations: 7.969 kB / 0.8312 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.666, allocations: 116.4 kB / 0.8313 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.666, allocations: 17.98 kB / 0.8313 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/0.6667, allocations: 57.58 kB / 0.8314 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.6668, allocations: 34.14 kB / 0.8314 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006666/0.6675, allocations: 0.5158 MB / 0.8319 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005474/0.668, allocations: 0.5081 MB / 0.8324 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007347/0.6688, allocations: 0.5899 MB / 0.833 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.6688, allocations: 0 / 0.833 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.0009807/0.6698, allocations: 0.6991 MB / 0.8337 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6698, allocations: 34.83 kB / 0.8337 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6698, allocations: 4.922 kB / 0.8337 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.6698, allocations: 12.28 kB / 0.8337 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.6703, allocations: 117.9 kB / 0.8338 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.6703, allocations: 15.33 kB / 0.8339 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/0.6711, allocations: 69.62 kB / 0.8339 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.6711, allocations: 21.81 kB / 0.8339 GB, free: 12.16 MB / 0.6075 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.0001697/0.6713, allocations: 220.3 kB / 0.8342 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.6714, allocations: 105.4 kB / 0.8343 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.6723, allocations: 0.5429 MB / 0.8348 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6723, allocations: 2.5 kB / 0.8348 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.6723, allocations: 2.75 kB / 0.8348 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6723, allocations: 3.984 kB / 0.8348 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.6742, allocations: 1.487 MB / 0.8362 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.6743, allocations: 10.88 kB / 0.8363 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.6746, allocations: 73.81 kB / 0.8363 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6746, allocations: 6.344 kB / 0.8363 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.6746, allocations: 9.25 kB / 0.8363 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.6746, allocations: 10.48 kB / 0.8363 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6746, allocations: 2.406 kB / 0.8364 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.6755, allocations: 0.6606 MB / 0.837 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.6757, allocations: 235.9 kB / 0.8372 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6759, allocations: 8.969 kB / 0.8372 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.6764, allocations: 37.84 kB / 0.8373 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.6765, allocations: 30.42 kB / 0.8373 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.6765, allocations: 21.98 kB / 0.8373 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008621/0.6774, allocations: 0.8191 MB / 0.8381 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6774, allocations: 0 / 0.8381 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009111/0.6783, allocations: 423.3 kB / 0.8385 GB, free: 9.328 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 (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.0003642/0.6787, allocations: 176.3 kB / 0.8387 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.6801, allocations: 0.9047 MB / 0.8396 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6801, allocations: 0 / 0.8396 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.6805, allocations: 244.2 kB / 0.8398 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.6824, allocations: 0.5033 MB / 0.8403 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.6848, allocations: 1.78 MB / 0.842 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.6855, allocations: 1.182 MB / 0.8432 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009054/0.6864, allocations: 440 kB / 0.8436 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.6866, allocations: 79.42 kB / 0.8437 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.6866, allocations: 0 / 0.8437 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of Templates: time 0.02665/0.7132, allocations: 18.78 MB / 0.862 GB, free: 1.41 MB / 0.6231 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)