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.0009571/0.0009571, allocations: 91.69 kB / 16.02 MB, free: 80 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.001103/0.001103, allocations: 181.4 kB / 16.92 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.917/0.917, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 15.98 kB / 0.5082 GB, free: 4.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 82.31 MB / 0.5886 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4456/0.6117, allocations: 157.3 MB / 0.7422 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.6152, allocations: 1.744 MB / 0.7439 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.6156, allocations: 9.312 kB / 0.7439 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.6162, allocations: 136.6 kB / 0.7441 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.6177, allocations: 0.4947 MB / 0.7445 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.6189, allocations: 351.5 kB / 0.7449 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003668/0.6226, allocations: 3.473 MB / 0.7483 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.6238, allocations: 0.7517 MB / 0.749 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.6256, allocations: 0.8946 MB / 0.7499 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.6267, allocations: 0.7298 MB / 0.7506 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.639e-05/0.6267, allocations: 30.56 kB / 0.7506 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.6284, allocations: 0.7995 MB / 0.7514 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.6287, allocations: 276.5 kB / 0.7517 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006376/0.6294, allocations: 0.5329 MB / 0.7522 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.6305, allocations: 1.008 MB / 0.7532 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.6305, allocations: 0 / 0.7532 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6305, allocations: 0 / 0.7532 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.6305, allocations: 4 kB / 0.7532 GB, free: 4.059 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.001996/0.6325, allocations: 1.258 MB / 0.7544 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6326, allocations: 12.03 kB / 0.7544 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.6333, allocations: 182.5 kB / 0.7546 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.6345, allocations: 0.806 MB / 0.7554 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.6346, allocations: 41 kB / 0.7554 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.6347, allocations: 60 kB / 0.7555 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.6359, allocations: 0.7965 MB / 0.7562 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.6359, allocations: 7.938 kB / 0.7563 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.636, allocations: 20 kB / 0.7563 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.636, allocations: 16 kB / 0.7563 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.637, allocations: 0.5462 MB / 0.7568 GB, free: 204 kB / 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.003965/0.6409, allocations: 4.598 MB / 0.7613 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.6417, allocations: 431.3 kB / 0.7617 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.6421, allocations: 254.4 kB / 0.762 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.6424, allocations: 190.2 kB / 0.7621 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.6429, allocations: 299.2 kB / 0.7624 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.586e-06/0.6429, allocations: 0 / 0.7624 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001347/0.6442, allocations: 0.6509 MB / 0.7631 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.6443, allocations: 85.05 kB / 0.7632 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.6456, allocations: 1.114 MB / 0.7642 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.6456, allocations: 37.7 kB / 0.7643 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.646, allocations: 497.1 kB / 0.7647 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.6461, allocations: 106.5 kB / 0.7648 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.6462, allocations: 45.7 kB / 0.7649 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6464, allocations: 330 kB / 0.7652 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.6467, allocations: 212.7 kB / 0.7654 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.6473, allocations: 0.5214 MB / 0.7659 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008659/0.6482, allocations: 0.6465 MB / 0.7666 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.6482, allocations: 4 kB / 0.7666 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001146/0.6494, allocations: 0.7285 MB / 0.7673 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.6496, allocations: 282.2 kB / 0.7675 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.6496, allocations: 4 kB / 0.7675 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.6496, allocations: 11.94 kB / 0.7676 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.6501, allocations: 111.8 kB / 0.7677 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.6501, allocations: 16.2 kB / 0.7677 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007275/0.6508, allocations: 95.47 kB / 0.7678 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.6509, allocations: 27.94 kB / 0.7678 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.6509, allocations: 4 kB / 0.7678 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008618/0.6518, allocations: 0.5368 MB / 0.7683 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6518, allocations: 5.641 kB / 0.7683 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.6518, allocations: 8.625 kB / 0.7683 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.6521, allocations: 111.8 kB / 0.7684 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.6522, allocations: 11.98 kB / 0.7685 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.6528, allocations: 91.56 kB / 0.7685 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.6528, allocations: 20 kB / 0.7686 GB, free: 3.359 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.000556/0.6534, allocations: 472.6 kB / 0.769 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.6535, allocations: 102.8 kB / 0.7691 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008978/0.6544, allocations: 0.4995 MB / 0.7696 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6544, allocations: 4 kB / 0.7696 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6544, allocations: 0 / 0.7696 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.6545, allocations: 3.984 kB / 0.7696 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.6564, allocations: 1.395 MB / 0.771 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6564, allocations: 7.984 kB / 0.771 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.6567, allocations: 67.84 kB / 0.771 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.6567, allocations: 7.984 kB / 0.771 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6567, allocations: 8 kB / 0.7711 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.6567, allocations: 4 kB / 0.7711 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6567, allocations: 9.031 kB / 0.7711 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.6575, allocations: 0.6062 MB / 0.7717 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.6579, allocations: 223.8 kB / 0.7719 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.658, allocations: 8 kB / 0.7719 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.6584, allocations: 52.08 kB / 0.7719 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.6585, allocations: 27.91 kB / 0.772 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.6586, allocations: 15.98 kB / 0.772 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009994/0.6596, allocations: 0.7914 MB / 0.7727 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6596, allocations: 0 / 0.7727 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001164/0.6608, allocations: 407.4 kB / 0.7731 GB, free: 14.52 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.0004552/0.6612, allocations: 180.2 kB / 0.7733 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.6626, allocations: 0.8374 MB / 0.7741 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6626, allocations: 3.938 kB / 0.7741 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.663, allocations: 195.7 kB / 0.7743 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.6652, allocations: 463.7 kB / 0.7748 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.6681, allocations: 2.099 MB / 0.7768 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.6688, allocations: 1.177 MB / 0.778 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.669, allocations: 75.44 kB / 0.778 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.669, allocations: 4 kB / 0.778 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of Templates: time 0.02368/0.6927, allocations: 15.74 MB / 0.7934 GB, free: 9.773 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)