Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009011/0.000901, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005636/0.005636, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9684/0.9684, allocations: 132.3 MB / 423.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003687, allocations: 14.16 kB / 0.504 GB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4325, allocations: 81.57 MB / 0.5837 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1805/0.6131, allocations: 163.4 MB / 0.7432 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003947/0.6171, allocations: 2.197 MB / 0.7454 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/0.6177, allocations: 15.88 kB / 0.7454 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.6185, allocations: 206.9 kB / 0.7456 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.6204, allocations: 0.6225 MB / 0.7462 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.6218, allocations: 400.5 kB / 0.7466 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004547/0.6263, allocations: 3.795 MB / 0.7503 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.6299, allocations: 2.359 MB / 0.7526 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004097/0.634, allocations: 1.12 MB / 0.7537 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.6365, allocations: 0.8713 MB / 0.7545 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004738/0.637, allocations: 44 kB / 0.7546 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.6398, allocations: 0.8964 MB / 0.7554 GB, free: 4 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007205/0.6406, allocations: 326.8 kB / 0.7557 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.642, allocations: 0.5962 MB / 0.7563 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.6444, allocations: 1.577 MB / 0.7579 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6444, allocations: 0 / 0.7579 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.246e-06/0.6444, allocations: 0 / 0.7579 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.966e-05/0.6445, allocations: 7.938 kB / 0.7579 GB, free: 13.49 MB / 0.5919 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.002923/0.6474, allocations: 1.475 MB / 0.7593 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6475, allocations: 12.03 kB / 0.7593 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.6484, allocations: 198.3 kB / 0.7595 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.6499, allocations: 0.8773 MB / 0.7604 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.65, allocations: 53.31 kB / 0.7604 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.6502, allocations: 63.98 kB / 0.7605 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.6519, allocations: 1.003 MB / 0.7615 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.652, allocations: 0 / 0.7615 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.652, allocations: 24 kB / 0.7615 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.6521, allocations: 16 kB / 0.7615 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.6536, allocations: 0.8116 MB / 0.7623 GB, free: 8.77 MB / 0.5919 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.005067/0.6586, allocations: 4.804 MB / 0.767 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.6612, allocations: 4.02 MB / 0.7709 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.6618, allocations: 356.1 kB / 0.7712 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.6621, allocations: 186.5 kB / 0.7714 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.6626, allocations: 325.1 kB / 0.7717 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003541/0.663, allocations: 39.59 kB / 0.7718 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 2.876e-06/0.663, allocations: 0 / 0.7718 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.004803/0.6678, allocations: 1.61 MB / 0.7733 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.6679, allocations: 85.09 kB / 0.7734 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.6698, allocations: 1.184 MB / 0.7746 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.6699, allocations: 37.7 kB / 0.7746 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.6704, allocations: 0.5044 MB / 0.7751 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.6705, allocations: 134.2 kB / 0.7752 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.6706, allocations: 45.7 kB / 0.7753 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6707, allocations: 326 kB / 0.7756 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.6711, allocations: 236.9 kB / 0.7758 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.6718, allocations: 0.5581 MB / 0.7764 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.6729, allocations: 0.6958 MB / 0.777 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.6729, allocations: 7.938 kB / 0.777 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002505/0.6754, allocations: 1.119 MB / 0.7781 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.6757, allocations: 275.5 kB / 0.7784 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6757, allocations: 4 kB / 0.7784 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.677, allocations: 369.8 kB / 0.7788 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.6774, allocations: 107.8 kB / 0.7789 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.6785, allocations: 1.001 MB / 0.7798 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6795, allocations: 95.88 kB / 0.7799 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.6796, allocations: 27.98 kB / 0.78 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.6796, allocations: 4 kB / 0.78 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001438/0.6811, allocations: 0.787 MB / 0.7807 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6811, allocations: 4.625 kB / 0.7807 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.6817, allocations: 222.6 kB / 0.7809 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.6821, allocations: 111.8 kB / 0.7811 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.6856, allocations: 2.909 MB / 0.7839 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.6866, allocations: 95.81 kB / 0.784 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.6867, allocations: 20 kB / 0.784 GB, free: 0.7227 MB / 0.6075 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (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.0006057/0.6873, allocations: 487.3 kB / 0.7845 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.6875, allocations: 106.7 kB / 0.7846 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.689, allocations: 0.7854 MB / 0.7853 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.689, allocations: 8 kB / 0.7853 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.689, allocations: 4 kB / 0.7854 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.689, allocations: 0 / 0.7854 GB, free: 15.32 MB / 0.6231 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.003009/0.6921, allocations: 2.125 MB / 0.7874 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6921, allocations: 4 kB / 0.7874 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.6924, allocations: 83.81 kB / 0.7875 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.6928, allocations: 180.4 kB / 0.7877 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.6929, allocations: 8 kB / 0.7877 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007283/0.6936, allocations: 0.8605 MB / 0.7885 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6936, allocations: 0 / 0.7885 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.6949, allocations: 0.8549 MB / 0.7894 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.6954, allocations: 239.7 kB / 0.7896 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.6955, allocations: 11.94 kB / 0.7896 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.6963, allocations: 63.92 kB / 0.7897 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6964, allocations: 39.89 kB / 0.7897 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.6964, allocations: 12 kB / 0.7897 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001146/0.6976, allocations: 0.8327 MB / 0.7905 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6976, allocations: 0 / 0.7905 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001458/0.6991, allocations: 0.4992 MB / 0.791 GB, free: 9.285 MB / 0.6231 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 (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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004793/0.6995, allocations: 187.8 kB / 0.7912 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.7019, allocations: 1.158 MB / 0.7923 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7019, allocations: 0 / 0.7923 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.7024, allocations: 253.5 kB / 0.7926 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004047/0.7065, allocations: 0.6567 MB / 0.7932 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.7101, allocations: 2.197 MB / 0.7954 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/0.711, allocations: 1.209 MB / 0.7965 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001218/0.7123, allocations: 388.6 kB / 0.7969 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.7125, allocations: 67.44 kB / 0.797 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.7125, allocations: 7.875 kB / 0.797 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.3308/1.043, allocations: 21.35 MB / 0.8178 GB, free: 217.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)