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.001121/0.001121, allocations: 112.6 kB / 16.37 MB, free: 6 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.001141/0.001141, allocations: 196 kB / 17.31 MB, free: 5.613 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8175/0.8175, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3257, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1554/0.4812, allocations: 161.6 MB / 0.7436 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005946/0.4872, allocations: 3.635 MB / 0.7471 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.4876, allocations: 7.938 kB / 0.7471 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.4882, allocations: 166.9 kB / 0.7473 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.4901, allocations: 0.525 MB / 0.7478 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.4919, allocations: 427.1 kB / 0.7482 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003758/0.4957, allocations: 2.57 MB / 0.7507 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3316/0.8272, allocations: 2.41 MB / 0.7531 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.8297, allocations: 1.038 MB / 0.7541 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.8309, allocations: 0.7094 MB / 0.7548 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.831, allocations: 61.53 kB / 0.7549 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.8324, allocations: 0.7432 MB / 0.7556 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.8327, allocations: 316 kB / 0.7559 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006896/0.8334, allocations: 0.5445 MB / 0.7564 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.8352, allocations: 1.425 MB / 0.7578 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8352, allocations: 0 / 0.7578 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8352, allocations: 0.8438 kB / 0.7578 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.8353, allocations: 0 / 0.7578 GB, free: 2.211 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.002673/0.8379, allocations: 1.459 MB / 0.7592 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.838, allocations: 10.77 kB / 0.7592 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008984/0.8389, allocations: 187.5 kB / 0.7594 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.8406, allocations: 0.8613 MB / 0.7603 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.8407, allocations: 46.09 kB / 0.7603 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.8408, allocations: 58.81 kB / 0.7604 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.8421, allocations: 0.8193 MB / 0.7612 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.8422, allocations: 10.25 kB / 0.7612 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.8422, allocations: 24.25 kB / 0.7612 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.8423, allocations: 19.08 kB / 0.7612 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.8434, allocations: 0.5579 MB / 0.7618 GB, free: 16.71 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.004615/0.848, allocations: 4.197 MB / 0.7659 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.8488, allocations: 440.2 kB / 0.7663 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.8494, allocations: 343.5 kB / 0.7666 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.8498, allocations: 196.7 kB / 0.7668 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.8503, allocations: 323.9 kB / 0.7671 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003699/0.8506, allocations: 32.56 kB / 0.7671 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.8506, allocations: 0.9062 kB / 0.7671 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001256/0.8519, allocations: 0.7007 MB / 0.7678 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.852, allocations: 87.27 kB / 0.7679 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.8534, allocations: 1.147 MB / 0.769 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.8535, allocations: 38.55 kB / 0.7691 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.8539, allocations: 491.3 kB / 0.7695 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.854, allocations: 113.8 kB / 0.7696 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.8542, allocations: 112.5 kB / 0.7697 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8544, allocations: 326.4 kB / 0.7701 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.8548, allocations: 236.5 kB / 0.7703 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/0.8554, allocations: 0.539 MB / 0.7708 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.8562, allocations: 0.6802 MB / 0.7715 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8563, allocations: 0 / 0.7715 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001212/0.8575, allocations: 0.7738 MB / 0.7722 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.8575, allocations: 36.86 kB / 0.7723 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.8575, allocations: 12.12 kB / 0.7723 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.8576, allocations: 4.875 kB / 0.7723 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.8581, allocations: 127.9 kB / 0.7724 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.8581, allocations: 9.938 kB / 0.7724 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.8589, allocations: 59.66 kB / 0.7725 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.859, allocations: 23.69 kB / 0.7725 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000705/0.8597, allocations: 0.5234 MB / 0.773 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005429/0.8603, allocations: 0.4958 MB / 0.7735 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007111/0.861, allocations: 0.5966 MB / 0.7741 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.681e-06/0.861, allocations: 4.094 kB / 0.7741 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001027/0.862, allocations: 0.695 MB / 0.7747 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.8621, allocations: 41.69 kB / 0.7748 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.8621, allocations: 5.25 kB / 0.7748 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.8621, allocations: 9.5 kB / 0.7748 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.8625, allocations: 110.7 kB / 0.7749 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.8625, allocations: 12.34 kB / 0.7749 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008071/0.8634, allocations: 68.16 kB / 0.775 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.8634, allocations: 26.19 kB / 0.775 GB, free: 11.08 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.0002106/0.8636, allocations: 221.4 kB / 0.7752 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.8638, allocations: 105.8 kB / 0.7753 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/0.8647, allocations: 0.5407 MB / 0.7758 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.8647, allocations: 9.125 kB / 0.7759 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8647, allocations: 0 / 0.7759 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.8647, allocations: 4 kB / 0.7759 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.8669, allocations: 1.496 MB / 0.7773 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8669, allocations: 3.312 kB / 0.7773 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.8672, allocations: 77.03 kB / 0.7774 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.8672, allocations: 7.094 kB / 0.7774 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.8672, allocations: 7.125 kB / 0.7774 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.8672, allocations: 6.547 kB / 0.7774 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8672, allocations: 2.094 kB / 0.7774 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.8681, allocations: 0.6581 MB / 0.7781 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.8685, allocations: 222.1 kB / 0.7783 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.8686, allocations: 13.77 kB / 0.7783 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/0.8692, allocations: 37.31 kB / 0.7783 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.8693, allocations: 37.83 kB / 0.7784 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.8693, allocations: 12.88 kB / 0.7784 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000997/0.8703, allocations: 0.8195 MB / 0.7792 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8703, allocations: 0.7812 kB / 0.7792 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001174/0.8715, allocations: 425.6 kB / 0.7796 GB, free: 9.797 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.0004864/0.872, allocations: 180 kB / 0.7797 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.8734, allocations: 0.9033 MB / 0.7806 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8734, allocations: 3.938 kB / 0.7806 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.8738, allocations: 234.3 kB / 0.7809 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.8758, allocations: 0.4962 MB / 0.7813 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.8788, allocations: 1.757 MB / 0.7831 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009777/0.8798, allocations: 1.182 MB / 0.7842 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001217/0.8811, allocations: 439.7 kB / 0.7846 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.8813, allocations: 82.69 kB / 0.7847 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.8813, allocations: 0 / 0.7847 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of Templates: time 0.0303/0.9116, allocations: 18.63 MB / 0.8029 GB, free: 3.715 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)