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.0009989/0.0009989, allocations: 94.56 kB / 16.67 MB, free: 6.109 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.001031/0.001031, allocations: 187 kB / 17.58 MB, free: 5.82 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.339/1.339, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7169/0.7169, allocations: 115.5 MB / 408.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003913, allocations: 8.281 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4082, allocations: 77.53 MB / 0.5606 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1649/0.5732, allocations: 157.3 MB / 0.7142 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005112/0.5783, allocations: 3.59 MB / 0.7177 GB, free: 2.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.5788, allocations: 7.938 kB / 0.7177 GB, free: 2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.5794, allocations: 135.2 kB / 0.7178 GB, free: 1.867 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.5808, allocations: 0.4902 MB / 0.7183 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.582, allocations: 397.3 kB / 0.7187 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003299/0.5853, allocations: 3.514 MB / 0.7221 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.5881, allocations: 2.23 MB / 0.7243 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.5901, allocations: 0.9063 MB / 0.7252 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009976/0.5912, allocations: 0.7116 MB / 0.7259 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.079e-05/0.5913, allocations: 32 kB / 0.7259 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5928, allocations: 0.8068 MB / 0.7267 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.5931, allocations: 274.9 kB / 0.7269 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006721/0.5938, allocations: 0.53 MB / 0.7275 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.5949, allocations: 1.025 MB / 0.7285 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.595, allocations: 0 / 0.7285 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.555e-06/0.595, allocations: 0 / 0.7285 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.595, allocations: 0 / 0.7285 GB, free: 6.93 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.002086/0.5971, allocations: 1.299 MB / 0.7297 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5971, allocations: 11.97 kB / 0.7297 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007514/0.5979, allocations: 194.4 kB / 0.7299 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.599, allocations: 0.8062 MB / 0.7307 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.5991, allocations: 41 kB / 0.7308 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.5992, allocations: 60 kB / 0.7308 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.6004, allocations: 0.8277 MB / 0.7316 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.6004, allocations: 7.938 kB / 0.7316 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.6005, allocations: 20 kB / 0.7316 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.6005, allocations: 19.94 kB / 0.7317 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/0.6015, allocations: 0.5734 MB / 0.7322 GB, free: 2.875 MB / 0.5606 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.004005/0.6055, allocations: 4.256 MB / 0.7364 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.6063, allocations: 447.2 kB / 0.7368 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.6068, allocations: 341.1 kB / 0.7371 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.6071, allocations: 198.2 kB / 0.7373 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005385/0.6077, allocations: 331.1 kB / 0.7376 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003011/0.608, allocations: 35.62 kB / 0.7377 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.608, allocations: 0 / 0.7377 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001465/0.6094, allocations: 0.7225 MB / 0.7384 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.6095, allocations: 81.11 kB / 0.7385 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.6109, allocations: 1.155 MB / 0.7396 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.611, allocations: 33.7 kB / 0.7396 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.6114, allocations: 492.4 kB / 0.7401 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6115, allocations: 114.5 kB / 0.7402 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.6116, allocations: 45.7 kB / 0.7402 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6117, allocations: 326 kB / 0.7405 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.6121, allocations: 236.9 kB / 0.7408 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/0.6128, allocations: 0.5395 MB / 0.7413 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009514/0.6137, allocations: 0.698 MB / 0.742 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6138, allocations: 4 kB / 0.742 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001298/0.6151, allocations: 0.7786 MB / 0.7427 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.6153, allocations: 271.4 kB / 0.743 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6153, allocations: 7.938 kB / 0.743 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.6153, allocations: 11.94 kB / 0.743 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.6158, allocations: 119.9 kB / 0.7431 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.6159, allocations: 15.94 kB / 0.7432 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008757/0.6167, allocations: 91.8 kB / 0.7432 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.6168, allocations: 24 kB / 0.7433 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.6168, allocations: 4 kB / 0.7433 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009471/0.6178, allocations: 0.579 MB / 0.7438 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6178, allocations: 4 kB / 0.7438 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.6178, allocations: 8.625 kB / 0.7438 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.6183, allocations: 119.8 kB / 0.744 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.6183, allocations: 11.94 kB / 0.744 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007851/0.6191, allocations: 75.83 kB / 0.744 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.6191, allocations: 27.98 kB / 0.7441 GB, free: 6.031 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.0005279/0.6197, allocations: 472.5 kB / 0.7445 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.6198, allocations: 102.8 kB / 0.7446 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009918/0.6208, allocations: 0.5467 MB / 0.7452 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6208, allocations: 4 kB / 0.7452 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6208, allocations: 4 kB / 0.7452 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6208, allocations: 4.359 kB / 0.7452 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.623, allocations: 1.518 MB / 0.7466 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.623, allocations: 4 kB / 0.7467 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.6233, allocations: 71.83 kB / 0.7467 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6233, allocations: 0 / 0.7467 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.6234, allocations: 16.2 kB / 0.7467 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.6234, allocations: 4 kB / 0.7467 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.6234, allocations: 4 kB / 0.7467 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.6243, allocations: 0.6587 MB / 0.7474 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.6246, allocations: 239.6 kB / 0.7476 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6247, allocations: 11.94 kB / 0.7476 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.6254, allocations: 55.94 kB / 0.7477 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.6255, allocations: 35.89 kB / 0.7477 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.6255, allocations: 16 kB / 0.7477 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00101/0.6265, allocations: 0.8159 MB / 0.7485 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6265, allocations: 0 / 0.7485 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001117/0.6276, allocations: 423.4 kB / 0.7489 GB, free: 0.8945 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.0004693/0.6281, allocations: 172.7 kB / 0.7491 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2713/0.8994, allocations: 0.9219 MB / 0.75 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.8995, allocations: 3.844 kB / 0.75 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.9001, allocations: 227.6 kB / 0.7502 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/0.9043, allocations: 0.6342 MB / 0.7508 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.9077, allocations: 2.128 MB / 0.7529 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.9085, allocations: 1.176 MB / 0.7541 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.9088, allocations: 82.59 kB / 0.7541 GB, free: 172 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.9088, allocations: 0.8438 kB / 0.7541 GB, free: 172 MB / 0.5762 GB Notification: Performance of Templates: time 0.03663/0.9454, allocations: 17.04 MB / 0.7708 GB, free: 167.5 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)