Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000933/0.000933, allocations: 100 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.0008531/0.0008531, 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.203/1.203, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8646/0.8646, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002782, allocations: 9.25 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1423, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.3602/0.5026, allocations: 140.5 MB / 0.7244 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006011/0.5086, allocations: 3.599 MB / 0.7279 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.5091, allocations: 10.72 kB / 0.7279 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007685/0.5099, allocations: 245.9 kB / 0.7281 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.5119, allocations: 0.6967 MB / 0.7288 GB, free: 5.516 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.5134, allocations: 490.9 kB / 0.7293 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.5156, allocations: 1.646 MB / 0.7309 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.5186, allocations: 2.322 MB / 0.7331 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.5201, allocations: 0.8567 MB / 0.734 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006772/0.5207, allocations: 0.6062 MB / 0.7346 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-05/0.5208, allocations: 48.69 kB / 0.7346 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.5219, allocations: 457.7 kB / 0.7351 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.5222, allocations: 305.2 kB / 0.7354 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.5224, allocations: 251.5 kB / 0.7356 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.5235, allocations: 1.125 MB / 0.7367 GB, free: 2.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5235, allocations: 0 / 0.7367 GB, free: 2.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5235, allocations: 4 kB / 0.7367 GB, free: 2.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.5236, allocations: 0 / 0.7367 GB, free: 2.355 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.00251/0.5261, allocations: 1.507 MB / 0.7382 GB, free: 1.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.5261, allocations: 9.656 kB / 0.7382 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/0.5269, allocations: 204.8 kB / 0.7384 GB, free: 1.324 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.5283, allocations: 0.8625 MB / 0.7392 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.5284, allocations: 49.31 kB / 0.7393 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.5285, allocations: 66.86 kB / 0.7393 GB, free: 448 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.5299, allocations: 0.9866 MB / 0.7403 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.5299, allocations: 3.938 kB / 0.7403 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.53, allocations: 33.53 kB / 0.7403 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.53, allocations: 12 kB / 0.7403 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.5311, allocations: 0.8056 MB / 0.7411 GB, free: 14.75 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.004307/0.5355, allocations: 4.805 MB / 0.7458 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.5377, allocations: 4.031 MB / 0.7497 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.068e-05/0.5378, allocations: 16.27 kB / 0.7498 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004837/0.5383, allocations: 334 kB / 0.7501 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002702/0.5385, allocations: 27.69 kB / 0.7501 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.5385, allocations: 0 / 0.7501 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.004808/0.5434, allocations: 1.741 MB / 0.7518 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.5434, allocations: 118.8 kB / 0.7519 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.5447, allocations: 1.181 MB / 0.7531 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.5448, allocations: 33.7 kB / 0.7531 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.5452, allocations: 0.5198 MB / 0.7536 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.5453, allocations: 110.4 kB / 0.7537 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.5453, allocations: 12 kB / 0.7537 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5454, allocations: 326 kB / 0.754 GB, free: 260 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.5458, allocations: 209 kB / 0.7542 GB, free: 52 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.5463, allocations: 0.5336 MB / 0.7548 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.5468, allocations: 334.9 kB / 0.7551 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5468, allocations: 4 kB / 0.7551 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001994/0.5488, allocations: 1.08 MB / 0.7561 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006961/0.5495, allocations: 2.139 MB / 0.7582 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5495, allocations: 8 kB / 0.7582 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.5508, allocations: 364.9 kB / 0.7586 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.5511, allocations: 75.89 kB / 0.7587 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009513/0.552, allocations: 1.052 MB / 0.7597 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/0.5529, allocations: 99.8 kB / 0.7598 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.5529, allocations: 27.98 kB / 0.7598 GB, free: 10 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.553, allocations: 4 kB / 0.7598 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/0.5543, allocations: 0.8179 MB / 0.7606 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5543, allocations: 8.094 kB / 0.7606 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/0.5549, allocations: 265.8 kB / 0.7609 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.5552, allocations: 67.89 kB / 0.7609 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.5586, allocations: 3.193 MB / 0.7641 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.5594, allocations: 95.81 kB / 0.7641 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.5594, allocations: 23.98 kB / 0.7642 GB, free: 5.395 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.000524/0.56, allocations: 472.7 kB / 0.7646 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.5601, allocations: 110.7 kB / 0.7647 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.5614, allocations: 0.8036 MB / 0.7655 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5614, allocations: 4 kB / 0.7655 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5614, allocations: 4 kB / 0.7655 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5614, allocations: 0 / 0.7655 GB, free: 3.992 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.002718/0.5641, allocations: 2.237 MB / 0.7677 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5641, allocations: 3.938 kB / 0.7677 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.5644, allocations: 47.97 kB / 0.7678 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.5648, allocations: 216.8 kB / 0.768 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.5648, allocations: 12 kB / 0.768 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006705/0.5655, allocations: 0.8836 MB / 0.7688 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5655, allocations: 7.922 kB / 0.7688 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.5667, allocations: 0.9722 MB / 0.7698 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.5671, allocations: 247.6 kB / 0.77 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.5672, allocations: 12 kB / 0.77 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/0.5678, allocations: 71.84 kB / 0.7701 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.5679, allocations: 35.94 kB / 0.7701 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.568, allocations: 12 kB / 0.7702 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009388/0.5689, allocations: 0.8289 MB / 0.771 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5689, allocations: 4 kB / 0.771 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001234/0.5701, allocations: 0.511 MB / 0.7715 GB, free: 13.63 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.0003691/0.5705, allocations: 181.9 kB / 0.7716 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.5722, allocations: 1.137 MB / 0.7727 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5723, allocations: 4.062 kB / 0.7728 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.5727, allocations: 258.2 kB / 0.773 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.5756, allocations: 0.6509 MB / 0.7736 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.578, allocations: 2.095 MB / 0.7757 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.5787, allocations: 1.244 MB / 0.7769 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008067/0.5795, allocations: 332.6 kB / 0.7772 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.5796, allocations: 63.44 kB / 0.7773 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5796, allocations: 0 / 0.7773 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of Templates: time 0.02922/0.6088, allocations: 21.12 MB / 0.7979 GB, free: 2.738 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: