Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003803/0.003802, allocations: 348 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.693/3.693, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005587/0.005587, allocations: 230.1 kB / 397.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5004/0.5004, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.0978, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.719/7.817, allocations: 2.502 GB / 3.109 GB, free: 22.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/7.817, allocations: 89.52 kB / 3.109 GB, free: 22.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375/10.19, allocations: 409.2 MB / 3.508 GB, free: 44.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/10.19, allocations: 1.125 kB / 3.508 GB, free: 44.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.691e-05/10.19, allocations: 18.08 kB / 3.508 GB, free: 44.04 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008399/10.2, allocations: 1.785 MB / 3.51 GB, free: 43.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/10.2, allocations: 12.23 kB / 3.51 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/10.2, allocations: 311 kB / 3.511 GB, free: 43.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/10.21, allocations: 0.5832 MB / 3.511 GB, free: 43.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/10.21, allocations: 50.12 kB / 3.511 GB, free: 43.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/10.21, allocations: 53.61 kB / 3.511 GB, free: 43.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/10.21, allocations: 0.9997 MB / 3.512 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/10.21, allocations: 4.312 kB / 3.512 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/10.21, allocations: 30.89 kB / 3.512 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/10.21, allocations: 25.56 kB / 3.512 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/10.21, allocations: 0.896 MB / 3.513 GB, free: 42.81 MB / 442.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.00737/10.22, allocations: 4.706 MB / 3.518 GB, free: 39.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003533/10.23, allocations: 0.6852 MB / 3.518 GB, free: 39.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/10.23, allocations: 268.3 kB / 3.519 GB, free: 39.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06469/10.29, allocations: 21.33 MB / 3.539 GB, free: 25.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/10.29, allocations: 41.84 kB / 3.54 GB, free: 25.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.087e-06/10.29, allocations: 1.781 kB / 3.54 GB, free: 25.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.04896/10.34, allocations: 4.474 MB / 3.544 GB, free: 25.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/10.34, allocations: 107.3 kB / 3.544 GB, free: 25.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009468/10.34, allocations: 0.4884 MB / 3.544 GB, free: 25.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/10.34, allocations: 42.55 kB / 3.544 GB, free: 25.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/10.34, allocations: 344.6 kB / 3.545 GB, free: 24.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/10.34, allocations: 205.7 kB / 3.545 GB, free: 24.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/10.34, allocations: 13.53 kB / 3.545 GB, free: 24.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/10.34, allocations: 366 kB / 3.545 GB, free: 24.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/10.34, allocations: 391.7 kB / 3.546 GB, free: 24.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/10.35, allocations: 0.5855 MB / 3.546 GB, free: 24.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/10.35, allocations: 441.1 kB / 3.547 GB, free: 24.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/10.35, allocations: 1.188 kB / 3.547 GB, free: 24.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004875/10.35, allocations: 1.27 MB / 3.548 GB, free: 24.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/10.35, allocations: 272.7 kB / 3.548 GB, free: 23.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/10.35, allocations: 9.375 kB / 3.548 GB, free: 23.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009848/10.36, allocations: 1.107 MB / 3.549 GB, free: 23.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/10.36, allocations: 166.7 kB / 3.55 GB, free: 23.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/10.37, allocations: 1.728 MB / 3.551 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/10.37, allocations: 106.1 kB / 3.551 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/10.37, allocations: 47.09 kB / 3.551 GB, free: 22.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/10.37, allocations: 3.781 kB / 3.551 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004947/10.37, allocations: 1.198 MB / 3.553 GB, free: 22.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/10.37, allocations: 3.719 kB / 3.553 GB, free: 22.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005817/10.38, allocations: 0.7351 MB / 3.553 GB, free: 22.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/10.38, allocations: 161.8 kB / 3.553 GB, free: 22.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/10.39, allocations: 1.685 MB / 3.555 GB, free: 21.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/10.39, allocations: 101.6 kB / 3.555 GB, free: 21.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/10.39, allocations: 47.81 kB / 3.555 GB, free: 21.53 MB / 442.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 (66): * Single equations (assignments): 64 * 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.0006653/10.39, allocations: 310.5 kB / 3.555 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/10.39, allocations: 62.56 kB / 3.556 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008143/10.4, allocations: 3.831 MB / 3.559 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.156e-05/10.4, allocations: 45.98 kB / 3.559 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/10.4, allocations: 0 / 3.559 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/10.4, allocations: 7.562 kB / 3.559 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/10.41, allocations: 5.128 MB / 3.564 GB, free: 20.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/10.41, allocations: 3.312 kB / 3.564 GB, free: 20.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/10.41, allocations: 104.1 kB / 3.564 GB, free: 20.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008692/10.42, allocations: 1.738 MB / 3.566 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/10.42, allocations: 25.56 kB / 3.566 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/10.42, allocations: 2.405 MB / 3.569 GB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/10.42, allocations: 0 / 3.569 GB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006012/10.43, allocations: 2.608 MB / 3.571 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00076/10.43, allocations: 353.9 kB / 3.571 GB, free: 18.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/10.43, allocations: 11.56 kB / 3.571 GB, free: 18.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/10.43, allocations: 101.5 kB / 3.571 GB, free: 18.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/10.43, allocations: 57.45 kB / 3.572 GB, free: 18.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/10.43, allocations: 35.58 kB / 3.572 GB, free: 18.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007564/10.43, allocations: 429.2 kB / 3.572 GB, free: 18.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.43, allocations: 0 / 3.572 GB, free: 18.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007917/10.44, allocations: 1.55 MB / 3.574 GB, free: 18.42 MB / 442.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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (47): * Single equations (assignments): 36 * 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.01251/10.45, allocations: 1.834 MB / 3.575 GB, free: 17.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007675/10.46, allocations: 2.036 MB / 3.577 GB, free: 17.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/10.46, allocations: 3.938 kB / 3.577 GB, free: 17.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003122/10.46, allocations: 1.134 MB / 3.578 GB, free: 17.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/10.47, allocations: 304.1 kB / 3.579 GB, free: 17.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/10.57, allocations: 40.59 MB / 3.618 GB, free: 7.938 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/10.57, allocations: 1.183 MB / 3.619 GB, free: 7.211 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001888/10.57, allocations: 0.65 MB / 3.62 GB, free: 7.168 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/10.57, allocations: 63.97 kB / 3.62 GB, free: 7.16 MB / 442.7 MB Notification: Performance of SimCode: time 2.755e-06/10.57, allocations: 0 / 3.62 GB, free: 7.16 MB / 442.7 MB Notification: Performance of Templates: time 0.4569/11.03, allocations: 55.18 MB / 3.674 GB, free: 57.07 MB / 458.7 MB