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.0008656/0.0008656, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001169/0.001169, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9698/0.9698, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 11.94 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 82.32 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4763/0.6351, allocations: 146.7 MB / 0.7307 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005618/0.6408, allocations: 3.365 MB / 0.734 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.6413, allocations: 7.906 kB / 0.734 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.6419, allocations: 110.1 kB / 0.7341 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.6434, allocations: 396 kB / 0.7344 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.6448, allocations: 378.2 kB / 0.7348 GB, free: 396 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004221/0.649, allocations: 3.022 MB / 0.7378 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.6523, allocations: 2.157 MB / 0.7399 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.6546, allocations: 0.8642 MB / 0.7407 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.6561, allocations: 0.7092 MB / 0.7414 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.6564, allocations: 33.66 kB / 0.7414 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.6582, allocations: 0.5535 MB / 0.742 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.6587, allocations: 285.1 kB / 0.7422 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005749/0.6593, allocations: 228.1 kB / 0.7425 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.6608, allocations: 1.033 MB / 0.7435 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6608, allocations: 2.938 kB / 0.7435 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.634e-06/0.6608, allocations: 0 / 0.7435 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.579e-05/0.6609, allocations: 4 kB / 0.7435 GB, free: 12.45 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.00265/0.6635, allocations: 1.338 MB / 0.7448 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6636, allocations: 9.188 kB / 0.7448 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008664/0.6645, allocations: 183.4 kB / 0.745 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.6661, allocations: 0.809 MB / 0.7458 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.6661, allocations: 41.5 kB / 0.7458 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/0.6662, allocations: 67.98 kB / 0.7459 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.6675, allocations: 0.8249 MB / 0.7467 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/0.6676, allocations: 4 kB / 0.7467 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.6677, allocations: 20 kB / 0.7467 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.6677, allocations: 16 kB / 0.7467 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009574/0.6687, allocations: 0.5657 MB / 0.7473 GB, free: 9.152 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.003946/0.6726, allocations: 4.258 MB / 0.7514 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007305/0.6734, allocations: 454.3 kB / 0.7518 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.6739, allocations: 354.3 kB / 0.7522 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.6742, allocations: 198.2 kB / 0.7524 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/0.6747, allocations: 327.6 kB / 0.7527 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002162/0.675, allocations: 39.59 kB / 0.7527 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.003e-06/0.675, allocations: 0 / 0.7527 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001424/0.6764, allocations: 0.7132 MB / 0.7534 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.6765, allocations: 85.11 kB / 0.7535 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.6779, allocations: 1.151 MB / 0.7546 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.6779, allocations: 37.69 kB / 0.7547 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.6784, allocations: 492.3 kB / 0.7551 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/0.6785, allocations: 114.4 kB / 0.7552 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.6785, allocations: 12 kB / 0.7552 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6787, allocations: 326 kB / 0.7556 GB, free: 260 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.679, allocations: 205 kB / 0.7558 GB, free: 56 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.6797, allocations: 0.5188 MB / 0.7563 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.6802, allocations: 318.8 kB / 0.7566 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.6802, allocations: 0 / 0.7566 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001165/0.6814, allocations: 0.724 MB / 0.7573 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.6816, allocations: 283.2 kB / 0.7575 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6816, allocations: 4 kB / 0.7575 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.6816, allocations: 8 kB / 0.7576 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.6821, allocations: 123.9 kB / 0.7577 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.6822, allocations: 15.69 kB / 0.7577 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/0.6829, allocations: 95.7 kB / 0.7578 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.683, allocations: 25.12 kB / 0.7578 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.683, allocations: 4 kB / 0.7578 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009617/0.684, allocations: 0.5828 MB / 0.7584 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.684, allocations: 8 kB / 0.7584 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.684, allocations: 8 kB / 0.7584 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.6845, allocations: 112.4 kB / 0.7585 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6845, allocations: 8 kB / 0.7585 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.6852, allocations: 91.75 kB / 0.7586 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.6853, allocations: 27.98 kB / 0.7586 GB, free: 12.88 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005356/0.6858, allocations: 473.4 kB / 0.7591 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.686, allocations: 98.78 kB / 0.7592 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000989/0.6869, allocations: 0.5517 MB / 0.7597 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.687, allocations: 7.984 kB / 0.7597 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.687, allocations: 0.875 kB / 0.7597 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.687, allocations: 7.984 kB / 0.7597 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.6893, allocations: 1.497 MB / 0.7612 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.6894, allocations: 0 / 0.7612 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.6897, allocations: 71.88 kB / 0.7613 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.6897, allocations: 4 kB / 0.7613 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.6898, allocations: 15.73 kB / 0.7613 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.6898, allocations: 8 kB / 0.7613 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6898, allocations: 3.938 kB / 0.7613 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.6907, allocations: 0.6631 MB / 0.7619 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.6911, allocations: 227.8 kB / 0.7621 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.6913, allocations: 12 kB / 0.7622 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.6919, allocations: 79.59 kB / 0.7622 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.692, allocations: 31.95 kB / 0.7623 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.6921, allocations: 16 kB / 0.7623 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001128/0.6932, allocations: 0.8198 MB / 0.7631 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6932, allocations: 0 / 0.7631 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001226/0.6944, allocations: 427.4 kB / 0.7635 GB, free: 7.746 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004213/0.6949, allocations: 171.5 kB / 0.7637 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.6965, allocations: 0.8929 MB / 0.7645 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6965, allocations: 1.312 kB / 0.7645 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.697, allocations: 244.1 kB / 0.7648 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.7001, allocations: 0.6391 MB / 0.7654 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.7034, allocations: 1.98 MB / 0.7673 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.7042, allocations: 1.178 MB / 0.7685 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001237/0.7054, allocations: 440 kB / 0.7689 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.7057, allocations: 79.42 kB / 0.769 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.7057, allocations: 0 / 0.769 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of Templates: time 0.02974/0.7354, allocations: 18.63 MB / 0.7872 GB, free: 15.67 MB / 0.6075 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)