Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 105.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8748/0.8748, allocations: 134 MB / 436.6 MB, free: 1.297 MB / 334.1 MB " [Timeout remaining time 179] 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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 68.34 kB / 0.6056 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 84.67 MB / 0.6883 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5723/0.7506, allocations: 162.1 MB / 0.8466 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003519/0.7541, allocations: 1.767 MB / 0.8484 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.7546, allocations: 10.81 kB / 0.8484 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.7553, allocations: 175.3 kB / 0.8485 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.7567, allocations: 0.5464 MB / 0.8491 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.7579, allocations: 391.3 kB / 0.8494 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002714/0.7606, allocations: 2.513 MB / 0.8519 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.7617, allocations: 0.7957 MB / 0.8527 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.7634, allocations: 1.048 MB / 0.8537 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008482/0.7642, allocations: 0.7506 MB / 0.8544 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.978e-05/0.7643, allocations: 55.72 kB / 0.8545 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.7657, allocations: 0.7635 MB / 0.8552 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.766, allocations: 309.2 kB / 0.8555 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006035/0.7666, allocations: 0.545 MB / 0.856 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.7682, allocations: 1.411 MB / 0.8574 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.7682, allocations: 6.5 kB / 0.8574 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7682, allocations: 0 / 0.8574 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.7682, allocations: 4 kB / 0.8574 GB, free: 0.918 MB / 0.6075 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.002274/0.7705, allocations: 1.478 MB / 0.8589 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.7705, allocations: 10.44 kB / 0.8589 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007485/0.7713, allocations: 195.4 kB / 0.8591 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.7726, allocations: 0.8581 MB / 0.8599 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.7726, allocations: 41 kB / 0.86 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.235e-05/0.7727, allocations: 64 kB / 0.86 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.774, allocations: 0.7917 MB / 0.8608 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.774, allocations: 3.938 kB / 0.8608 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.774, allocations: 24 kB / 0.8608 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.7741, allocations: 12 kB / 0.8608 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/0.775, allocations: 0.5344 MB / 0.8613 GB, free: 13.27 MB / 0.6231 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.004246/0.7792, allocations: 4.607 MB / 0.8658 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.78, allocations: 398.3 kB / 0.8662 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.7804, allocations: 226.2 kB / 0.8664 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.7807, allocations: 194.2 kB / 0.8666 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005184/0.7812, allocations: 294.4 kB / 0.8669 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.7812, allocations: 0 / 0.8669 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31): time 0.001384/0.7826, allocations: 0.6379 MB / 0.8675 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.7827, allocations: 81.11 kB / 0.8676 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.7841, allocations: 1.114 MB / 0.8687 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.7842, allocations: 41.7 kB / 0.8687 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.7846, allocations: 0.489 MB / 0.8692 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/0.7847, allocations: 107.1 kB / 0.8693 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.7849, allocations: 125.9 kB / 0.8694 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.7851, allocations: 329.9 kB / 0.8698 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.7856, allocations: 210.4 kB / 0.87 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.7863, allocations: 0.5185 MB / 0.8705 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/0.7873, allocations: 0.6314 MB / 0.8711 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7873, allocations: 0 / 0.8711 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001294/0.7886, allocations: 0.7212 MB / 0.8718 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.7886, allocations: 33.7 kB / 0.8718 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.7886, allocations: 8.062 kB / 0.8718 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.7886, allocations: 8 kB / 0.8718 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.7891, allocations: 114.9 kB / 0.8719 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.7891, allocations: 14.44 kB / 0.8719 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.7897, allocations: 75.58 kB / 0.872 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.7898, allocations: 31.94 kB / 0.8721 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000735/0.7905, allocations: 0.5006 MB / 0.8725 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006454/0.7912, allocations: 489.9 kB / 0.873 GB, free: 456 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008365/0.792, allocations: 0.5528 MB / 0.8735 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.792, allocations: 4 kB / 0.8736 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001088/0.7931, allocations: 0.6502 MB / 0.8742 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.7931, allocations: 33.7 kB / 0.8742 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7932, allocations: 8.109 kB / 0.8742 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.7932, allocations: 16.58 kB / 0.8742 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.7935, allocations: 107.8 kB / 0.8743 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.7936, allocations: 15.88 kB / 0.8744 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.7941, allocations: 64.11 kB / 0.8744 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.7942, allocations: 20 kB / 0.8744 GB, free: 14.88 MB / 0.6387 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.0001806/0.7944, allocations: 224.1 kB / 0.8747 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.7945, allocations: 107.3 kB / 0.8748 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000925/0.7954, allocations: 492.5 kB / 0.8752 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7954, allocations: 4 kB / 0.8752 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7954, allocations: 0 / 0.8752 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.7954, allocations: 3.984 kB / 0.8752 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.7975, allocations: 1.387 MB / 0.8766 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7975, allocations: 3.938 kB / 0.8766 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.7978, allocations: 72.11 kB / 0.8767 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7978, allocations: 4 kB / 0.8767 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.7978, allocations: 8 kB / 0.8767 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.7978, allocations: 7.938 kB / 0.8767 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7978, allocations: 0 / 0.8767 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.7987, allocations: 0.6028 MB / 0.8773 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.799, allocations: 220.3 kB / 0.8775 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.7991, allocations: 11.98 kB / 0.8775 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.7995, allocations: 19.98 kB / 0.8775 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.7996, allocations: 27.97 kB / 0.8775 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.7996, allocations: 11.98 kB / 0.8775 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001016/0.8006, allocations: 0.7875 MB / 0.8783 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8006, allocations: 0 / 0.8783 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001077/0.8017, allocations: 415.5 kB / 0.8787 GB, free: 10.34 MB / 0.6387 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.0004614/0.8022, allocations: 181.1 kB / 0.8789 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.8036, allocations: 0.7979 MB / 0.8797 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8036, allocations: 0 / 0.8797 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.804, allocations: 187.7 kB / 0.8798 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.8058, allocations: 461.8 kB / 0.8803 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.8085, allocations: 1.753 MB / 0.882 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008067/0.8093, allocations: 1.18 MB / 0.8831 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009129/0.8102, allocations: 419.6 kB / 0.8835 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.8104, allocations: 71.42 kB / 0.8836 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.8104, allocations: 4 kB / 0.8836 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.03022/0.8406, allocations: 17.35 MB / 0.9006 GB, free: 4.094 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.596846755594015]