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.001558/0.001558, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.00147/0.00147, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9538/0.9538, allocations: 135.1 MB / 425.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 76.38 kB / 0.5055 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1692, allocations: 80.93 MB / 0.5845 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4727/0.6419, allocations: 159.4 MB / 0.7402 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.6453, allocations: 1.746 MB / 0.7419 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.6457, allocations: 12.59 kB / 0.7419 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.6464, allocations: 140.8 kB / 0.742 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.6478, allocations: 0.4885 MB / 0.7425 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.6489, allocations: 352.6 kB / 0.7428 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002711/0.6517, allocations: 2.559 MB / 0.7453 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.6528, allocations: 0.8941 MB / 0.7462 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.6548, allocations: 1.071 MB / 0.7473 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.6559, allocations: 0.7517 MB / 0.748 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.656, allocations: 54.56 kB / 0.7481 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.6575, allocations: 0.7527 MB / 0.7488 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.6578, allocations: 312.3 kB / 0.7491 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.6585, allocations: 0.5426 MB / 0.7496 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.6596, allocations: 1.041 MB / 0.7506 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6597, allocations: 4 kB / 0.7506 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6597, allocations: 0 / 0.7506 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6597, allocations: 0 / 0.7506 GB, free: 3.246 MB / 0.5606 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.002098/0.6618, allocations: 1.45 MB / 0.7521 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.6618, allocations: 12.03 kB / 0.7521 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007387/0.6626, allocations: 190.4 kB / 0.7522 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.6637, allocations: 0.8022 MB / 0.753 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.6637, allocations: 41 kB / 0.7531 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.6638, allocations: 56 kB / 0.7531 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.6649, allocations: 0.7928 MB / 0.7539 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.665, allocations: 3.938 kB / 0.7539 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.665, allocations: 24 kB / 0.7539 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.665, allocations: 12 kB / 0.7539 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/0.6659, allocations: 0.5383 MB / 0.7545 GB, free: 15.14 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.00363/0.6695, allocations: 4.587 MB / 0.7589 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.6702, allocations: 422.9 kB / 0.7593 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.6706, allocations: 243.2 kB / 0.7596 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.6709, allocations: 194.2 kB / 0.7598 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.6714, allocations: 295.2 kB / 0.76 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.113e-06/0.6714, allocations: 0 / 0.76 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001298/0.6727, allocations: 0.6314 MB / 0.7607 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.6728, allocations: 85.11 kB / 0.7607 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.674, allocations: 1.118 MB / 0.7618 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.674, allocations: 37.7 kB / 0.7619 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.6744, allocations: 493.1 kB / 0.7623 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.6745, allocations: 106.5 kB / 0.7624 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.6747, allocations: 117.9 kB / 0.7625 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6748, allocations: 325.9 kB / 0.7629 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.6752, allocations: 222.4 kB / 0.7631 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.6757, allocations: 0.5135 MB / 0.7636 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000798/0.6765, allocations: 0.6367 MB / 0.7642 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6766, allocations: 4 kB / 0.7642 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001099/0.6777, allocations: 0.7169 MB / 0.7649 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.6777, allocations: 37.7 kB / 0.7649 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6777, allocations: 4 kB / 0.7649 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.6778, allocations: 8.656 kB / 0.7649 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.6782, allocations: 111.8 kB / 0.7651 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.6782, allocations: 8 kB / 0.7651 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.6789, allocations: 99.31 kB / 0.7652 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.679, allocations: 27.98 kB / 0.7652 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006321/0.6796, allocations: 0.5005 MB / 0.7657 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004973/0.6801, allocations: 492.5 kB / 0.7661 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006711/0.6808, allocations: 0.5586 MB / 0.7667 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.798e-06/0.6808, allocations: 4 kB / 0.7667 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009251/0.6817, allocations: 0.6387 MB / 0.7673 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.6818, allocations: 37.69 kB / 0.7674 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6818, allocations: 4.109 kB / 0.7674 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.6818, allocations: 11.94 kB / 0.7674 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.6821, allocations: 103.8 kB / 0.7675 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6821, allocations: 8 kB / 0.7675 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.6828, allocations: 93.31 kB / 0.7676 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.6828, allocations: 24 kB / 0.7676 GB, free: 0.7227 MB / 0.5762 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.0001807/0.683, allocations: 222.4 kB / 0.7678 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6831, allocations: 102.7 kB / 0.7679 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008456/0.684, allocations: 498.8 kB / 0.7684 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.684, allocations: 0 / 0.7684 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.684, allocations: 7.984 kB / 0.7684 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.684, allocations: 7.922 kB / 0.7684 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.6859, allocations: 1.376 MB / 0.7697 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6859, allocations: 4 kB / 0.7697 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.6861, allocations: 67.89 kB / 0.7698 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.6861, allocations: 1.188 kB / 0.7698 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.6862, allocations: 15.98 kB / 0.7698 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6862, allocations: 0 / 0.7698 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.6862, allocations: 7.938 kB / 0.7698 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.6869, allocations: 0.5984 MB / 0.7704 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.6872, allocations: 211.8 kB / 0.7706 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6873, allocations: 16 kB / 0.7706 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.6877, allocations: 35.95 kB / 0.7707 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.6878, allocations: 39.89 kB / 0.7707 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.6879, allocations: 8.875 kB / 0.7707 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008758/0.6887, allocations: 0.7875 MB / 0.7715 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6888, allocations: 0 / 0.7715 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001048/0.6898, allocations: 419.3 kB / 0.7719 GB, free: 12.18 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.0004435/0.6903, allocations: 164.7 kB / 0.772 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.6916, allocations: 0.8596 MB / 0.7729 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6916, allocations: 0 / 0.7729 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.6919, allocations: 187.8 kB / 0.773 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.6937, allocations: 466.8 kB / 0.7735 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.6965, allocations: 2.096 MB / 0.7755 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/0.6972, allocations: 1.184 MB / 0.7767 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.6973, allocations: 75.44 kB / 0.7768 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of SimCode: time 2.245e-06/0.6973, allocations: 0 / 0.7768 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of Templates: time 0.0238/0.7212, allocations: 15.85 MB / 0.7922 GB, free: 7.355 MB / 0.6075 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)