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.001554/0.001555, allocations: 102.4 kB / 16.27 MB, free: 6.418 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.001474/0.001474, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8022/0.8022, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 75.88 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3136, allocations: 80.92 MB / 0.5851 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.173/0.4867, allocations: 161.6 MB / 0.7429 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.4898, allocations: 1.763 MB / 0.7446 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.4901, allocations: 11.94 kB / 0.7446 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.4906, allocations: 162.9 kB / 0.7448 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.4919, allocations: 0.525 MB / 0.7453 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009936/0.4929, allocations: 389.4 kB / 0.7456 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002623/0.4955, allocations: 2.517 MB / 0.7481 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.4967, allocations: 0.9333 MB / 0.749 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.4983, allocations: 1.016 MB / 0.75 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008179/0.4991, allocations: 0.7078 MB / 0.7507 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.4992, allocations: 56 kB / 0.7508 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3121/0.8113, allocations: 0.7315 MB / 0.7515 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005378/0.8119, allocations: 305.6 kB / 0.7518 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009842/0.8129, allocations: 0.537 MB / 0.7523 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.8145, allocations: 1.396 MB / 0.7536 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.8145, allocations: 0.5938 kB / 0.7536 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8146, allocations: 0.5625 kB / 0.7537 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.8146, allocations: 1.203 kB / 0.7537 GB, free: 3.887 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.0018/0.8164, allocations: 1.447 MB / 0.7551 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.8164, allocations: 12.83 kB / 0.7551 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006688/0.8171, allocations: 187.2 kB / 0.7553 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.818, allocations: 0.7898 MB / 0.756 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.8181, allocations: 47.97 kB / 0.7561 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.8181, allocations: 66.02 kB / 0.7561 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009261/0.8191, allocations: 0.7905 MB / 0.7569 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.8191, allocations: 3.344 kB / 0.7569 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.8192, allocations: 28.09 kB / 0.7569 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.8192, allocations: 15.42 kB / 0.757 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.82, allocations: 0.5335 MB / 0.7575 GB, free: 2.41 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.005074/0.8251, allocations: 4.609 MB / 0.762 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008844/0.826, allocations: 419.4 kB / 0.7624 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.8265, allocations: 244.6 kB / 0.7626 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.8269, allocations: 198.5 kB / 0.7628 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005865/0.8275, allocations: 289.5 kB / 0.7631 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.8276, allocations: 1.938 kB / 0.7631 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001609/0.8292, allocations: 0.6298 MB / 0.7637 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.8293, allocations: 92.09 kB / 0.7638 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.8309, allocations: 1.114 MB / 0.7649 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.831, allocations: 42.58 kB / 0.7649 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.8313, allocations: 489.1 kB / 0.7654 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.8314, allocations: 109.3 kB / 0.7655 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.8315, allocations: 117.7 kB / 0.7656 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.8317, allocations: 324.9 kB / 0.7659 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.832, allocations: 210.3 kB / 0.7661 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.8326, allocations: 0.5145 MB / 0.7666 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009442/0.8335, allocations: 0.6456 MB / 0.7672 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8336, allocations: 1.094 kB / 0.7672 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001099/0.8347, allocations: 0.7211 MB / 0.7679 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.8347, allocations: 36.11 kB / 0.768 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8347, allocations: 5.562 kB / 0.768 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.8348, allocations: 12.5 kB / 0.768 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.8352, allocations: 105.8 kB / 0.7681 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.8352, allocations: 13.5 kB / 0.7681 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.8359, allocations: 78.41 kB / 0.7682 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.8359, allocations: 25.78 kB / 0.7682 GB, free: 13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006772/0.8366, allocations: 0.4954 MB / 0.7687 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005697/0.8372, allocations: 493.2 kB / 0.7692 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008113/0.838, allocations: 0.5452 MB / 0.7697 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.838, allocations: 1.25 kB / 0.7697 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001167/0.8392, allocations: 0.6484 MB / 0.7703 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.8393, allocations: 37.98 kB / 0.7704 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.8393, allocations: 5.969 kB / 0.7704 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8393, allocations: 8.406 kB / 0.7704 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.8397, allocations: 113.1 kB / 0.7705 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8397, allocations: 6.5 kB / 0.7705 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/0.8403, allocations: 70.31 kB / 0.7706 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.8404, allocations: 21.88 kB / 0.7706 GB, free: 12.18 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 (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.0002288/0.8406, allocations: 229.4 kB / 0.7708 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.8407, allocations: 101.6 kB / 0.7709 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008409/0.8416, allocations: 492.3 kB / 0.7714 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8416, allocations: 4.156 kB / 0.7714 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8416, allocations: 3.031 kB / 0.7714 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.8416, allocations: 3 kB / 0.7714 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.8435, allocations: 1.386 MB / 0.7727 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.8435, allocations: 4.031 kB / 0.7727 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.8438, allocations: 66.27 kB / 0.7728 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.8438, allocations: 3.531 kB / 0.7728 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.8438, allocations: 5.812 kB / 0.7728 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8438, allocations: 8.766 kB / 0.7728 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.8438, allocations: 6.938 kB / 0.7728 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.8446, allocations: 0.6025 MB / 0.7734 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.8449, allocations: 207.4 kB / 0.7736 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.845, allocations: 11.72 kB / 0.7736 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.8453, allocations: 21.34 kB / 0.7736 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.8454, allocations: 36.17 kB / 0.7737 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.8455, allocations: 13.14 kB / 0.7737 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008319/0.8463, allocations: 0.7882 MB / 0.7744 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8463, allocations: 0.9062 kB / 0.7744 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00105/0.8474, allocations: 412.4 kB / 0.7748 GB, free: 10.9 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.0004516/0.8478, allocations: 186.7 kB / 0.775 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.8491, allocations: 0.8616 MB / 0.7759 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8491, allocations: 0.875 kB / 0.7759 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.8494, allocations: 197.2 kB / 0.7761 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.8511, allocations: 445.5 kB / 0.7765 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.8535, allocations: 1.793 MB / 0.7782 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/0.8543, allocations: 1.183 MB / 0.7794 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.8544, allocations: 78.19 kB / 0.7795 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.8544, allocations: 0 / 0.7795 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of Templates: time 0.02303/0.8775, allocations: 15.86 MB / 0.7949 GB, free: 6.938 MB / 0.5919 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)