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.0009876/0.0009877, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001148/0.001148, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7729/0.7729, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 8 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4365, allocations: 81.58 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1775/0.614, allocations: 157.3 MB / 0.7373 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006/0.6201, allocations: 3.586 MB / 0.7408 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005479/0.6207, allocations: 7.938 kB / 0.7408 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007195/0.6214, allocations: 127.2 kB / 0.7409 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.6231, allocations: 0.5058 MB / 0.7414 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.6244, allocations: 396.8 kB / 0.7418 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003593/0.628, allocations: 3.514 MB / 0.7452 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.6309, allocations: 2.207 MB / 0.7474 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.633, allocations: 0.9141 MB / 0.7483 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.634, allocations: 0.7233 MB / 0.749 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-05/0.6342, allocations: 32 kB / 0.749 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.6357, allocations: 0.799 MB / 0.7498 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.6361, allocations: 270.9 kB / 0.75 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007087/0.6368, allocations: 0.5378 MB / 0.7506 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.6385, allocations: 1.378 MB / 0.7519 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6385, allocations: 0 / 0.7519 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6385, allocations: 3.938 kB / 0.7519 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.6385, allocations: 3.938 kB / 0.7519 GB, free: 3.531 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.002141/0.6407, allocations: 1.303 MB / 0.7532 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.6407, allocations: 8.031 kB / 0.7532 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007731/0.6415, allocations: 190.4 kB / 0.7534 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.6427, allocations: 0.8101 MB / 0.7542 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.6428, allocations: 45 kB / 0.7542 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6429, allocations: 60 kB / 0.7543 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.6442, allocations: 0.8239 MB / 0.7551 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.6443, allocations: 3.938 kB / 0.7551 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.6443, allocations: 27.94 kB / 0.7551 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.6443, allocations: 15.98 kB / 0.7551 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.6454, allocations: 0.5696 MB / 0.7557 GB, free: 15.49 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.004794/0.6502, allocations: 4.247 MB / 0.7598 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.651, allocations: 454.1 kB / 0.7603 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.6515, allocations: 357.7 kB / 0.7606 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.6519, allocations: 202.1 kB / 0.7608 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005574/0.6524, allocations: 323.1 kB / 0.7611 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000356/0.6528, allocations: 35.59 kB / 0.7611 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/0.6528, allocations: 0 / 0.7611 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001476/0.6543, allocations: 0.7173 MB / 0.7618 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.6543, allocations: 81.11 kB / 0.7619 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.6558, allocations: 1.155 MB / 0.763 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.6558, allocations: 37.7 kB / 0.7631 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.6563, allocations: 488.4 kB / 0.7635 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.6564, allocations: 118.4 kB / 0.7637 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.6564, allocations: 41.7 kB / 0.7637 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6566, allocations: 330 kB / 0.764 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.657, allocations: 228.9 kB / 0.7642 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.6577, allocations: 0.5499 MB / 0.7648 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/0.6586, allocations: 0.6905 MB / 0.7654 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6587, allocations: 0 / 0.7654 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001309/0.66, allocations: 0.7791 MB / 0.7662 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.6602, allocations: 279 kB / 0.7665 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6602, allocations: 4.109 kB / 0.7665 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.6602, allocations: 11.94 kB / 0.7665 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.6608, allocations: 119.8 kB / 0.7666 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.6608, allocations: 11.94 kB / 0.7666 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/0.6616, allocations: 79.8 kB / 0.7667 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.6617, allocations: 27.98 kB / 0.7667 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.6617, allocations: 5.875 kB / 0.7667 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009785/0.6627, allocations: 0.5869 MB / 0.7673 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6627, allocations: 7.938 kB / 0.7673 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.6627, allocations: 8 kB / 0.7673 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.6632, allocations: 108.3 kB / 0.7674 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.6632, allocations: 15.94 kB / 0.7674 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.664, allocations: 83.91 kB / 0.7675 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.6641, allocations: 23.94 kB / 0.7675 GB, free: 2.648 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.0005268/0.6646, allocations: 474 kB / 0.768 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.6647, allocations: 102.7 kB / 0.7681 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.6657, allocations: 0.5544 MB / 0.7686 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.6657, allocations: 4 kB / 0.7686 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6658, allocations: 3.938 kB / 0.7686 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.6658, allocations: 3.938 kB / 0.7686 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.6679, allocations: 1.501 MB / 0.7701 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.668, allocations: 0 / 0.7701 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.6683, allocations: 79.81 kB / 0.7702 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6683, allocations: 4 kB / 0.7702 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.6684, allocations: 8 kB / 0.7702 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.6684, allocations: 4 kB / 0.7702 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6684, allocations: 0 / 0.7702 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.6693, allocations: 0.6798 MB / 0.7709 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.6696, allocations: 227.8 kB / 0.7711 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.6697, allocations: 8 kB / 0.7711 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.6704, allocations: 71.77 kB / 0.7711 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.6705, allocations: 31.91 kB / 0.7712 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.6705, allocations: 15.98 kB / 0.7712 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001174/0.6717, allocations: 0.8198 MB / 0.772 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6717, allocations: 0 / 0.772 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00127/0.673, allocations: 427.5 kB / 0.7724 GB, free: 13.5 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.0005917/0.6736, allocations: 173.5 kB / 0.7726 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.6753, allocations: 0.9207 MB / 0.7735 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6754, allocations: 0 / 0.7735 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.6758, allocations: 232.6 kB / 0.7737 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/0.6795, allocations: 0.6315 MB / 0.7743 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.6825, allocations: 2.076 MB / 0.7763 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008106/0.6834, allocations: 1.182 MB / 0.7775 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001288/0.6847, allocations: 408.3 kB / 0.7779 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.6849, allocations: 79.42 kB / 0.7779 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of SimCode: time 1.332e-06/0.6849, allocations: 0 / 0.7779 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.03303/0.7179, allocations: 19.1 MB / 0.7966 GB, free: 4.902 MB / 0.6231 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)