Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008774/0.0008775, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8623/0.8623, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.000309, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.3763/0.5216, allocations: 140.5 MB / 0.7244 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.5266, allocations: 3.598 MB / 0.7279 GB, free: 6.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004164/0.527, allocations: 10.53 kB / 0.7279 GB, free: 6.043 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.5278, allocations: 236.6 kB / 0.7281 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.5297, allocations: 0.7002 MB / 0.7288 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.531, allocations: 481.1 kB / 0.7293 GB, free: 5.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.5331, allocations: 1.651 MB / 0.7309 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.536, allocations: 2.317 MB / 0.7331 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.5376, allocations: 0.8645 MB / 0.734 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.5383, allocations: 0.6036 MB / 0.7346 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.674e-05/0.5384, allocations: 46.59 kB / 0.7346 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.5395, allocations: 455.7 kB / 0.735 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.5398, allocations: 308.2 kB / 0.7353 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.54, allocations: 252.2 kB / 0.7356 GB, free: 2.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.5411, allocations: 1.124 MB / 0.7367 GB, free: 2.324 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.5411, allocations: 0 / 0.7367 GB, free: 2.324 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5411, allocations: 0 / 0.7367 GB, free: 2.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.5411, allocations: 4 kB / 0.7367 GB, free: 2.32 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002325/0.5434, allocations: 1.502 MB / 0.7382 GB, free: 1.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.5435, allocations: 11.36 kB / 0.7382 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007235/0.5442, allocations: 204.7 kB / 0.7384 GB, free: 1.312 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.5457, allocations: 0.8746 MB / 0.7392 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.5458, allocations: 45.31 kB / 0.7393 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5459, allocations: 64 kB / 0.7393 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.5472, allocations: 0.9867 MB / 0.7403 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5472, allocations: 7.938 kB / 0.7403 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/0.5473, allocations: 26.91 kB / 0.7403 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.5473, allocations: 16 kB / 0.7403 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5485, allocations: 0.803 MB / 0.7411 GB, free: 14.8 MB / 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.004282/0.5528, allocations: 4.813 MB / 0.7458 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.555, allocations: 4.02 MB / 0.7497 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.5551, allocations: 16.27 kB / 0.7498 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.5556, allocations: 333.9 kB / 0.7501 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000215/0.5558, allocations: 31.69 kB / 0.7501 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.5559, allocations: 0 / 0.7501 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.00481/0.5607, allocations: 1.741 MB / 0.7518 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.5607, allocations: 110.8 kB / 0.7519 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.5621, allocations: 1.185 MB / 0.7531 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.5621, allocations: 37.7 kB / 0.7531 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.5625, allocations: 0.512 MB / 0.7536 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.5626, allocations: 122.4 kB / 0.7537 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.5627, allocations: 8 kB / 0.7537 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5628, allocations: 326 kB / 0.754 GB, free: 312 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.5631, allocations: 209 kB / 0.7542 GB, free: 104 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.5637, allocations: 0.5298 MB / 0.7548 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.5642, allocations: 323 kB / 0.7551 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5642, allocations: 4 kB / 0.7551 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002047/0.5662, allocations: 1.088 MB / 0.7561 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007932/0.567, allocations: 2.139 MB / 0.7582 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.567, allocations: 7.938 kB / 0.7582 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.5683, allocations: 366.7 kB / 0.7586 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.5686, allocations: 75.88 kB / 0.7586 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009437/0.5695, allocations: 1.062 MB / 0.7597 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/0.5705, allocations: 103.7 kB / 0.7598 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.5705, allocations: 24 kB / 0.7598 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5706, allocations: 6.031 kB / 0.7598 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00135/0.5719, allocations: 0.8102 MB / 0.7606 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5719, allocations: 8.625 kB / 0.7606 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/0.5725, allocations: 264.6 kB / 0.7609 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.5728, allocations: 75.81 kB / 0.7609 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.5764, allocations: 3.196 MB / 0.7641 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/0.5772, allocations: 95.8 kB / 0.7641 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.5773, allocations: 24 kB / 0.7642 GB, free: 5.445 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005841/0.5779, allocations: 480.7 kB / 0.7646 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.578, allocations: 106.7 kB / 0.7647 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.5793, allocations: 0.8036 MB / 0.7655 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.5793, allocations: 4 kB / 0.7655 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5793, allocations: 0 / 0.7655 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.5793, allocations: 3.984 kB / 0.7655 GB, free: 4.039 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 postOpt removeSimpleEquations (simulation): time 0.00272/0.5821, allocations: 2.234 MB / 0.7677 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5821, allocations: 0 / 0.7677 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.5823, allocations: 51.89 kB / 0.7678 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.5827, allocations: 212.8 kB / 0.768 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.5828, allocations: 11.98 kB / 0.768 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006625/0.5835, allocations: 0.8839 MB / 0.7688 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5835, allocations: 8.016 kB / 0.7688 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.5847, allocations: 0.9722 MB / 0.7698 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.585, allocations: 239.6 kB / 0.77 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5852, allocations: 8 kB / 0.77 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/0.5858, allocations: 83.78 kB / 0.7701 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.5859, allocations: 31.94 kB / 0.7701 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.5859, allocations: 16 kB / 0.7701 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009518/0.5869, allocations: 0.8289 MB / 0.771 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5869, allocations: 0 / 0.771 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001265/0.5882, allocations: 0.511 MB / 0.7715 GB, free: 13.69 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.000347/0.5885, allocations: 188.4 kB / 0.7716 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.5903, allocations: 1.132 MB / 0.7727 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5903, allocations: 4.375 kB / 0.7727 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.5907, allocations: 262.2 kB / 0.773 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/0.5936, allocations: 0.6477 MB / 0.7736 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.5961, allocations: 2.1 MB / 0.7757 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/0.5969, allocations: 1.24 MB / 0.7769 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008384/0.5977, allocations: 324.6 kB / 0.7772 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.5978, allocations: 71.42 kB / 0.7773 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5978, allocations: 0 / 0.7773 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of Templates: time 0.03011/0.628, allocations: 21.13 MB / 0.7979 GB, free: 2.777 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: