Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 91.38 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.005974/0.005974, allocations: 171.5 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003309, allocations: 9.188 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4332, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1872/0.6205, allocations: 157.3 MB / 0.7373 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.6237, allocations: 1.763 MB / 0.739 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.6241, allocations: 7.938 kB / 0.739 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.6248, allocations: 131.2 kB / 0.7391 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.6265, allocations: 0.4941 MB / 0.7396 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.6277, allocations: 356.4 kB / 0.74 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003541/0.6312, allocations: 3.499 MB / 0.7434 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.6339, allocations: 2.215 MB / 0.7455 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.6358, allocations: 0.8985 MB / 0.7464 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.6373, allocations: 0.7078 MB / 0.7471 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.6376, allocations: 36 kB / 0.7471 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.6397, allocations: 0.799 MB / 0.7479 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004532/0.6402, allocations: 282.9 kB / 0.7482 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009443/0.6411, allocations: 0.53 MB / 0.7487 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.6432, allocations: 1.382 MB / 0.7501 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6432, allocations: 4 kB / 0.7501 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.245e-06/0.6432, allocations: 0 / 0.7501 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.086e-05/0.6433, allocations: 0 / 0.7501 GB, free: 5.453 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002489/0.6458, allocations: 1.292 MB / 0.7513 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6458, allocations: 8.031 kB / 0.7513 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009265/0.6468, allocations: 190.4 kB / 0.7515 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.6482, allocations: 0.8177 MB / 0.7523 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.6483, allocations: 41 kB / 0.7523 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.6484, allocations: 60 kB / 0.7524 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.6497, allocations: 0.8239 MB / 0.7532 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.6497, allocations: 7.938 kB / 0.7532 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.6498, allocations: 20 kB / 0.7532 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.6498, allocations: 16 kB / 0.7533 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009587/0.6508, allocations: 0.5773 MB / 0.7538 GB, free: 1.418 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.003994/0.6548, allocations: 4.25 MB / 0.758 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.6556, allocations: 458.1 kB / 0.7584 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.6561, allocations: 345.8 kB / 0.7587 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.6564, allocations: 198.2 kB / 0.7589 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/0.6569, allocations: 327.1 kB / 0.7592 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002382/0.6572, allocations: 35.53 kB / 0.7593 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.6572, allocations: 0 / 0.7593 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.004968/0.6621, allocations: 1.581 MB / 0.7608 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.6622, allocations: 89.03 kB / 0.7609 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.6637, allocations: 1.151 MB / 0.762 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/0.6638, allocations: 33.7 kB / 0.7621 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.6642, allocations: 496.4 kB / 0.7625 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.753e-05/0.6643, allocations: 118.3 kB / 0.7626 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.6644, allocations: 45.69 kB / 0.7627 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6645, allocations: 326 kB / 0.763 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.6649, allocations: 232.9 kB / 0.7632 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.6657, allocations: 0.5462 MB / 0.7637 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.6667, allocations: 0.6908 MB / 0.7644 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6667, allocations: 0 / 0.7644 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002487/0.6692, allocations: 1.119 MB / 0.7655 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.6694, allocations: 273.2 kB / 0.7658 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.6694, allocations: 15.94 kB / 0.7658 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.6709, allocations: 422.4 kB / 0.7662 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.6713, allocations: 99.81 kB / 0.7663 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.6728, allocations: 1.107 MB / 0.7674 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000964/0.6738, allocations: 79.83 kB / 0.7674 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.6739, allocations: 27.98 kB / 0.7675 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.6739, allocations: 4 kB / 0.7675 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001571/0.6755, allocations: 0.7874 MB / 0.7682 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.6755, allocations: 11.98 kB / 0.7683 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/0.6761, allocations: 226.9 kB / 0.7685 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.6765, allocations: 99.86 kB / 0.7686 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/0.6805, allocations: 3.057 MB / 0.7716 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.6816, allocations: 75.97 kB / 0.7716 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.6816, allocations: 24 kB / 0.7716 GB, free: 14.25 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 (35): * Single equations (assignments): 33 * 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007215/0.6824, allocations: 466.3 kB / 0.7721 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.6827, allocations: 114.6 kB / 0.7722 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.6843, allocations: 0.7811 MB / 0.773 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6843, allocations: 4 kB / 0.773 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.6843, allocations: 4 kB / 0.773 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6843, allocations: 0 / 0.773 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.6874, allocations: 1.74 MB / 0.7747 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6874, allocations: 8.156 kB / 0.7747 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.6877, allocations: 59.94 kB / 0.7747 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005756/0.6882, allocations: 271.1 kB / 0.775 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.6883, allocations: 11.98 kB / 0.775 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.6894, allocations: 1.04 MB / 0.776 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6894, allocations: 4 kB / 0.776 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.6909, allocations: 0.9024 MB / 0.7769 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.6914, allocations: 231.8 kB / 0.7771 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.6916, allocations: 8 kB / 0.7771 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.6924, allocations: 55.84 kB / 0.7772 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6925, allocations: 39.89 kB / 0.7772 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.6925, allocations: 8 kB / 0.7772 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001274/0.6938, allocations: 0.8119 MB / 0.778 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6938, allocations: 0 / 0.778 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001636/0.6954, allocations: 471.5 kB / 0.7785 GB, free: 7.059 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 (13): * Single equations (assignments): 10 * 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004588/0.6959, allocations: 184.2 kB / 0.7787 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002881/0.6988, allocations: 1.288 MB / 0.7799 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6988, allocations: 4 kB / 0.7799 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007055/0.6995, allocations: 309 kB / 0.7802 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/0.7033, allocations: 0.6203 MB / 0.7808 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.7068, allocations: 2.187 MB / 0.783 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000854/0.7077, allocations: 1.181 MB / 0.7841 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001065/0.7088, allocations: 316.4 kB / 0.7844 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.709, allocations: 71.44 kB / 0.7845 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.709, allocations: 0 / 0.7845 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of Templates: time 0.03797/0.747, allocations: 20.92 MB / 0.8049 GB, free: 12.16 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)