Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002742/0.002741, allocations: 361.2 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.734/3.734, allocations: 388.9 MB / 405.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00366/0.00366, allocations: 232.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6671/0.6671, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.98/8.089, allocations: 2.618 GB / 3.298 GB, free: 25.33 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/8.089, allocations: 98.55 kB / 3.298 GB, free: 25.28 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.673/10.76, allocations: 418.4 MB / 3.707 GB, free: 52.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.148e-06/10.76, allocations: 5.484 kB / 3.707 GB, free: 52.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.642e-05/10.76, allocations: 17.56 kB / 3.707 GB, free: 52.78 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.01159/10.77, allocations: 1.842 MB / 3.708 GB, free: 52.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.218e-05/10.77, allocations: 7.844 kB / 3.708 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007002/10.78, allocations: 358.8 kB / 3.709 GB, free: 52.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/10.78, allocations: 0.5828 MB / 3.709 GB, free: 51.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/10.78, allocations: 48 kB / 3.709 GB, free: 51.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/10.78, allocations: 61.42 kB / 3.709 GB, free: 51.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006872/10.79, allocations: 1.01 MB / 3.71 GB, free: 51.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-05/10.79, allocations: 2.719 kB / 3.71 GB, free: 51.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004716/10.79, allocations: 34.23 kB / 3.71 GB, free: 51.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/10.79, allocations: 26.58 kB / 3.71 GB, free: 51.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/10.8, allocations: 0.9094 MB / 3.711 GB, free: 51.62 MB / 490.7 MB 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.007959/10.8, allocations: 4.841 MB / 3.716 GB, free: 48.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/10.81, allocations: 0.756 MB / 3.717 GB, free: 48.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/10.81, allocations: 282.7 kB / 3.717 GB, free: 48.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07817/10.89, allocations: 21.63 MB / 3.738 GB, free: 34.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/10.89, allocations: 42.31 kB / 3.738 GB, free: 34.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 4.769e-06/10.89, allocations: 3.312 kB / 3.738 GB, free: 34.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.05082/10.94, allocations: 4.534 MB / 3.743 GB, free: 33.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/10.94, allocations: 110.2 kB / 3.743 GB, free: 33.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/10.94, allocations: 496.5 kB / 3.743 GB, free: 33.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002121/10.94, allocations: 39.98 kB / 3.743 GB, free: 33.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/10.94, allocations: 350.5 kB / 3.744 GB, free: 33.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/10.94, allocations: 212.5 kB / 3.744 GB, free: 33.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/10.94, allocations: 13.12 kB / 3.744 GB, free: 33.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/10.94, allocations: 374.9 kB / 3.744 GB, free: 32.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/10.94, allocations: 387.8 kB / 3.745 GB, free: 32.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/10.94, allocations: 0.5998 MB / 3.745 GB, free: 32.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/10.95, allocations: 440.9 kB / 3.746 GB, free: 32.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/10.95, allocations: 6.594 kB / 3.746 GB, free: 32.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004961/10.95, allocations: 1.292 MB / 3.747 GB, free: 32.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/10.95, allocations: 274.9 kB / 3.747 GB, free: 32.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/10.95, allocations: 7.094 kB / 3.747 GB, free: 32.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/10.96, allocations: 1.111 MB / 3.748 GB, free: 32.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/10.96, allocations: 169.1 kB / 3.748 GB, free: 32.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/10.97, allocations: 1.732 MB / 3.75 GB, free: 31.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/10.97, allocations: 103.7 kB / 3.75 GB, free: 31.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/10.97, allocations: 48.41 kB / 3.75 GB, free: 31.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/10.97, allocations: 7.156 kB / 3.75 GB, free: 31.22 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005147/10.97, allocations: 1.237 MB / 3.751 GB, free: 31.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/10.97, allocations: 11.59 kB / 3.751 GB, free: 31.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005874/10.98, allocations: 0.7274 MB / 3.752 GB, free: 31.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/10.98, allocations: 169.6 kB / 3.752 GB, free: 31.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/10.98, allocations: 1.689 MB / 3.754 GB, free: 30.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/10.99, allocations: 103.8 kB / 3.754 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/10.99, allocations: 43.73 kB / 3.754 GB, free: 30.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006154/10.99, allocations: 301.1 kB / 3.754 GB, free: 29.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/10.99, allocations: 67.53 kB / 3.754 GB, free: 29.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00793/10.99, allocations: 3.89 MB / 3.758 GB, free: 29.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.323e-05/11, allocations: 46.11 kB / 3.758 GB, free: 29.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/11, allocations: 0 / 3.758 GB, free: 29.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/11, allocations: 3.234 kB / 3.758 GB, free: 29.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/11.01, allocations: 5.22 MB / 3.763 GB, free: 29.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/11.01, allocations: 3.719 kB / 3.763 GB, free: 29.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/11.01, allocations: 120.8 kB / 3.763 GB, free: 29.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008479/11.02, allocations: 1.718 MB / 3.765 GB, free: 28.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/11.02, allocations: 27.36 kB / 3.765 GB, free: 28.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004159/11.02, allocations: 2.41 MB / 3.767 GB, free: 27.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/11.02, allocations: 3.031 kB / 3.767 GB, free: 27.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005838/11.03, allocations: 2.633 MB / 3.77 GB, free: 27.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007492/11.03, allocations: 353.8 kB / 3.77 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/11.03, allocations: 19.09 kB / 3.77 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/11.03, allocations: 96.81 kB / 3.771 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/11.03, allocations: 60.98 kB / 3.771 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/11.03, allocations: 36.62 kB / 3.771 GB, free: 27.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007252/11.03, allocations: 429.1 kB / 3.771 GB, free: 27.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/11.03, allocations: 1.875 kB / 3.771 GB, free: 27.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00741/11.04, allocations: 1.582 MB / 3.773 GB, free: 27.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01305/11.05, allocations: 1.844 MB / 3.774 GB, free: 26.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008033/11.06, allocations: 2.076 MB / 3.776 GB, free: 26.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/11.06, allocations: 3 kB / 3.776 GB, free: 26.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003021/11.06, allocations: 1.132 MB / 3.778 GB, free: 26.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/11.06, allocations: 308.3 kB / 3.778 GB, free: 26.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/11.17, allocations: 40.88 MB / 3.818 GB, free: 23.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/11.17, allocations: 1.184 MB / 3.819 GB, free: 23.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001927/11.18, allocations: 0.6754 MB / 3.82 GB, free: 23.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/11.18, allocations: 63.11 kB / 3.82 GB, free: 23.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/11.18, allocations: 0 / 3.82 GB, free: 23.14 MB / 490.7 MB Notification: Performance of Templates: time 0.1165/11.29, allocations: 55.55 MB / 3.874 GB, free: 15.52 MB / 0.4949 GB