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.001728/0.001728, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001836/0.001836, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3366, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1584/0.495, allocations: 161.6 MB / 0.7393 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005126/0.5002, allocations: 3.628 MB / 0.7429 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.5005, allocations: 11.94 kB / 0.7429 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.5011, allocations: 162.9 kB / 0.743 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.5026, allocations: 0.5211 MB / 0.7435 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.5038, allocations: 434.6 kB / 0.744 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002626/0.5064, allocations: 2.545 MB / 0.7464 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.5076, allocations: 0.941 MB / 0.7474 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.5091, allocations: 1.035 MB / 0.7484 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008539/0.51, allocations: 0.7078 MB / 0.7491 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.5101, allocations: 52 kB / 0.7491 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.5114, allocations: 0.7406 MB / 0.7498 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003012/0.5117, allocations: 302.9 kB / 0.7501 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006011/0.5123, allocations: 0.5479 MB / 0.7507 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3137/0.826, allocations: 1.399 MB / 0.752 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.826, allocations: 0.7188 kB / 0.752 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.729e-06/0.826, allocations: 0 / 0.752 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.591e-05/0.8261, allocations: 1.844 kB / 0.752 GB, free: 6.078 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.004111/0.8303, allocations: 1.447 MB / 0.7534 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8303, allocations: 9.25 kB / 0.7535 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.8314, allocations: 189.1 kB / 0.7536 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.8333, allocations: 0.8511 MB / 0.7545 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.8334, allocations: 43.09 kB / 0.7545 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.8336, allocations: 61.03 kB / 0.7546 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.8347, allocations: 0.7877 MB / 0.7553 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.8348, allocations: 11.81 kB / 0.7553 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.8348, allocations: 22 kB / 0.7554 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.8348, allocations: 16.84 kB / 0.7554 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000987/0.8358, allocations: 0.5331 MB / 0.7559 GB, free: 4.602 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.005561/0.8414, allocations: 4.589 MB / 0.7604 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.8424, allocations: 417.2 kB / 0.7608 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.8429, allocations: 246.8 kB / 0.761 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.8433, allocations: 192.3 kB / 0.7612 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007367/0.844, allocations: 295.4 kB / 0.7615 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 5.701e-06/0.8441, allocations: 1.844 kB / 0.7615 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.004533/0.8486, allocations: 1.303 MB / 0.7628 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.8487, allocations: 82.83 kB / 0.7628 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.8507, allocations: 1.123 MB / 0.7639 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/0.8509, allocations: 36.83 kB / 0.764 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.8513, allocations: 489.8 kB / 0.7644 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.8515, allocations: 113.9 kB / 0.7645 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.8517, allocations: 106.9 kB / 0.7646 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.8519, allocations: 330.1 kB / 0.765 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.8524, allocations: 219.4 kB / 0.7652 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.8531, allocations: 0.5166 MB / 0.7657 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.8541, allocations: 0.6312 MB / 0.7663 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.8541, allocations: 3.688 kB / 0.7663 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003061/0.8572, allocations: 1.042 MB / 0.7673 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.8573, allocations: 36.95 kB / 0.7673 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.8573, allocations: 5.75 kB / 0.7673 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.8586, allocations: 354.8 kB / 0.7677 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.8589, allocations: 65.94 kB / 0.7677 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.86, allocations: 1.008 MB / 0.7687 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.8609, allocations: 78.89 kB / 0.7688 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.861, allocations: 27.06 kB / 0.7688 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008461/0.8618, allocations: 0.4943 MB / 0.7693 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004951/0.8623, allocations: 492.5 kB / 0.7698 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007328/0.8631, allocations: 0.5552 MB / 0.7703 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.8631, allocations: 1.438 kB / 0.7703 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001636/0.8647, allocations: 0.8365 MB / 0.7711 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.8648, allocations: 33.89 kB / 0.7712 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.8648, allocations: 6.094 kB / 0.7712 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.8653, allocations: 206 kB / 0.7714 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.8655, allocations: 63.7 kB / 0.7714 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/0.869, allocations: 3.343 MB / 0.7747 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.8698, allocations: 68.89 kB / 0.7748 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.8698, allocations: 26.08 kB / 0.7748 GB, free: 11.98 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 (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.0002165/0.8701, allocations: 210.7 kB / 0.775 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.8703, allocations: 106.4 kB / 0.7751 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.8716, allocations: 0.7076 MB / 0.7758 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.8716, allocations: 3.188 kB / 0.7758 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8716, allocations: 3.438 kB / 0.7758 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8716, allocations: 0 / 0.7758 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.8744, allocations: 1.603 MB / 0.7774 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8744, allocations: 0 / 0.7774 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.8745, allocations: 27.14 kB / 0.7774 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.8749, allocations: 215.3 kB / 0.7776 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.875, allocations: 12.41 kB / 0.7776 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008444/0.8758, allocations: 0.9818 MB / 0.7786 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.8758, allocations: 5.781 kB / 0.7786 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.877, allocations: 0.8317 MB / 0.7794 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.8775, allocations: 215 kB / 0.7796 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.8777, allocations: 9.812 kB / 0.7796 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.8782, allocations: 20.88 kB / 0.7796 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.8783, allocations: 32.27 kB / 0.7796 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.8783, allocations: 14.56 kB / 0.7797 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001064/0.8794, allocations: 0.7919 MB / 0.7804 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8794, allocations: 4.391 kB / 0.7804 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001531/0.8809, allocations: 435 kB / 0.7809 GB, free: 10.04 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 (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.0004949/0.8814, allocations: 167.1 kB / 0.781 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.8833, allocations: 1.077 MB / 0.7821 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.8833, allocations: 0 / 0.7821 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.8838, allocations: 238.4 kB / 0.7823 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.8857, allocations: 457.7 kB / 0.7827 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.8887, allocations: 1.746 MB / 0.7844 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008936/0.8897, allocations: 1.19 MB / 0.7856 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008883/0.8906, allocations: 315.8 kB / 0.7859 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.8907, allocations: 62.69 kB / 0.786 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.8907, allocations: 0 / 0.786 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of Templates: time 0.031/0.9217, allocations: 19.62 MB / 0.8051 GB, free: 3.336 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)