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.0009391/0.0009392, allocations: 97.33 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.007667/0.007667, allocations: 169 kB / 16.26 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003881, allocations: 8.562 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.438, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1723/0.6103, allocations: 157.3 MB / 0.7373 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005051/0.6154, allocations: 3.586 MB / 0.7408 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003806/0.6158, allocations: 15.88 kB / 0.7408 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.6163, allocations: 131.2 kB / 0.7409 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.6179, allocations: 0.4941 MB / 0.7414 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.619, allocations: 388.7 kB / 0.7418 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003386/0.6224, allocations: 3.498 MB / 0.7452 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.6235, allocations: 0.7543 MB / 0.7459 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.6251, allocations: 0.9025 MB / 0.7468 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.6262, allocations: 0.7155 MB / 0.7475 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.6263, allocations: 32 kB / 0.7475 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.6279, allocations: 0.799 MB / 0.7483 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.6283, allocations: 274.9 kB / 0.7486 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007701/0.6291, allocations: 0.5339 MB / 0.7491 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.6306, allocations: 1.37 MB / 0.7504 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6306, allocations: 0 / 0.7504 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.063e-06/0.6306, allocations: 0 / 0.7504 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.6307, allocations: 0 / 0.7504 GB, free: 5.035 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.002193/0.6329, allocations: 1.268 MB / 0.7517 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.6329, allocations: 12.03 kB / 0.7517 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007644/0.6337, allocations: 186.4 kB / 0.7519 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.6349, allocations: 0.8023 MB / 0.7527 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.6349, allocations: 41 kB / 0.7527 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-05/0.635, allocations: 64 kB / 0.7528 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.6362, allocations: 0.7966 MB / 0.7535 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.6362, allocations: 0 / 0.7535 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.6363, allocations: 27.94 kB / 0.7536 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.6363, allocations: 12 kB / 0.7536 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.6372, allocations: 0.5461 MB / 0.7541 GB, free: 1.098 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.004297/0.6416, allocations: 4.595 MB / 0.7586 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.6423, allocations: 433.8 kB / 0.759 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.6427, allocations: 251 kB / 0.7592 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.643, allocations: 190.2 kB / 0.7594 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.6435, allocations: 305.1 kB / 0.7597 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.6435, allocations: 0 / 0.7597 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.00398/0.6475, allocations: 1.358 MB / 0.761 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.6476, allocations: 81.11 kB / 0.7611 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.6491, allocations: 1.118 MB / 0.7622 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.6492, allocations: 41.7 kB / 0.7623 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.6497, allocations: 484.1 kB / 0.7627 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6498, allocations: 114.5 kB / 0.7628 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.6499, allocations: 45.7 kB / 0.7629 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.6502, allocations: 322 kB / 0.7632 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.6506, allocations: 212.7 kB / 0.7634 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.6512, allocations: 0.5253 MB / 0.7639 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.6522, allocations: 0.637 MB / 0.7645 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6522, allocations: 0 / 0.7645 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002624/0.6549, allocations: 1.058 MB / 0.7655 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.6551, allocations: 286.4 kB / 0.7658 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.6551, allocations: 4 kB / 0.7658 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.6565, allocations: 360.4 kB / 0.7662 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.6568, allocations: 63.91 kB / 0.7662 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.6581, allocations: 1.014 MB / 0.7672 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009329/0.6591, allocations: 103.4 kB / 0.7673 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.6591, allocations: 23.94 kB / 0.7673 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.6591, allocations: 8 kB / 0.7673 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001407/0.6606, allocations: 0.7279 MB / 0.7681 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6606, allocations: 4 kB / 0.7681 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/0.6612, allocations: 215.4 kB / 0.7683 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.6614, allocations: 63.84 kB / 0.7683 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/0.6658, allocations: 3.083 MB / 0.7713 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.6667, allocations: 91.62 kB / 0.7714 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.6668, allocations: 20 kB / 0.7714 GB, free: 14.3 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.0007792/0.6676, allocations: 464.8 kB / 0.7719 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.6678, allocations: 98.78 kB / 0.772 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.6696, allocations: 0.7257 MB / 0.7727 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6696, allocations: 4 kB / 0.7727 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6696, allocations: 0 / 0.7727 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6696, allocations: 0 / 0.7727 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.6724, allocations: 1.615 MB / 0.7743 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6725, allocations: 7.938 kB / 0.7743 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.6726, allocations: 23.97 kB / 0.7743 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.6731, allocations: 226.7 kB / 0.7745 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.6732, allocations: 11.94 kB / 0.7745 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008966/0.6741, allocations: 0.9778 MB / 0.7755 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6741, allocations: 4.031 kB / 0.7755 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6754, allocations: 0.8428 MB / 0.7763 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.6758, allocations: 215.8 kB / 0.7765 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.6759, allocations: 8 kB / 0.7765 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.6765, allocations: 51.89 kB / 0.7766 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.6766, allocations: 35.89 kB / 0.7766 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.6766, allocations: 12 kB / 0.7766 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001221/0.6779, allocations: 0.7955 MB / 0.7774 GB, free: 8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6779, allocations: 0 / 0.7774 GB, free: 8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001456/0.6793, allocations: 439.4 kB / 0.7778 GB, free: 7.57 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.0005292/0.6799, allocations: 178.4 kB / 0.778 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.6821, allocations: 1.092 MB / 0.7791 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6821, allocations: 4 kB / 0.7791 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.6826, allocations: 238.3 kB / 0.7793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.6853, allocations: 455.3 kB / 0.7797 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.6886, allocations: 2.075 MB / 0.7817 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.6895, allocations: 1.181 MB / 0.7829 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009705/0.6905, allocations: 307.9 kB / 0.7832 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.6906, allocations: 59.44 kB / 0.7832 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.6906, allocations: 0 / 0.7832 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of Templates: time 0.03339/0.724, allocations: 18.79 MB / 0.8016 GB, free: 15.34 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)