Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008513/0.0008513, allocations: 100.2 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.000908/0.0009081, allocations: 177.3 kB / 15.95 MB, free: 216 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.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8395/0.8395, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002974, allocations: 8 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 82.3 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.3669/0.5109, allocations: 135.7 MB / 0.7197 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.5138, allocations: 1.671 MB / 0.7213 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.5141, allocations: 8.25 kB / 0.7213 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.5147, allocations: 184.9 kB / 0.7215 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.5162, allocations: 0.5002 MB / 0.722 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.5175, allocations: 408 kB / 0.7224 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.5196, allocations: 1.507 MB / 0.7239 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.5225, allocations: 2.191 MB / 0.726 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.5239, allocations: 0.6973 MB / 0.7267 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.5245, allocations: 487.2 kB / 0.7272 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.5246, allocations: 34.38 kB / 0.7272 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009808/0.5256, allocations: 417 kB / 0.7276 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.5259, allocations: 264.5 kB / 0.7278 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.5261, allocations: 230.1 kB / 0.7281 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.5272, allocations: 0.9894 MB / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5272, allocations: 2.594 kB / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5272, allocations: 0 / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.5272, allocations: 0 / 0.729 GB, free: 7.523 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002114/0.5294, allocations: 1.309 MB / 0.7303 GB, free: 6.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.5294, allocations: 15.03 kB / 0.7303 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006887/0.5301, allocations: 183.3 kB / 0.7305 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.5315, allocations: 0.7949 MB / 0.7313 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.5316, allocations: 47.77 kB / 0.7313 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.5317, allocations: 57.97 kB / 0.7314 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.5328, allocations: 0.826 MB / 0.7322 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.5329, allocations: 5.188 kB / 0.7322 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.5329, allocations: 22.95 kB / 0.7322 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5329, allocations: 15.59 kB / 0.7322 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008837/0.5338, allocations: 0.5698 MB / 0.7328 GB, free: 5.484 MB / 0.545 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.003775/0.5376, allocations: 4.26 MB / 0.7369 GB, free: 2.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.5383, allocations: 469.3 kB / 0.7374 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.5384, allocations: 19.77 kB / 0.7374 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/0.5388, allocations: 321.9 kB / 0.7377 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001946/0.539, allocations: 39.59 kB / 0.7378 GB, free: 1.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.539, allocations: 0 / 0.7378 GB, free: 1.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.004541/0.5436, allocations: 1.678 MB / 0.7394 GB, free: 292 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5437, allocations: 106.8 kB / 0.7395 GB, free: 160 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.545, allocations: 1.147 MB / 0.7406 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.545, allocations: 37.7 kB / 0.7406 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.5454, allocations: 492.4 kB / 0.7411 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.5455, allocations: 114.4 kB / 0.7412 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.5455, allocations: 8 kB / 0.7412 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5456, allocations: 326 kB / 0.7415 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.546, allocations: 209 kB / 0.7417 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.5465, allocations: 0.515 MB / 0.7422 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.547, allocations: 319.7 kB / 0.7426 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.547, allocations: 4 kB / 0.7426 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00195/0.5489, allocations: 1.042 MB / 0.7436 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007072/0.5496, allocations: 2.136 MB / 0.7457 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5497, allocations: 4 kB / 0.7457 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.5508, allocations: 347.3 kB / 0.746 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.5512, allocations: 103.8 kB / 0.7461 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009563/0.5522, allocations: 1.044 MB / 0.7471 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/0.5531, allocations: 87.81 kB / 0.7472 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.5531, allocations: 24 kB / 0.7472 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.5531, allocations: 6.5 kB / 0.7472 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/0.5545, allocations: 0.802 MB / 0.748 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5545, allocations: 4 kB / 0.748 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/0.555, allocations: 255.5 kB / 0.7483 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.5554, allocations: 91.88 kB / 0.7483 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.5588, allocations: 3.109 MB / 0.7514 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.5596, allocations: 91.81 kB / 0.7515 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.5596, allocations: 28 kB / 0.7515 GB, free: 3.344 MB / 0.5606 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005644/0.5602, allocations: 461.3 kB / 0.7519 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5603, allocations: 110.6 kB / 0.752 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.5615, allocations: 0.7622 MB / 0.7528 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5616, allocations: 7.938 kB / 0.7528 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5616, allocations: 4 kB / 0.7528 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5616, allocations: 8.109 kB / 0.7528 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.563, allocations: 1.166 MB / 0.7539 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.563, allocations: 3.938 kB / 0.7539 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.5633, allocations: 55.94 kB / 0.754 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.5638, allocations: 249.6 kB / 0.7542 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.5638, allocations: 11.95 kB / 0.7542 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008264/0.5646, allocations: 1.004 MB / 0.7552 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5646, allocations: 0 / 0.7552 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5658, allocations: 0.913 MB / 0.7561 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.5662, allocations: 223.8 kB / 0.7563 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.5663, allocations: 8 kB / 0.7563 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.5669, allocations: 71.77 kB / 0.7564 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.567, allocations: 35.91 kB / 0.7564 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.567, allocations: 12 kB / 0.7565 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009575/0.568, allocations: 0.8119 MB / 0.7572 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.11e-07/0.568, allocations: 7.938 kB / 0.7573 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00119/0.5692, allocations: 471.4 kB / 0.7577 GB, free: 12.75 MB / 0.5762 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003651/0.5696, allocations: 170.5 kB / 0.7579 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.5714, allocations: 1.143 MB / 0.759 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5714, allocations: 0 / 0.759 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.5719, allocations: 258.5 kB / 0.7592 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.5747, allocations: 0.6309 MB / 0.7598 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.5774, allocations: 1.988 MB / 0.7618 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007357/0.5782, allocations: 1.208 MB / 0.763 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009097/0.5791, allocations: 340.1 kB / 0.7633 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.5792, allocations: 67.42 kB / 0.7634 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.5792, allocations: 4 kB / 0.7634 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of Templates: time 0.02954/0.6088, allocations: 20.7 MB / 0.7836 GB, free: 2.41 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: