Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008735/0.0008733, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.0009554/0.0009555, allocations: 173.3 kB / 15.95 MB, free: 212 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.211/1.211, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8655/0.8655, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003167, allocations: 11.38 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.3788/0.5305, allocations: 140.5 MB / 0.7244 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003496/0.534, allocations: 2.151 MB / 0.7265 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.5343, allocations: 16.41 kB / 0.7265 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.535, allocations: 236.6 kB / 0.7267 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.5366, allocations: 0.6951 MB / 0.7274 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.5378, allocations: 455.9 kB / 0.7278 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.5397, allocations: 1.631 MB / 0.7294 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.5425, allocations: 2.318 MB / 0.7317 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.5441, allocations: 0.8618 MB / 0.7325 GB, free: 4.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.5448, allocations: 0.5968 MB / 0.7331 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.448e-05/0.5449, allocations: 49.19 kB / 0.7332 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.5461, allocations: 0.6295 MB / 0.7338 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.5464, allocations: 299.3 kB / 0.7341 GB, free: 4.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.5467, allocations: 245.5 kB / 0.7343 GB, free: 3.906 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.5477, allocations: 1.179 MB / 0.7354 GB, free: 3.633 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5477, allocations: 0 / 0.7354 GB, free: 3.633 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5478, allocations: 0 / 0.7354 GB, free: 3.633 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.5478, allocations: 0 / 0.7354 GB, free: 3.633 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002321/0.5501, allocations: 1.513 MB / 0.7369 GB, free: 2.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.5501, allocations: 9.188 kB / 0.7369 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/0.5508, allocations: 205.5 kB / 0.7371 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.5523, allocations: 0.874 MB / 0.738 GB, free: 1.988 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.5524, allocations: 45.31 kB / 0.738 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.885e-05/0.5525, allocations: 64 kB / 0.7381 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.5538, allocations: 0.992 MB / 0.7391 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.5538, allocations: 0 / 0.7391 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.5539, allocations: 28 kB / 0.7391 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.5539, allocations: 12 kB / 0.7391 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.5551, allocations: 0.8054 MB / 0.7399 GB, free: 248 kB / 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.004763/0.5599, allocations: 4.816 MB / 0.7446 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.5622, allocations: 4.026 MB / 0.7485 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.163e-05/0.5623, allocations: 16.27 kB / 0.7485 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.5628, allocations: 333.9 kB / 0.7488 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002994/0.5631, allocations: 35.69 kB / 0.7489 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.687e-06/0.5631, allocations: 0 / 0.7489 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.004274/0.5674, allocations: 1.596 MB / 0.7504 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.5674, allocations: 114.7 kB / 0.7505 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.5688, allocations: 1.177 MB / 0.7517 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.5688, allocations: 37.7 kB / 0.7517 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.5692, allocations: 0.5122 MB / 0.7522 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.5693, allocations: 118.3 kB / 0.7523 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.5694, allocations: 8 kB / 0.7524 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5695, allocations: 330 kB / 0.7527 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.5698, allocations: 209 kB / 0.7529 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.5704, allocations: 0.5298 MB / 0.7534 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.5708, allocations: 323.4 kB / 0.7537 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5708, allocations: 4 kB / 0.7537 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002021/0.5729, allocations: 1.033 MB / 0.7547 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007144/0.5736, allocations: 2.146 MB / 0.7568 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.5736, allocations: 8 kB / 0.7568 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.5748, allocations: 328.5 kB / 0.7571 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.5752, allocations: 107.8 kB / 0.7572 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009426/0.5761, allocations: 1.008 MB / 0.7582 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008763/0.577, allocations: 103.8 kB / 0.7583 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.5771, allocations: 28 kB / 0.7583 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.5771, allocations: 7.984 kB / 0.7583 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001259/0.5783, allocations: 0.7789 MB / 0.7591 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5783, allocations: 4 kB / 0.7591 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.5788, allocations: 234.3 kB / 0.7593 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.5792, allocations: 104.1 kB / 0.7594 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.5824, allocations: 3.004 MB / 0.7624 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/0.5833, allocations: 91.81 kB / 0.7625 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.5834, allocations: 27.98 kB / 0.7625 GB, free: 7.336 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 (38): * Single equations (assignments): 36 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005749/0.584, allocations: 480.7 kB / 0.7629 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5841, allocations: 106.7 kB / 0.763 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.5853, allocations: 0.7685 MB / 0.7638 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5853, allocations: 8 kB / 0.7638 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5853, allocations: 3.953 kB / 0.7638 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5853, allocations: 0 / 0.7638 GB, free: 5.961 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.00267/0.588, allocations: 2.198 MB / 0.7659 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.588, allocations: 0 / 0.7659 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.5883, allocations: 84.08 kB / 0.766 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/0.5887, allocations: 168.7 kB / 0.7662 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.5887, allocations: 12 kB / 0.7662 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006382/0.5893, allocations: 0.8566 MB / 0.767 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5894, allocations: 4.031 kB / 0.767 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.5905, allocations: 0.9446 MB / 0.768 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.5908, allocations: 239.7 kB / 0.7682 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.591, allocations: 15.92 kB / 0.7682 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006926/0.5917, allocations: 79.77 kB / 0.7683 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.5917, allocations: 31.95 kB / 0.7683 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.5918, allocations: 8 kB / 0.7683 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009303/0.5927, allocations: 0.8288 MB / 0.7691 GB, free: 236 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5927, allocations: 0 / 0.7691 GB, free: 236 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001235/0.5939, allocations: 0.5032 MB / 0.7696 GB, free: 15.72 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 (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003866/0.5943, allocations: 199.4 kB / 0.7698 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.5962, allocations: 1.129 MB / 0.7709 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5962, allocations: 4.188 kB / 0.7709 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.5966, allocations: 255.7 kB / 0.7712 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.5994, allocations: 0.6539 MB / 0.7718 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.6019, allocations: 2.094 MB / 0.7738 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.6026, allocations: 1.232 MB / 0.775 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009222/0.6036, allocations: 364.4 kB / 0.7754 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.6037, allocations: 63.44 kB / 0.7755 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.6037, allocations: 0 / 0.7755 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of Templates: time 0.03177/0.6355, allocations: 20.82 MB / 0.7958 GB, free: 5.094 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: