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.001268/0.001268, allocations: 116.4 kB / 17.09 MB, free: 6 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.001232/0.001232, allocations: 195 kB / 18.02 MB, free: 5.082 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7487/0.7487, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.94 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1551, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5653/0.7204, allocations: 161.6 MB / 0.7905 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.7254, allocations: 3.629 MB / 0.7941 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.7259, allocations: 10.72 kB / 0.7941 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.7266, allocations: 162.6 kB / 0.7943 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.7282, allocations: 0.5295 MB / 0.7948 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.7295, allocations: 438.8 kB / 0.7952 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002791/0.7323, allocations: 2.561 MB / 0.7977 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003192/0.7355, allocations: 2.422 MB / 0.8001 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.7378, allocations: 1.051 MB / 0.8011 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.7388, allocations: 0.7093 MB / 0.8018 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.739, allocations: 60.44 kB / 0.8018 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.741, allocations: 0.7415 MB / 0.8026 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.7413, allocations: 317.1 kB / 0.8029 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.742, allocations: 0.5453 MB / 0.8034 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.7436, allocations: 1.425 MB / 0.8048 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7436, allocations: 0 / 0.8048 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7436, allocations: 0 / 0.8048 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.7437, allocations: 6.094 kB / 0.8048 GB, free: 11.02 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.002249/0.7459, allocations: 1.452 MB / 0.8062 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.746, allocations: 10.31 kB / 0.8062 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007504/0.7467, allocations: 194.3 kB / 0.8064 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.748, allocations: 0.857 MB / 0.8072 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.7481, allocations: 45.47 kB / 0.8073 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.7482, allocations: 57.53 kB / 0.8073 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.7494, allocations: 0.8206 MB / 0.8081 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7494, allocations: 2.406 kB / 0.8081 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.7495, allocations: 22.59 kB / 0.8082 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.7495, allocations: 16.94 kB / 0.8082 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/0.7503, allocations: 0.5665 MB / 0.8087 GB, free: 8.898 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.004003/0.7543, allocations: 4.201 MB / 0.8128 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.7551, allocations: 438.5 kB / 0.8132 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.7555, allocations: 348.4 kB / 0.8136 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.7558, allocations: 191.4 kB / 0.8138 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/0.7564, allocations: 325.1 kB / 0.8141 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002674/0.7567, allocations: 36.88 kB / 0.8141 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 5.952e-06/0.7567, allocations: 208 / 0.8141 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001339/0.758, allocations: 0.7026 MB / 0.8148 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.7581, allocations: 87.05 kB / 0.8149 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.7594, allocations: 1.157 MB / 0.816 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.7594, allocations: 37.95 kB / 0.816 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.7598, allocations: 489.7 kB / 0.8165 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/0.7599, allocations: 119.1 kB / 0.8166 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.76, allocations: 115.3 kB / 0.8167 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7602, allocations: 325.2 kB / 0.817 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.7606, allocations: 234.9 kB / 0.8173 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.7612, allocations: 0.55 MB / 0.8178 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.7622, allocations: 0.6768 MB / 0.8185 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7622, allocations: 0 / 0.8185 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001251/0.7634, allocations: 0.7745 MB / 0.8192 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.7635, allocations: 33.67 kB / 0.8193 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7635, allocations: 5.031 kB / 0.8193 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.7636, allocations: 7.625 kB / 0.8193 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.7641, allocations: 115.3 kB / 0.8194 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.7641, allocations: 23.23 kB / 0.8194 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/0.765, allocations: 53.94 kB / 0.8195 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.765, allocations: 28.14 kB / 0.8195 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007829/0.7658, allocations: 0.5204 MB / 0.82 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005869/0.7664, allocations: 0.5029 MB / 0.8205 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008576/0.7673, allocations: 0.594 MB / 0.8211 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.7673, allocations: 2.812 kB / 0.8211 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001193/0.7685, allocations: 0.6865 MB / 0.8217 GB, free: 352 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.7686, allocations: 33.08 kB / 0.8218 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7686, allocations: 8.797 kB / 0.8218 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.7686, allocations: 10.16 kB / 0.8218 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.7691, allocations: 105.7 kB / 0.8219 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.7691, allocations: 15.98 kB / 0.8219 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.77, allocations: 71.5 kB / 0.822 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.77, allocations: 21.34 kB / 0.822 GB, free: 240 kB / 0.5919 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.0002315/0.7702, allocations: 219.7 kB / 0.8222 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.7705, allocations: 102.5 kB / 0.8223 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.7715, allocations: 0.5473 MB / 0.8228 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.7716, allocations: 2.719 kB / 0.8228 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7716, allocations: 0 / 0.8228 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-06/0.7716, allocations: 3.984 kB / 0.8228 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.774, allocations: 1.489 MB / 0.8243 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7741, allocations: 2.031 kB / 0.8243 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.7744, allocations: 75.98 kB / 0.8244 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.7745, allocations: 9.25 kB / 0.8244 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.7745, allocations: 10.67 kB / 0.8244 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.7745, allocations: 5.062 kB / 0.8244 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7745, allocations: 2.75 kB / 0.8244 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.7755, allocations: 0.6534 MB / 0.825 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.7759, allocations: 229.8 kB / 0.8252 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.7761, allocations: 10.09 kB / 0.8253 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/0.7768, allocations: 44.31 kB / 0.8253 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.7769, allocations: 32.67 kB / 0.8253 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.777, allocations: 10.16 kB / 0.8253 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001239/0.7782, allocations: 0.8209 MB / 0.8261 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7782, allocations: 0 / 0.8261 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001479/0.7797, allocations: 421.6 kB / 0.8265 GB, free: 13.42 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.0005622/0.7803, allocations: 180.9 kB / 0.8267 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.7819, allocations: 0.9052 MB / 0.8276 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.782, allocations: 3.031 kB / 0.8276 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.7824, allocations: 223.4 kB / 0.8278 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.7848, allocations: 0.5004 MB / 0.8283 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.7882, allocations: 1.821 MB / 0.8301 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.7891, allocations: 1.174 MB / 0.8312 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.7894, allocations: 82.58 kB / 0.8313 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.7894, allocations: 3.938 kB / 0.8313 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.02632/0.8158, allocations: 16.67 MB / 0.8476 GB, free: 10 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)