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.00101/0.00101, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 194.7 kB / 16.53 MB, free: 6.691 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7283/0.7283, allocations: 132.2 MB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.38 kB / 0.5018 GB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1498, allocations: 80.2 MB / 0.5801 GB, free: 8.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4139/0.5638, allocations: 161.6 MB / 0.7379 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004547/0.5684, allocations: 3.625 MB / 0.7414 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.5687, allocations: 11.59 kB / 0.7415 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.5692, allocations: 163.6 kB / 0.7416 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.5704, allocations: 0.5258 MB / 0.7421 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.5715, allocations: 433.7 kB / 0.7425 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002259/0.5738, allocations: 2.526 MB / 0.745 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.5748, allocations: 0.935 MB / 0.7459 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.5762, allocations: 1.026 MB / 0.7469 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.5769, allocations: 0.7101 MB / 0.7476 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.5771, allocations: 55.53 kB / 0.7477 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.5784, allocations: 0.7369 MB / 0.7484 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.5787, allocations: 314.2 kB / 0.7487 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.5792, allocations: 0.5401 MB / 0.7492 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.5806, allocations: 1.392 MB / 0.7506 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5806, allocations: 3.984 kB / 0.7506 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5806, allocations: 0 / 0.7506 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.5806, allocations: 0 / 0.7506 GB, free: 4.254 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002068/0.5827, allocations: 1.453 MB / 0.752 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5828, allocations: 12.02 kB / 0.752 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007197/0.5835, allocations: 186.5 kB / 0.7522 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.5846, allocations: 0.7984 MB / 0.753 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.5846, allocations: 48.94 kB / 0.753 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/0.5847, allocations: 60.86 kB / 0.7531 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.5858, allocations: 0.7888 MB / 0.7538 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5858, allocations: 7.938 kB / 0.7539 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.5859, allocations: 20 kB / 0.7539 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5859, allocations: 23.94 kB / 0.7539 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.5868, allocations: 0.5266 MB / 0.7544 GB, free: 148 kB / 0.5606 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.003784/0.5906, allocations: 4.603 MB / 0.7589 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.5913, allocations: 422.3 kB / 0.7593 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.5916, allocations: 248 kB / 0.7595 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.5919, allocations: 194.2 kB / 0.7597 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/0.5924, allocations: 294.4 kB / 0.76 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.5924, allocations: 0 / 0.76 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003643/0.5961, allocations: 1.314 MB / 0.7613 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.5961, allocations: 85.11 kB / 0.7614 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.5974, allocations: 1.118 MB / 0.7625 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.5974, allocations: 33.7 kB / 0.7625 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.5978, allocations: 493.2 kB / 0.763 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.5979, allocations: 110.4 kB / 0.7631 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.5981, allocations: 114 kB / 0.7632 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.5982, allocations: 322 kB / 0.7635 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.5985, allocations: 214.4 kB / 0.7637 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.5991, allocations: 0.5213 MB / 0.7642 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.5999, allocations: 0.6266 MB / 0.7648 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5999, allocations: 4 kB / 0.7648 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002181/0.6021, allocations: 1.046 MB / 0.7658 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.6022, allocations: 33.7 kB / 0.7659 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6022, allocations: 4 kB / 0.7659 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.6035, allocations: 360.9 kB / 0.7662 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.6037, allocations: 55.91 kB / 0.7663 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/0.6047, allocations: 1.022 MB / 0.7673 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.6053, allocations: 75.56 kB / 0.7673 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.6054, allocations: 27.98 kB / 0.7674 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006698/0.606, allocations: 0.4928 MB / 0.7678 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005017/0.6066, allocations: 493.8 kB / 0.7683 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006882/0.6072, allocations: 0.5586 MB / 0.7689 GB, free: 344 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.6073, allocations: 0 / 0.7689 GB, free: 344 kB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001415/0.6087, allocations: 0.8339 MB / 0.7697 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.6087, allocations: 42.27 kB / 0.7697 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6087, allocations: 8.109 kB / 0.7697 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004713/0.6092, allocations: 216.4 kB / 0.7699 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.6094, allocations: 59.84 kB / 0.77 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.6129, allocations: 3.334 MB / 0.7732 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/0.6136, allocations: 76.03 kB / 0.7733 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.6136, allocations: 23.98 kB / 0.7733 GB, free: 11.56 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.0001803/0.6138, allocations: 215.2 kB / 0.7735 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.6139, allocations: 102.7 kB / 0.7736 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.6151, allocations: 0.7104 MB / 0.7743 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6151, allocations: 4 kB / 0.7743 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.6151, allocations: 0 / 0.7743 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.6152, allocations: 4 kB / 0.7743 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.6172, allocations: 1.611 MB / 0.7759 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6173, allocations: 0 / 0.7759 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.6174, allocations: 19.98 kB / 0.7759 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.6178, allocations: 225 kB / 0.7762 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.6178, allocations: 8 kB / 0.7762 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007966/0.6186, allocations: 0.9798 MB / 0.7771 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6187, allocations: 0 / 0.7771 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.6198, allocations: 0.8409 MB / 0.7779 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.62, allocations: 211.8 kB / 0.7781 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.6201, allocations: 11.94 kB / 0.7782 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.6205, allocations: 27.97 kB / 0.7782 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.6206, allocations: 23.97 kB / 0.7782 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.6206, allocations: 16 kB / 0.7782 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008691/0.6215, allocations: 0.7877 MB / 0.779 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6215, allocations: 0 / 0.779 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00107/0.6226, allocations: 431.5 kB / 0.7794 GB, free: 5.164 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.0003713/0.623, allocations: 176 kB / 0.7796 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.6247, allocations: 1.08 MB / 0.7806 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6247, allocations: 0 / 0.7806 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.6252, allocations: 238.5 kB / 0.7808 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.627, allocations: 476.1 kB / 0.7813 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.6294, allocations: 1.767 MB / 0.783 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.63, allocations: 1.184 MB / 0.7842 GB, free: 168 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007682/0.6308, allocations: 303.8 kB / 0.7845 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.6309, allocations: 59.44 kB / 0.7845 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.6309, allocations: 0 / 0.7845 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.02856/0.6595, allocations: 19.64 MB / 0.8037 GB, free: 12.43 MB / 0.6231 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)