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.00135/0.00135, 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.001111/0.001111, allocations: 195.4 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7378/0.7378, allocations: 132.2 MB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.38 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3521, allocations: 80.2 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.166/0.5181, allocations: 161.6 MB / 0.7379 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005249/0.5234, allocations: 3.614 MB / 0.7415 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005917/0.5241, allocations: 11.94 kB / 0.7415 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.5248, allocations: 166.9 kB / 0.7416 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.5265, allocations: 0.5211 MB / 0.7421 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.5278, allocations: 435.8 kB / 0.7425 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002646/0.5304, allocations: 2.563 MB / 0.745 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.5331, allocations: 2.415 MB / 0.7474 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.5348, allocations: 1.039 MB / 0.7484 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000752/0.5355, allocations: 0.7156 MB / 0.7491 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.5357, allocations: 56 kB / 0.7492 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.537, allocations: 0.7406 MB / 0.7499 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.5373, allocations: 314.9 kB / 0.7502 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005536/0.5378, allocations: 0.5518 MB / 0.7507 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.5392, allocations: 1.398 MB / 0.7521 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5392, allocations: 4 kB / 0.7521 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5392, allocations: 0 / 0.7521 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.5392, allocations: 0 / 0.7521 GB, free: 0.7617 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.002062/0.5413, allocations: 1.47 MB / 0.7535 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5413, allocations: 8.031 kB / 0.7535 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/0.542, allocations: 190.5 kB / 0.7537 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.5431, allocations: 0.7984 MB / 0.7545 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.5431, allocations: 45 kB / 0.7546 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.5432, allocations: 64 kB / 0.7546 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5443, allocations: 0.8161 MB / 0.7554 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5444, allocations: 3.938 kB / 0.7554 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.5444, allocations: 31.94 kB / 0.7554 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5444, allocations: 12 kB / 0.7555 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/0.5453, allocations: 0.5579 MB / 0.756 GB, free: 12.58 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.003427/0.5488, allocations: 4.215 MB / 0.7601 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.5495, allocations: 446.1 kB / 0.7605 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.55, allocations: 346.9 kB / 0.7609 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.5502, allocations: 202.2 kB / 0.7611 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.5507, allocations: 319.1 kB / 0.7614 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001447/0.5509, allocations: 31.69 kB / 0.7614 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.542e-06/0.5509, allocations: 0 / 0.7614 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001371/0.5523, allocations: 0.705 MB / 0.7621 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5523, allocations: 89.03 kB / 0.7622 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.5535, allocations: 1.155 MB / 0.7633 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.5536, allocations: 37.7 kB / 0.7633 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.554, allocations: 480.5 kB / 0.7638 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.554, allocations: 118.4 kB / 0.7639 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.5542, allocations: 118 kB / 0.764 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5543, allocations: 330 kB / 0.7643 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.5547, allocations: 234.9 kB / 0.7646 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.5553, allocations: 0.542 MB / 0.7651 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008822/0.5562, allocations: 0.676 MB / 0.7658 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5562, allocations: 4 kB / 0.7658 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00115/0.5574, allocations: 0.7639 MB / 0.7665 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.5574, allocations: 38.34 kB / 0.7665 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.5574, allocations: 8 kB / 0.7665 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5575, allocations: 12 kB / 0.7666 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.558, allocations: 115.8 kB / 0.7667 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.558, allocations: 15.92 kB / 0.7667 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/0.5587, allocations: 59.92 kB / 0.7667 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.5587, allocations: 24 kB / 0.7668 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006324/0.5594, allocations: 0.5218 MB / 0.7673 GB, free: 412 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005364/0.5599, allocations: 0.4992 MB / 0.7678 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000757/0.5607, allocations: 0.6035 MB / 0.7683 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.5607, allocations: 4 kB / 0.7684 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001008/0.5617, allocations: 0.6888 MB / 0.769 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5618, allocations: 33.7 kB / 0.7691 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5618, allocations: 4.656 kB / 0.7691 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.5618, allocations: 12 kB / 0.7691 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.5622, allocations: 111.8 kB / 0.7692 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5623, allocations: 11.94 kB / 0.7692 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.563, allocations: 64.25 kB / 0.7693 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.563, allocations: 31.98 kB / 0.7693 GB, free: 14.11 MB / 0.6075 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.0001512/0.5632, allocations: 216.1 kB / 0.7695 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5633, allocations: 102.8 kB / 0.7696 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009013/0.5642, allocations: 0.5426 MB / 0.7701 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.5642, allocations: 8.125 kB / 0.7701 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5642, allocations: 4 kB / 0.7701 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.5642, allocations: 3.984 kB / 0.7701 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.5662, allocations: 1.494 MB / 0.7716 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5662, allocations: 0 / 0.7716 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.5665, allocations: 71.88 kB / 0.7717 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5665, allocations: 4 kB / 0.7717 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.5666, allocations: 8 kB / 0.7717 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5666, allocations: 3.938 kB / 0.7717 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5666, allocations: 4.219 kB / 0.7717 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.5674, allocations: 0.6675 MB / 0.7723 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.5677, allocations: 227.7 kB / 0.7725 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.5678, allocations: 11.94 kB / 0.7726 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.5684, allocations: 39.94 kB / 0.7726 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.5685, allocations: 39.84 kB / 0.7726 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.5685, allocations: 12 kB / 0.7726 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008832/0.5694, allocations: 0.8159 MB / 0.7734 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5694, allocations: 0 / 0.7734 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009388/0.5703, allocations: 427.5 kB / 0.7739 GB, free: 9.277 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.0003587/0.5707, allocations: 172.5 kB / 0.774 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.5721, allocations: 0.9463 MB / 0.7749 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5721, allocations: 0 / 0.7749 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.5725, allocations: 231.7 kB / 0.7752 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.5745, allocations: 0.4988 MB / 0.7756 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.577, allocations: 1.795 MB / 0.7774 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.5778, allocations: 1.182 MB / 0.7786 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001002/0.5788, allocations: 432 kB / 0.779 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.579, allocations: 79.42 kB / 0.779 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.579, allocations: 0 / 0.779 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.03025/0.6092, allocations: 18.63 MB / 0.7972 GB, free: 1.535 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)