Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009894/0.0009894, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00537/0.00537, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8997/0.8997, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 9.062 kB / 0.5076 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1662, allocations: 82.31 MB / 0.588 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4627/0.629, allocations: 157.3 MB / 0.7416 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.6325, allocations: 1.753 MB / 0.7433 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.633, allocations: 9.125 kB / 0.7433 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.6336, allocations: 137.1 kB / 0.7434 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.6351, allocations: 0.4903 MB / 0.7439 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.6363, allocations: 351.7 kB / 0.7442 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003331/0.6396, allocations: 3.472 MB / 0.7476 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.6407, allocations: 0.7516 MB / 0.7484 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.6423, allocations: 0.8943 MB / 0.7492 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008514/0.6431, allocations: 0.7239 MB / 0.7499 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.611e-05/0.6432, allocations: 33.16 kB / 0.75 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.6447, allocations: 0.8014 MB / 0.7508 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.645, allocations: 284.9 kB / 0.751 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.6455, allocations: 0.5248 MB / 0.7515 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.647, allocations: 1.361 MB / 0.7529 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.647, allocations: 0 / 0.7529 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.488e-06/0.647, allocations: 3.344 kB / 0.7529 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.647, allocations: 7.875 kB / 0.7529 GB, free: 3.633 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00196/0.649, allocations: 1.26 MB / 0.7541 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.649, allocations: 8.031 kB / 0.7541 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007379/0.6498, allocations: 190.5 kB / 0.7543 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.6509, allocations: 0.7982 MB / 0.7551 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.651, allocations: 45 kB / 0.7551 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.6511, allocations: 60 kB / 0.7552 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6522, allocations: 0.7966 MB / 0.756 GB, free: 300 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6522, allocations: 7.562 kB / 0.756 GB, free: 296 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.6523, allocations: 27.94 kB / 0.756 GB, free: 268 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.6523, allocations: 12 kB / 0.756 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.6532, allocations: 0.5461 MB / 0.7565 GB, free: 15.7 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.004401/0.6577, allocations: 4.595 MB / 0.761 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.6584, allocations: 426.2 kB / 0.7614 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.6588, allocations: 254.4 kB / 0.7617 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.6591, allocations: 202.2 kB / 0.7619 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004825/0.6596, allocations: 287.2 kB / 0.7621 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.6596, allocations: 0 / 0.7621 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001402/0.661, allocations: 0.6548 MB / 0.7628 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.6611, allocations: 85.11 kB / 0.7629 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.6625, allocations: 1.114 MB / 0.7639 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.6625, allocations: 37.64 kB / 0.764 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.6629, allocations: 0.4893 MB / 0.7645 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.663, allocations: 110.5 kB / 0.7646 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.6631, allocations: 41.69 kB / 0.7646 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6632, allocations: 326 kB / 0.7649 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.6636, allocations: 216.7 kB / 0.7651 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.6642, allocations: 0.5177 MB / 0.7656 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.6651, allocations: 0.6465 MB / 0.7663 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6651, allocations: 3.938 kB / 0.7663 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001253/0.6664, allocations: 0.7404 MB / 0.767 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.6666, allocations: 273.9 kB / 0.7672 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6666, allocations: 8 kB / 0.7673 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6666, allocations: 11.94 kB / 0.7673 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.6671, allocations: 107.8 kB / 0.7674 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.6671, allocations: 11.98 kB / 0.7674 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.6678, allocations: 95.47 kB / 0.7675 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.6679, allocations: 24 kB / 0.7675 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/0.6679, allocations: 9.875 kB / 0.7675 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000876/0.6688, allocations: 0.5408 MB / 0.768 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6688, allocations: 8 kB / 0.768 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.6688, allocations: 8 kB / 0.768 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.6691, allocations: 104.4 kB / 0.7681 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.6692, allocations: 17.39 kB / 0.7682 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.6698, allocations: 87.62 kB / 0.7682 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.6698, allocations: 20 kB / 0.7683 GB, free: 2.863 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 (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 (53): * Single equations (assignments): 52 * 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.0005049/0.6704, allocations: 472.6 kB / 0.7687 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6705, allocations: 98.78 kB / 0.7688 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009025/0.6714, allocations: 0.5034 MB / 0.7693 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.6714, allocations: 4 kB / 0.7693 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6714, allocations: 0 / 0.7693 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6714, allocations: 3.984 kB / 0.7693 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.6734, allocations: 1.401 MB / 0.7707 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6734, allocations: 7.938 kB / 0.7707 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.6737, allocations: 67.83 kB / 0.7707 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6737, allocations: 4 kB / 0.7708 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.6737, allocations: 8 kB / 0.7708 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.6737, allocations: 6.812 kB / 0.7708 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6737, allocations: 7.938 kB / 0.7708 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.6745, allocations: 0.6102 MB / 0.7714 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.6748, allocations: 219.8 kB / 0.7716 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/0.6749, allocations: 8 kB / 0.7716 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.6754, allocations: 51.89 kB / 0.7716 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.6755, allocations: 27.91 kB / 0.7717 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.6755, allocations: 15.98 kB / 0.7717 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001013/0.6765, allocations: 0.7914 MB / 0.7725 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6765, allocations: 4 kB / 0.7725 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001218/0.6778, allocations: 403.4 kB / 0.7728 GB, free: 14.02 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 (31): * Single equations (assignments): 29 * 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.0004176/0.6782, allocations: 173.2 kB / 0.773 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.6796, allocations: 0.8375 MB / 0.7738 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6796, allocations: 0 / 0.7738 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.68, allocations: 207 kB / 0.774 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.6823, allocations: 458.4 kB / 0.7745 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.6853, allocations: 2.051 MB / 0.7765 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.6861, allocations: 1.181 MB / 0.7776 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001082/0.6872, allocations: 423.6 kB / 0.778 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.6874, allocations: 75.42 kB / 0.7781 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.6874, allocations: 0 / 0.7781 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of Templates: time 0.03167/0.7191, allocations: 16.39 MB / 0.7941 GB, free: 8.375 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)