Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001539/0.00154, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8562/0.8562, allocations: 135.2 MB / 425.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 0.5055 GB, free: 8.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.399, allocations: 80.92 MB / 0.5846 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1797/0.5786, allocations: 159.4 MB / 0.7402 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005521/0.5842, allocations: 3.59 MB / 0.7437 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.5847, allocations: 11.88 kB / 0.7437 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.5854, allocations: 139.2 kB / 0.7439 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.5869, allocations: 0.5058 MB / 0.7444 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.5882, allocations: 379.6 kB / 0.7447 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.5913, allocations: 2.559 MB / 0.7472 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.5928, allocations: 0.9097 MB / 0.7481 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.5948, allocations: 1.07 MB / 0.7492 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.5961, allocations: 0.7507 MB / 0.7499 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.5964, allocations: 59.98 kB / 0.7499 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.5981, allocations: 0.7522 MB / 0.7507 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3396/0.9377, allocations: 300 kB / 0.751 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.939, allocations: 0.5411 MB / 0.7515 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.9408, allocations: 1.051 MB / 0.7525 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.9408, allocations: 0.75 kB / 0.7525 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9408, allocations: 0 / 0.7525 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.49e-05/0.9409, allocations: 2.906 kB / 0.7525 GB, free: 4.184 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.002574/0.9435, allocations: 1.454 MB / 0.7539 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9435, allocations: 8.922 kB / 0.754 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008013/0.9443, allocations: 190.6 kB / 0.7541 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.9455, allocations: 0.8041 MB / 0.7549 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.9455, allocations: 46.03 kB / 0.755 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.9456, allocations: 57.69 kB / 0.755 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.9468, allocations: 0.7892 MB / 0.7558 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.9468, allocations: 6.938 kB / 0.7558 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.9469, allocations: 26.97 kB / 0.7558 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.9469, allocations: 11.31 kB / 0.7558 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.9477, allocations: 0.5367 MB / 0.7564 GB, free: 2.695 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.00481/0.9525, allocations: 4.581 MB / 0.7608 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.9534, allocations: 420.4 kB / 0.7612 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.9539, allocations: 248.4 kB / 0.7615 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003504/0.9542, allocations: 193.2 kB / 0.7617 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005896/0.9548, allocations: 297 kB / 0.7619 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.9548, allocations: 0.875 kB / 0.7619 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.004447/0.9593, allocations: 1.315 MB / 0.7632 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.9594, allocations: 81.78 kB / 0.7633 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.9611, allocations: 1.122 MB / 0.7644 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.612e-05/0.9612, allocations: 35.89 kB / 0.7644 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.9616, allocations: 497.4 kB / 0.7649 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.9617, allocations: 109.6 kB / 0.765 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.9618, allocations: 112.4 kB / 0.7651 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.962, allocations: 328.5 kB / 0.7654 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.9624, allocations: 210.6 kB / 0.7656 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.963, allocations: 0.521 MB / 0.7661 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008232/0.9638, allocations: 0.6329 MB / 0.7668 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.9638, allocations: 3.031 kB / 0.7668 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002263/0.9661, allocations: 1.039 MB / 0.7678 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.9662, allocations: 37.61 kB / 0.7678 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.9662, allocations: 10.25 kB / 0.7678 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.9676, allocations: 358.2 kB / 0.7682 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.9678, allocations: 68 kB / 0.7682 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.969, allocations: 1.006 MB / 0.7692 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.9701, allocations: 102 kB / 0.7693 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.9701, allocations: 23.53 kB / 0.7693 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00091/0.971, allocations: 0.4946 MB / 0.7698 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005309/0.9716, allocations: 491.7 kB / 0.7703 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007527/0.9723, allocations: 0.5536 MB / 0.7708 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/0.9724, allocations: 1.969 kB / 0.7708 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001559/0.9739, allocations: 0.8414 MB / 0.7716 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.974, allocations: 33.92 kB / 0.7717 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.974, allocations: 5.625 kB / 0.7717 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.9745, allocations: 205.8 kB / 0.7719 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.9747, allocations: 65.98 kB / 0.7719 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.9786, allocations: 3.345 MB / 0.7752 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.9797, allocations: 88.03 kB / 0.7753 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.9798, allocations: 25.94 kB / 0.7753 GB, free: 10.06 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003282/0.9801, allocations: 217.4 kB / 0.7755 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.9805, allocations: 99.06 kB / 0.7756 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.9818, allocations: 0.7116 MB / 0.7763 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9818, allocations: 5.219 kB / 0.7763 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.9818, allocations: 0 / 0.7763 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.9818, allocations: 3.594 kB / 0.7763 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.9846, allocations: 1.615 MB / 0.7779 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.9846, allocations: 0.9375 kB / 0.7779 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.9847, allocations: 22.84 kB / 0.7779 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.9851, allocations: 223.6 kB / 0.7781 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.9852, allocations: 9.328 kB / 0.7781 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008578/0.986, allocations: 0.9799 MB / 0.7791 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.9861, allocations: 5.625 kB / 0.7791 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.9873, allocations: 0.8262 MB / 0.7799 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/0.9877, allocations: 211.5 kB / 0.7801 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.988, allocations: 16.73 kB / 0.7801 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.9885, allocations: 54.66 kB / 0.7802 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.9886, allocations: 28.22 kB / 0.7802 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.9886, allocations: 12.31 kB / 0.7802 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001054/0.9897, allocations: 0.7927 MB / 0.781 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9897, allocations: 0.875 kB / 0.781 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00151/0.9912, allocations: 435.5 kB / 0.7814 GB, free: 8.105 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004707/0.9917, allocations: 187.6 kB / 0.7816 GB, free: 8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.9936, allocations: 1.08 MB / 0.7826 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.9936, allocations: 0.7188 kB / 0.7826 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.9941, allocations: 228 kB / 0.7829 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.996, allocations: 448.2 kB / 0.7833 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.9992, allocations: 2.116 MB / 0.7854 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.9999, allocations: 1.194 MB / 0.7865 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/1, allocations: 61.03 kB / 0.7866 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/1, allocations: 3.469 kB / 0.7866 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of Templates: time 0.02992/1.03, allocations: 20.33 MB / 0.8064 GB, free: 252 kB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)