Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001046/0.001046, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001121/0.001121, allocations: 196.9 kB / 16.14 MB, free: 6.688 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7689/0.7689, allocations: 132.2 MB / 422.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.47 kB / 0.5011 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1562, allocations: 80.2 MB / 0.5794 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4453/0.6015, allocations: 159.4 MB / 0.735 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004942/0.6065, allocations: 3.649 MB / 0.7386 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.6069, allocations: 14.12 kB / 0.7386 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.6075, allocations: 127.7 kB / 0.7387 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.6089, allocations: 0.4997 MB / 0.7392 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.6101, allocations: 394.1 kB / 0.7396 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003153/0.6132, allocations: 3.507 MB / 0.743 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.6157, allocations: 2.243 MB / 0.7452 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.6175, allocations: 0.9202 MB / 0.7461 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009309/0.6185, allocations: 0.7399 MB / 0.7468 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.958e-05/0.6186, allocations: 42.28 kB / 0.7469 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.6202, allocations: 0.8103 MB / 0.7477 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.6206, allocations: 289.6 kB / 0.7479 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006535/0.6213, allocations: 0.5266 MB / 0.7485 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.6229, allocations: 1.394 MB / 0.7498 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6229, allocations: 3.938 kB / 0.7498 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6229, allocations: 4 kB / 0.7498 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.6229, allocations: 0 / 0.7498 GB, free: 4.91 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.002294/0.6252, allocations: 1.462 MB / 0.7513 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6253, allocations: 8.031 kB / 0.7513 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/0.6261, allocations: 190.5 kB / 0.7514 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.6273, allocations: 0.81 MB / 0.7522 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.6274, allocations: 48.98 kB / 0.7523 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.6275, allocations: 60 kB / 0.7523 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6287, allocations: 0.821 MB / 0.7531 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.6288, allocations: 3.938 kB / 0.7531 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.6289, allocations: 28 kB / 0.7532 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.6289, allocations: 15.94 kB / 0.7532 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009677/0.6298, allocations: 0.5618 MB / 0.7537 GB, free: 0.7227 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.004102/0.634, allocations: 4.203 MB / 0.7578 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/0.6348, allocations: 452.4 kB / 0.7583 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.6353, allocations: 346.5 kB / 0.7586 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/0.6356, allocations: 198.2 kB / 0.7588 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/0.6362, allocations: 319.1 kB / 0.7591 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000256/0.6364, allocations: 31.67 kB / 0.7591 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.6364, allocations: 0 / 0.7591 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001498/0.6379, allocations: 0.706 MB / 0.7598 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.638, allocations: 85.09 kB / 0.7599 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.6395, allocations: 1.155 MB / 0.761 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.6395, allocations: 37.7 kB / 0.7611 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/0.64, allocations: 484.5 kB / 0.7615 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.6401, allocations: 114.4 kB / 0.7616 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.6403, allocations: 122 kB / 0.7618 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6405, allocations: 326 kB / 0.7621 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.6409, allocations: 234.9 kB / 0.7623 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.6416, allocations: 0.5465 MB / 0.7628 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.6426, allocations: 0.6711 MB / 0.7635 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.6426, allocations: 0 / 0.7635 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001277/0.6439, allocations: 0.7669 MB / 0.7642 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.6439, allocations: 38.34 kB / 0.7643 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.644, allocations: 4 kB / 0.7643 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.644, allocations: 12 kB / 0.7643 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.6445, allocations: 115.9 kB / 0.7644 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.6445, allocations: 19.81 kB / 0.7644 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.6453, allocations: 71.91 kB / 0.7645 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.6454, allocations: 27.94 kB / 0.7645 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007197/0.6461, allocations: 0.5218 MB / 0.765 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005799/0.6467, allocations: 0.4953 MB / 0.7655 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008046/0.6475, allocations: 0.6038 MB / 0.7661 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.6475, allocations: 4 kB / 0.7661 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.00111/0.6486, allocations: 0.6931 MB / 0.7668 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.6487, allocations: 36.05 kB / 0.7668 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6487, allocations: 8 kB / 0.7668 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.6487, allocations: 8 kB / 0.7668 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.6492, allocations: 107.8 kB / 0.7669 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6492, allocations: 11.94 kB / 0.7669 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/0.65, allocations: 92.27 kB / 0.767 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.65, allocations: 24 kB / 0.767 GB, free: 2.242 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.0002177/0.6502, allocations: 224.1 kB / 0.7673 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.6504, allocations: 98.78 kB / 0.7673 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.6514, allocations: 0.5388 MB / 0.7679 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.6514, allocations: 4 kB / 0.7679 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.6514, allocations: 3.938 kB / 0.7679 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6514, allocations: 4 kB / 0.7679 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.6536, allocations: 1.494 MB / 0.7693 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6536, allocations: 4 kB / 0.7693 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.6539, allocations: 71.88 kB / 0.7694 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6539, allocations: 4 kB / 0.7694 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.654, allocations: 8 kB / 0.7694 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.654, allocations: 4 kB / 0.7694 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.654, allocations: 0 / 0.7694 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.6549, allocations: 0.6716 MB / 0.7701 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.6552, allocations: 223.8 kB / 0.7703 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.6554, allocations: 11.94 kB / 0.7703 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.6559, allocations: 55.84 kB / 0.7704 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.656, allocations: 31.95 kB / 0.7704 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.6561, allocations: 19.88 kB / 0.7704 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009921/0.6571, allocations: 0.8159 MB / 0.7712 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6571, allocations: 0 / 0.7712 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001185/0.6583, allocations: 427.4 kB / 0.7716 GB, free: 13.4 MB / 0.5919 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.0004437/0.6587, allocations: 183.3 kB / 0.7718 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.6602, allocations: 0.8929 MB / 0.7727 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6602, allocations: 4 kB / 0.7727 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.6606, allocations: 225.1 kB / 0.7729 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.6635, allocations: 0.6247 MB / 0.7735 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.6664, allocations: 2.064 MB / 0.7755 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.6671, allocations: 1.174 MB / 0.7767 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001206/0.6684, allocations: 411.1 kB / 0.777 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.6686, allocations: 79.42 kB / 0.7771 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/0.6686, allocations: 0 / 0.7771 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of Templates: time 0.03242/0.701, allocations: 19.22 MB / 0.7959 GB, free: 4.73 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)