Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002671/0.002675, allocations: 350.6 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.497/3.497, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003546/0.003546, allocations: 214.1 kB / 397.9 MB, free: 4.973 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.4788/0.4788, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004797, allocations: 19.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09241, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9724/1.065, allocations: 309.6 MB / 0.9091 GB, free: 7.246 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.065, allocations: 92.7 kB / 0.9092 GB, free: 7.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8521/1.917, allocations: 162 MB / 1.067 GB, free: 18.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.696e-06/1.917, allocations: 0 / 1.067 GB, free: 18.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001321/1.918, allocations: 20 kB / 1.067 GB, free: 18.34 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.006399/1.924, allocations: 1.146 MB / 1.069 GB, free: 17.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.924, allocations: 8.031 kB / 1.069 GB, free: 17.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.925, allocations: 98.97 kB / 1.069 GB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/1.928, allocations: 0.64 MB / 1.069 GB, free: 16.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/1.928, allocations: 37.31 kB / 1.069 GB, free: 16.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/1.929, allocations: 52 kB / 1.069 GB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/1.932, allocations: 0.8329 MB / 1.07 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/1.932, allocations: 0 / 1.07 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/1.933, allocations: 24 kB / 1.07 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.596e-05/1.933, allocations: 32.92 kB / 1.07 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004211/1.937, allocations: 0.7806 MB / 1.071 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/1.947, allocations: 3.261 MB / 1.074 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/1.95, allocations: 487.3 kB / 1.075 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.952, allocations: 310.1 kB / 1.075 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/1.952, allocations: 0.57 MB / 1.075 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/1.953, allocations: 42.56 kB / 1.075 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001771/1.954, allocations: 123.4 kB / 1.076 GB, free: 9.457 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 5.581e-06/1.954, allocations: 4 kB / 1.076 GB, free: 9.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.1032/2.058, allocations: 7.864 MB / 1.083 GB, free: 1.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/2.058, allocations: 111.5 kB / 1.083 GB, free: 1.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000908/2.059, allocations: 0.5625 MB / 1.084 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/2.059, allocations: 41.7 kB / 1.084 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/2.059, allocations: 379.6 kB / 1.084 GB, free: 316 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/2.059, allocations: 248.4 kB / 1.085 GB, free: 64 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/2.06, allocations: 16 kB / 1.085 GB, free: 48 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.299/2.359, allocations: 376.1 kB / 1.085 GB, free: 74.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002557/2.361, allocations: 496.5 kB / 1.085 GB, free: 74.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/2.364, allocations: 0.742 MB / 1.086 GB, free: 74.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/2.366, allocations: 0.5487 MB / 1.087 GB, free: 74.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/2.366, allocations: 2.328 kB / 1.087 GB, free: 74.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006542/2.373, allocations: 1.538 MB / 1.088 GB, free: 74.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/2.373, allocations: 311.9 kB / 1.088 GB, free: 74.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/2.373, allocations: 6.719 kB / 1.089 GB, free: 74.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01489/2.388, allocations: 1.389 MB / 1.09 GB, free: 74.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/2.39, allocations: 258.6 kB / 1.09 GB, free: 74.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/2.394, allocations: 1.677 MB / 1.092 GB, free: 73.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/2.397, allocations: 119.4 kB / 1.092 GB, free: 73.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/2.397, allocations: 64.2 kB / 1.092 GB, free: 73.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/2.397, allocations: 7.719 kB / 1.092 GB, free: 73.18 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006667/2.404, allocations: 1.442 MB / 1.093 GB, free: 73.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/2.404, allocations: 11.41 kB / 1.093 GB, free: 73.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004477/2.408, allocations: 0.5085 MB / 1.094 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/2.411, allocations: 270.7 kB / 1.094 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005494/2.416, allocations: 2.73 MB / 1.097 GB, free: 71.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/2.418, allocations: 125 kB / 1.097 GB, free: 71.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/2.418, allocations: 58.84 kB / 1.097 GB, free: 71.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * 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 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007222/2.419, allocations: 308.9 kB / 1.097 GB, free: 71.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/2.419, allocations: 80.14 kB / 1.097 GB, free: 71.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008821/2.428, allocations: 1.871 MB / 1.099 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/2.428, allocations: 14.92 kB / 1.099 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/2.428, allocations: 3.562 kB / 1.099 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/2.428, allocations: 7.219 kB / 1.099 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/2.441, allocations: 2.866 MB / 1.102 GB, free: 70.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/2.441, allocations: 2.531 kB / 1.102 GB, free: 70.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/2.442, allocations: 180.5 kB / 1.102 GB, free: 70.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01131/2.453, allocations: 1.276 MB / 1.103 GB, free: 70.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/2.454, allocations: 29.22 kB / 1.103 GB, free: 70.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/2.456, allocations: 1.594 MB / 1.105 GB, free: 69.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.456, allocations: 2.25 kB / 1.105 GB, free: 69.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/2.467, allocations: 2.267 MB / 1.107 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007492/2.468, allocations: 253.9 kB / 1.107 GB, free: 69.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/2.468, allocations: 14.98 kB / 1.107 GB, free: 69.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/2.47, allocations: 116.7 kB / 1.108 GB, free: 69.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/2.47, allocations: 69.44 kB / 1.108 GB, free: 69.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/2.47, allocations: 37.17 kB / 1.108 GB, free: 69.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007135/2.471, allocations: 388.7 kB / 1.108 GB, free: 69.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.471, allocations: 0 / 1.108 GB, free: 69.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003501/2.474, allocations: 0.6821 MB / 1.109 GB, free: 69.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002263/2.477, allocations: 0.5772 MB / 1.109 GB, free: 68.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01141/2.488, allocations: 2.143 MB / 1.111 GB, free: 68.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/2.488, allocations: 3.438 kB / 1.111 GB, free: 68.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/2.491, allocations: 0.6664 MB / 1.112 GB, free: 68.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/2.494, allocations: 315.3 kB / 1.112 GB, free: 68.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/2.5, allocations: 2.102 MB / 1.114 GB, free: 68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/2.5, allocations: 0.9982 MB / 1.115 GB, free: 67.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002014/2.502, allocations: 253.9 kB / 1.116 GB, free: 67.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/2.503, allocations: 90.02 kB / 1.116 GB, free: 67.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/2.503, allocations: 6.391 kB / 1.116 GB, free: 67.27 MB / 426.7 MB Notification: Performance of Templates: time 0.0682/2.571, allocations: 27.95 MB / 1.143 GB, free: 66.06 MB / 426.7 MB