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/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.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.0009548/0.0009548, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0008495/0.0008495, allocations: 168.7 kB / 15.95 MB, free: 208 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.278/1.278, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7193/0.7193, allocations: 132.4 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 11.98 kB / 0.5034 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3407, allocations: 81.59 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1528/0.4935, allocations: 152.4 MB / 0.7319 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.4984, allocations: 3.784 MB / 0.7356 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.4988, allocations: 15.88 kB / 0.7356 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.4993, allocations: 162.9 kB / 0.7358 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.5005, allocations: 0.4976 MB / 0.7363 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.5016, allocations: 408.8 kB / 0.7367 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.5047, allocations: 3.264 MB / 0.7399 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.5072, allocations: 2.297 MB / 0.7421 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.5088, allocations: 1.062 MB / 0.7431 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.5097, allocations: 0.8404 MB / 0.744 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/0.5098, allocations: 48 kB / 0.744 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5108, allocations: 0.5925 MB / 0.7446 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.5111, allocations: 338.8 kB / 0.7449 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.5113, allocations: 249.1 kB / 0.7451 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.5124, allocations: 1.177 MB / 0.7463 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5124, allocations: 0 / 0.7463 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5124, allocations: 0 / 0.7463 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.5124, allocations: 0 / 0.7463 GB, free: 9.043 MB / 0.5762 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.002204/0.5146, allocations: 1.526 MB / 0.7478 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.5147, allocations: 11.97 kB / 0.7478 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007082/0.5154, allocations: 202.3 kB / 0.748 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.5167, allocations: 0.8719 MB / 0.7488 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.5168, allocations: 49.31 kB / 0.7489 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.5169, allocations: 64 kB / 0.7489 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.5182, allocations: 0.9986 MB / 0.7499 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.5183, allocations: 7.938 kB / 0.7499 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.5183, allocations: 20 kB / 0.7499 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.5184, allocations: 16 kB / 0.75 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.5196, allocations: 0.8076 MB / 0.7507 GB, free: 4.285 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 preOpt removeSimpleEquations (simulation): time 0.003949/0.5235, allocations: 4.796 MB / 0.7554 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.5256, allocations: 4.024 MB / 0.7594 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.5261, allocations: 350 kB / 0.7597 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.5264, allocations: 194.5 kB / 0.7599 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.5269, allocations: 333 kB / 0.7602 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001719/0.527, allocations: 39.62 kB / 0.7602 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.5271, allocations: 0 / 0.7602 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.004448/0.5315, allocations: 1.744 MB / 0.7619 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.5316, allocations: 93.08 kB / 0.762 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.5328, allocations: 1.185 MB / 0.7632 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.5329, allocations: 33.7 kB / 0.7632 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.5333, allocations: 0.5198 MB / 0.7637 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/0.5334, allocations: 126.3 kB / 0.7638 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.5334, allocations: 8 kB / 0.7639 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.5335, allocations: 322 kB / 0.7642 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.5339, allocations: 209 kB / 0.7644 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.5344, allocations: 0.5386 MB / 0.7649 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.5348, allocations: 311.3 kB / 0.7652 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5349, allocations: 7.953 kB / 0.7652 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001984/0.5369, allocations: 1.079 MB / 0.7662 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.537, allocations: 279.5 kB / 0.7665 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.537, allocations: 8 kB / 0.7665 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.5382, allocations: 372.4 kB / 0.7669 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.5385, allocations: 76.11 kB / 0.7669 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009573/0.5394, allocations: 1.055 MB / 0.768 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/0.5402, allocations: 95.86 kB / 0.7681 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.5402, allocations: 31.98 kB / 0.7681 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.5402, allocations: 2.344 kB / 0.7681 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/0.5415, allocations: 0.8221 MB / 0.7689 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5416, allocations: 4 kB / 0.7689 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.5421, allocations: 265.3 kB / 0.7692 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.5424, allocations: 71.83 kB / 0.7692 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.5457, allocations: 3.13 MB / 0.7723 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.5464, allocations: 107.7 kB / 0.7724 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.5465, allocations: 24 kB / 0.7724 GB, free: 12.38 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 ($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.0004284/0.5469, allocations: 476.1 kB / 0.7729 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.547, allocations: 110.6 kB / 0.773 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.5483, allocations: 0.8281 MB / 0.7738 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5483, allocations: 8 kB / 0.7738 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.5483, allocations: 0 / 0.7738 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5484, allocations: 0 / 0.7738 GB, free: 10.95 MB / 0.6075 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.002548/0.5509, allocations: 2.156 MB / 0.7759 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5509, allocations: 4 kB / 0.7759 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.5511, allocations: 47.89 kB / 0.7759 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.5516, allocations: 204.9 kB / 0.7761 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.5516, allocations: 12 kB / 0.7761 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006908/0.5523, allocations: 0.884 MB / 0.777 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5523, allocations: 4.031 kB / 0.777 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5534, allocations: 0.8784 MB / 0.7779 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.5537, allocations: 247.6 kB / 0.7781 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.5538, allocations: 11.98 kB / 0.7781 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.5544, allocations: 75.77 kB / 0.7782 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.5545, allocations: 27.95 kB / 0.7782 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.5545, allocations: 16 kB / 0.7782 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009312/0.5555, allocations: 0.8289 MB / 0.779 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5555, allocations: 7.938 kB / 0.7791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001161/0.5566, allocations: 0.5033 MB / 0.7795 GB, free: 4.816 MB / 0.6075 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.0003405/0.557, allocations: 173.4 kB / 0.7797 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.5587, allocations: 1.143 MB / 0.7808 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5587, allocations: 0 / 0.7808 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.5592, allocations: 261.1 kB / 0.7811 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.5619, allocations: 0.6629 MB / 0.7817 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.5645, allocations: 2.105 MB / 0.7838 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.5652, allocations: 1.216 MB / 0.785 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008749/0.5661, allocations: 332.6 kB / 0.7853 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5662, allocations: 67.42 kB / 0.7853 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.5662, allocations: 0 / 0.7853 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.03039/0.5966, allocations: 21.11 MB / 0.806 GB, free: 9.957 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (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)