Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001384/0.001384, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001629/0.001629, allocations: 197.8 kB / 16.25 MB, free: 6.621 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7862/0.7862, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 60.16 kB / 0.5013 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3373, allocations: 80.22 MB / 0.5796 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1671/0.5044, allocations: 159.4 MB / 0.7353 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004587/0.509, allocations: 3.583 MB / 0.7388 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.5094, allocations: 11.94 kB / 0.7388 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.5099, allocations: 143.2 kB / 0.7389 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.5112, allocations: 0.4981 MB / 0.7394 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.5122, allocations: 393.1 kB / 0.7398 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.5149, allocations: 2.566 MB / 0.7423 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.5162, allocations: 0.9058 MB / 0.7432 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.518, allocations: 1.066 MB / 0.7442 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.5191, allocations: 0.7507 MB / 0.745 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.5193, allocations: 60 kB / 0.745 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.5208, allocations: 0.7484 MB / 0.7457 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.5211, allocations: 306.9 kB / 0.746 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006752/0.5218, allocations: 0.5517 MB / 0.7466 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.5234, allocations: 1.417 MB / 0.748 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5234, allocations: 4 kB / 0.748 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5234, allocations: 0 / 0.748 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5235, allocations: 0 / 0.748 GB, free: 4.738 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.002188/0.5256, allocations: 1.458 MB / 0.7494 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5257, allocations: 8.031 kB / 0.7494 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008217/0.5265, allocations: 182.5 kB / 0.7496 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.5277, allocations: 0.8023 MB / 0.7504 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.5278, allocations: 52.98 kB / 0.7504 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/0.5279, allocations: 56 kB / 0.7505 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.5291, allocations: 0.7888 MB / 0.7512 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.5291, allocations: 3.938 kB / 0.7512 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.5292, allocations: 27.94 kB / 0.7513 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.5292, allocations: 12 kB / 0.7513 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.5301, allocations: 0.5305 MB / 0.7518 GB, free: 0.6289 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.004144/0.5343, allocations: 4.583 MB / 0.7563 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.535, allocations: 430.3 kB / 0.7567 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.5354, allocations: 239 kB / 0.7569 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.5357, allocations: 190.2 kB / 0.7571 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005133/0.5363, allocations: 297.1 kB / 0.7574 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.5363, allocations: 0 / 0.7574 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.003961/0.5402, allocations: 1.319 MB / 0.7587 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.5403, allocations: 85.11 kB / 0.7587 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.5417, allocations: 1.118 MB / 0.7598 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.5418, allocations: 37.7 kB / 0.7599 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.5422, allocations: 496.2 kB / 0.7603 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.5423, allocations: 98.5 kB / 0.7604 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.5424, allocations: 114 kB / 0.7605 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5425, allocations: 326 kB / 0.7608 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.5429, allocations: 218.4 kB / 0.7611 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.5435, allocations: 0.5135 MB / 0.7616 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.5443, allocations: 0.633 MB / 0.7622 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5443, allocations: 0 / 0.7622 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002252/0.5466, allocations: 1.034 MB / 0.7632 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.5467, allocations: 37.77 kB / 0.7632 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5467, allocations: 12.22 kB / 0.7632 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.5481, allocations: 356.2 kB / 0.7636 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.5484, allocations: 67.91 kB / 0.7636 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.5494, allocations: 1.007 MB / 0.7646 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.5502, allocations: 95.53 kB / 0.7647 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.5502, allocations: 31.97 kB / 0.7647 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006721/0.5509, allocations: 0.4967 MB / 0.7652 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005303/0.5514, allocations: 489.9 kB / 0.7657 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007249/0.5522, allocations: 0.5643 MB / 0.7662 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.691e-06/0.5522, allocations: 8.109 kB / 0.7663 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001562/0.5538, allocations: 0.8303 MB / 0.7671 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.5538, allocations: 33.7 kB / 0.7671 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5538, allocations: 8 kB / 0.7671 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/0.5543, allocations: 208.8 kB / 0.7673 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.5545, allocations: 63.84 kB / 0.7674 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.5582, allocations: 3.337 MB / 0.7706 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.559, allocations: 92 kB / 0.7707 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.559, allocations: 20 kB / 0.7707 GB, free: 12.02 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 (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.0001978/0.5592, allocations: 216.5 kB / 0.7709 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.5594, allocations: 106.7 kB / 0.771 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.5606, allocations: 0.7024 MB / 0.7717 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.5606, allocations: 8 kB / 0.7717 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.5607, allocations: 0 / 0.7717 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.5607, allocations: 3.984 kB / 0.7717 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.563, allocations: 1.611 MB / 0.7733 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.563, allocations: 0 / 0.7733 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.5631, allocations: 23.97 kB / 0.7733 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.5636, allocations: 237.8 kB / 0.7736 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.5636, allocations: 8 kB / 0.7736 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008474/0.5645, allocations: 0.9812 MB / 0.7745 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5645, allocations: 3.938 kB / 0.7745 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.5657, allocations: 0.8196 MB / 0.7753 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.566, allocations: 219.7 kB / 0.7755 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.5661, allocations: 11.98 kB / 0.7755 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.5666, allocations: 43.95 kB / 0.7756 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.5667, allocations: 27.97 kB / 0.7756 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.5667, allocations: 16 kB / 0.7756 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009577/0.5677, allocations: 0.7916 MB / 0.7764 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5677, allocations: 0 / 0.7764 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001146/0.5688, allocations: 439.4 kB / 0.7768 GB, free: 5.586 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 (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.0003741/0.5692, allocations: 177.5 kB / 0.777 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.571, allocations: 1.087 MB / 0.7781 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5711, allocations: 4 kB / 0.7781 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.5715, allocations: 239 kB / 0.7783 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.5734, allocations: 449.8 kB / 0.7787 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.576, allocations: 2.052 MB / 0.7807 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.5767, allocations: 1.188 MB / 0.7819 GB, free: 312 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008165/0.5776, allocations: 303.8 kB / 0.7822 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.5777, allocations: 59.44 kB / 0.7822 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.5777, allocations: 0 / 0.7822 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of Templates: time 0.03163/0.6093, allocations: 19.53 MB / 0.8013 GB, free: 12.68 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)