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.001618/0.001618, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9205/0.9205, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 69.69 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1705, allocations: 80.92 MB / 0.5844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4339/0.6045, allocations: 161.6 MB / 0.7422 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005273/0.6098, allocations: 3.626 MB / 0.7457 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.6103, allocations: 18.75 kB / 0.7457 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.6109, allocations: 159.6 kB / 0.7459 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.6125, allocations: 0.5204 MB / 0.7464 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.6139, allocations: 438.8 kB / 0.7468 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003011/0.6169, allocations: 2.563 MB / 0.7493 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.6199, allocations: 2.406 MB / 0.7517 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.6219, allocations: 1.036 MB / 0.7527 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008349/0.6228, allocations: 0.7117 MB / 0.7534 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.6229, allocations: 59.91 kB / 0.7534 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.6246, allocations: 0.7406 MB / 0.7542 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.6249, allocations: 314.9 kB / 0.7545 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.6256, allocations: 0.5518 MB / 0.755 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.6273, allocations: 1.406 MB / 0.7564 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6273, allocations: 0 / 0.7564 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6273, allocations: 0 / 0.7564 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.6273, allocations: 0 / 0.7564 GB, free: 12.87 MB / 0.5762 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.002252/0.6296, allocations: 1.458 MB / 0.7578 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.6296, allocations: 8.031 kB / 0.7578 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/0.6304, allocations: 194.5 kB / 0.758 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.6315, allocations: 0.8139 MB / 0.7588 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.6316, allocations: 41 kB / 0.7588 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/0.6317, allocations: 63.98 kB / 0.7589 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.6328, allocations: 0.8171 MB / 0.7597 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.6329, allocations: 3.938 kB / 0.7597 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.6329, allocations: 27.98 kB / 0.7597 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.633, allocations: 15.94 kB / 0.7597 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.6339, allocations: 0.5579 MB / 0.7603 GB, free: 8.684 MB / 0.5762 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.003835/0.6377, allocations: 4.223 MB / 0.7644 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.6385, allocations: 440.7 kB / 0.7648 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.639, allocations: 350.4 kB / 0.7651 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.6393, allocations: 198.1 kB / 0.7653 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.6398, allocations: 323.1 kB / 0.7656 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001884/0.64, allocations: 35.69 kB / 0.7657 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.6401, allocations: 0 / 0.7657 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001544/0.6416, allocations: 0.7011 MB / 0.7664 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.6417, allocations: 85.11 kB / 0.7664 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.6431, allocations: 1.151 MB / 0.7676 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.6432, allocations: 33.7 kB / 0.7676 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.6436, allocations: 496.4 kB / 0.7681 GB, free: 320 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.6437, allocations: 122.4 kB / 0.7682 GB, free: 196 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.6439, allocations: 110.2 kB / 0.7683 GB, free: 80 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.644, allocations: 326 kB / 0.7686 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.6444, allocations: 235.8 kB / 0.7688 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/0.6451, allocations: 0.5498 MB / 0.7694 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009264/0.646, allocations: 0.6642 MB / 0.77 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6461, allocations: 8 kB / 0.77 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001292/0.6474, allocations: 0.7682 MB / 0.7708 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.6474, allocations: 33.7 kB / 0.7708 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6474, allocations: 8 kB / 0.7708 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.6475, allocations: 8.109 kB / 0.7708 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.648, allocations: 123.7 kB / 0.7709 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.648, allocations: 15.88 kB / 0.771 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.6487, allocations: 56.09 kB / 0.771 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.6488, allocations: 27.98 kB / 0.771 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006757/0.6495, allocations: 0.5164 MB / 0.7715 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005717/0.6501, allocations: 0.5031 MB / 0.772 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008126/0.6509, allocations: 0.6038 MB / 0.7726 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.349e-06/0.6509, allocations: 4 kB / 0.7726 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001081/0.652, allocations: 0.6855 MB / 0.7733 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.6521, allocations: 41.69 kB / 0.7733 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6521, allocations: 4 kB / 0.7733 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.6521, allocations: 8 kB / 0.7733 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.6525, allocations: 107.8 kB / 0.7734 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.6526, allocations: 11.94 kB / 0.7735 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/0.6533, allocations: 72.25 kB / 0.7735 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.6534, allocations: 24 kB / 0.7735 GB, free: 10.23 MB / 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.0001691/0.6536, allocations: 216.6 kB / 0.7738 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6537, allocations: 102.8 kB / 0.7739 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/0.6547, allocations: 0.5427 MB / 0.7744 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6547, allocations: 4 kB / 0.7744 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.6547, allocations: 7.922 kB / 0.7744 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6547, allocations: 3.938 kB / 0.7744 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.6568, allocations: 1.493 MB / 0.7759 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6568, allocations: 0 / 0.7759 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.6572, allocations: 71.89 kB / 0.7759 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6572, allocations: 4.219 kB / 0.7759 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.6573, allocations: 15.98 kB / 0.7759 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.6573, allocations: 0 / 0.7759 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6573, allocations: 4 kB / 0.7759 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.6582, allocations: 0.6645 MB / 0.7766 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.6585, allocations: 219.8 kB / 0.7768 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.6587, allocations: 11.98 kB / 0.7768 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.6592, allocations: 39.95 kB / 0.7769 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.6593, allocations: 31.89 kB / 0.7769 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.6594, allocations: 19.94 kB / 0.7769 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001057/0.6604, allocations: 0.8159 MB / 0.7777 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6605, allocations: 0 / 0.7777 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001268/0.6617, allocations: 431.4 kB / 0.7781 GB, free: 5.395 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.0005077/0.6622, allocations: 176.4 kB / 0.7783 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.664, allocations: 0.9464 MB / 0.7792 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.664, allocations: 0 / 0.7792 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.6644, allocations: 237 kB / 0.7794 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.6666, allocations: 0.5018 MB / 0.7799 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.6695, allocations: 1.771 MB / 0.7817 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.6703, allocations: 1.182 MB / 0.7828 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001152/0.6715, allocations: 436.7 kB / 0.7832 GB, free: 92 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.6717, allocations: 79.42 kB / 0.7833 GB, free: 12 kB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.6717, allocations: 4 kB / 0.7833 GB, free: 8 kB / 0.5919 GB Notification: Performance of Templates: time 0.0306/0.7023, allocations: 18.64 MB / 0.8015 GB, free: 13.61 MB / 0.6231 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)