Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006272/0.006272, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00117/0.00117, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9359/0.9359, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3675, allocations: 80.92 MB / 0.6647 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1666/0.5342, allocations: 161.6 MB / 0.8225 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004612/0.5389, allocations: 3.622 MB / 0.826 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.5392, allocations: 11.94 kB / 0.826 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.5398, allocations: 166.8 kB / 0.8262 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.541, allocations: 0.525 MB / 0.8267 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.5422, allocations: 445.4 kB / 0.8271 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00265/0.5448, allocations: 2.565 MB / 0.8296 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.5476, allocations: 2.407 MB / 0.832 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.5493, allocations: 1.051 MB / 0.833 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/0.5501, allocations: 0.7078 MB / 0.8337 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.5503, allocations: 60 kB / 0.8338 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.5517, allocations: 0.7445 MB / 0.8345 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.552, allocations: 318.8 kB / 0.8348 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.5526, allocations: 0.544 MB / 0.8353 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.5543, allocations: 1.443 MB / 0.8367 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5543, allocations: 0 / 0.8367 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5543, allocations: 0 / 0.8367 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.5543, allocations: 4 kB / 0.8367 GB, free: 0.8047 MB / 0.6544 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.002191/0.5565, allocations: 1.496 MB / 0.8382 GB, free: 15.25 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5566, allocations: 8.031 kB / 0.8382 GB, free: 15.24 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007566/0.5574, allocations: 199.1 kB / 0.8384 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.5586, allocations: 0.8579 MB / 0.8392 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.5587, allocations: 48.98 kB / 0.8393 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.5587, allocations: 56 kB / 0.8393 GB, free: 14.03 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.56, allocations: 0.8231 MB / 0.8401 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.56, allocations: 7.938 kB / 0.8401 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.5601, allocations: 23.94 kB / 0.8402 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5601, allocations: 20 kB / 0.8402 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009751/0.5611, allocations: 0.5618 MB / 0.8407 GB, free: 12.52 MB / 0.67 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.004067/0.5651, allocations: 4.208 MB / 0.8448 GB, free: 8.047 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.5659, allocations: 435.7 kB / 0.8453 GB, free: 7.613 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.5664, allocations: 349.8 kB / 0.8456 GB, free: 7.27 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.5667, allocations: 198.2 kB / 0.8458 GB, free: 7.039 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/0.5673, allocations: 323.1 kB / 0.8461 GB, free: 6.703 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002534/0.5676, allocations: 35.91 kB / 0.8461 GB, free: 6.668 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.5676, allocations: 0 / 0.8461 GB, free: 6.668 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.001437/0.569, allocations: 0.7029 MB / 0.8468 GB, free: 5.961 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.5691, allocations: 85.05 kB / 0.8469 GB, free: 5.859 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.5705, allocations: 1.155 MB / 0.848 GB, free: 4.688 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.5706, allocations: 45.7 kB / 0.8481 GB, free: 4.637 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.571, allocations: 485.2 kB / 0.8485 GB, free: 4.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5712, allocations: 122.9 kB / 0.8486 GB, free: 4.039 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.5714, allocations: 122.1 kB / 0.8488 GB, free: 3.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5715, allocations: 322 kB / 0.8491 GB, free: 3.59 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.572, allocations: 234.9 kB / 0.8493 GB, free: 3.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.5726, allocations: 0.546 MB / 0.8498 GB, free: 2.68 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.5736, allocations: 0.6718 MB / 0.8505 GB, free: 1.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5736, allocations: 0 / 0.8505 GB, free: 1.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001267/0.5749, allocations: 0.7754 MB / 0.8512 GB, free: 1.141 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.5749, allocations: 37.7 kB / 0.8513 GB, free: 1.098 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5749, allocations: 4 kB / 0.8513 GB, free: 1.094 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.575, allocations: 12.22 kB / 0.8513 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.5755, allocations: 108.3 kB / 0.8514 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.5755, allocations: 23.86 kB / 0.8514 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/0.5763, allocations: 56.05 kB / 0.8515 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.5764, allocations: 31.92 kB / 0.8515 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000734/0.5771, allocations: 0.514 MB / 0.852 GB, free: 360 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000573/0.5777, allocations: 0.507 MB / 0.8525 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007893/0.5785, allocations: 0.5958 MB / 0.8531 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.5785, allocations: 0 / 0.8531 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001103/0.5796, allocations: 0.6984 MB / 0.8538 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5797, allocations: 33.7 kB / 0.8538 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5797, allocations: 7.984 kB / 0.8538 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.5797, allocations: 11.94 kB / 0.8538 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.5802, allocations: 107.9 kB / 0.8539 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5802, allocations: 15.92 kB / 0.8539 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007249/0.5809, allocations: 80.5 kB / 0.854 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.581, allocations: 20 kB / 0.854 GB, free: 14.05 MB / 0.6856 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.0001739/0.5811, allocations: 212.1 kB / 0.8542 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.5813, allocations: 107.3 kB / 0.8543 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.5823, allocations: 0.5388 MB / 0.8549 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.5823, allocations: 4 kB / 0.8549 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5823, allocations: 3.938 kB / 0.8549 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.5823, allocations: 11.92 kB / 0.8549 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.5843, allocations: 1.492 MB / 0.8563 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5844, allocations: 4 kB / 0.8563 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.5847, allocations: 71.88 kB / 0.8564 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5847, allocations: 8.219 kB / 0.8564 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.5847, allocations: 8 kB / 0.8564 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5848, allocations: 7.984 kB / 0.8564 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5848, allocations: 0 / 0.8564 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.5856, allocations: 0.6636 MB / 0.8571 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.5859, allocations: 232.4 kB / 0.8573 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5861, allocations: 8 kB / 0.8573 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.5866, allocations: 43.88 kB / 0.8573 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.5867, allocations: 43.78 kB / 0.8574 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.5868, allocations: 11.98 kB / 0.8574 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009648/0.5878, allocations: 0.8199 MB / 0.8582 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5878, allocations: 0 / 0.8582 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001022/0.5888, allocations: 423.6 kB / 0.8586 GB, free: 9.203 MB / 0.6856 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.0003939/0.5892, allocations: 188.2 kB / 0.8588 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.5907, allocations: 0.8987 MB / 0.8597 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5907, allocations: 0 / 0.8597 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.5911, allocations: 237.1 kB / 0.8599 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.5932, allocations: 0.5026 MB / 0.8604 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.5958, allocations: 1.792 MB / 0.8621 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.5965, allocations: 1.182 MB / 0.8633 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009928/0.5975, allocations: 428 kB / 0.8637 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.5977, allocations: 83.42 kB / 0.8638 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.5977, allocations: 0 / 0.8638 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of Templates: time 0.3094/0.9072, allocations: 18.75 MB / 0.8821 GB, free: 186 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)