Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.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.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004254/0.004261, allocations: 360.7 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.959/3.959, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.004724/0.004724, allocations: 231.2 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.502/0.502, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005161/0.0005163, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1079, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.206, allocations: 315.9 MB / 0.9886 GB, free: 105.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.206, allocations: 93.14 kB / 0.9887 GB, free: 105.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.829/2.035, allocations: 162 MB / 1.147 GB, free: 125.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.226e-06/2.035, allocations: 0 / 1.147 GB, free: 125.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001085/2.035, allocations: 18.69 kB / 1.147 GB, free: 125.7 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004609/2.04, allocations: 1.136 MB / 1.148 GB, free: 125 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/2.04, allocations: 15.12 kB / 1.148 GB, free: 125 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008316/2.041, allocations: 99.08 kB / 1.148 GB, free: 125 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/2.043, allocations: 0.6325 MB / 1.149 GB, free: 124.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-05/2.043, allocations: 40.5 kB / 1.149 GB, free: 124.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/2.043, allocations: 48.41 kB / 1.149 GB, free: 124.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/2.046, allocations: 0.8408 MB / 1.15 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/2.046, allocations: 7.891 kB / 1.15 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/2.046, allocations: 27.56 kB / 1.15 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/2.046, allocations: 24.62 kB / 1.15 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/2.049, allocations: 0.7901 MB / 1.15 GB, free: 123.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00753/2.056, allocations: 3.275 MB / 1.154 GB, free: 121.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/2.058, allocations: 481.9 kB / 1.154 GB, free: 121.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/2.06, allocations: 310.2 kB / 1.154 GB, free: 121.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/2.06, allocations: 0.5677 MB / 1.155 GB, free: 120.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/2.06, allocations: 41.52 kB / 1.155 GB, free: 120.6 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001289/2.061, allocations: 120.9 kB / 1.155 GB, free: 120.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 4.749e-06/2.061, allocations: 0 / 1.155 GB, free: 120.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.08158/2.143, allocations: 7.864 MB / 1.163 GB, free: 118.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/2.143, allocations: 110.6 kB / 1.163 GB, free: 118.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/2.144, allocations: 0.5569 MB / 1.163 GB, free: 118.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/2.144, allocations: 37.2 kB / 1.164 GB, free: 118.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/2.145, allocations: 381.6 kB / 1.164 GB, free: 117.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/2.145, allocations: 248.9 kB / 1.164 GB, free: 117.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/2.145, allocations: 17.72 kB / 1.164 GB, free: 117.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/2.145, allocations: 387.3 kB / 1.165 GB, free: 117.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/2.148, allocations: 491.3 kB / 1.165 GB, free: 117.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/2.15, allocations: 0.7458 MB / 1.166 GB, free: 116.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/2.153, allocations: 0.5499 MB / 1.166 GB, free: 116.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/2.153, allocations: 3.844 kB / 1.166 GB, free: 116.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006239/2.159, allocations: 1.526 MB / 1.168 GB, free: 115.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002327/2.159, allocations: 319.7 kB / 1.168 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/2.159, allocations: 11.31 kB / 1.168 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01446/2.174, allocations: 1.387 MB / 1.169 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/2.176, allocations: 251.3 kB / 1.17 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/2.18, allocations: 1.68 MB / 1.171 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/2.182, allocations: 123.1 kB / 1.171 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/2.182, allocations: 64.94 kB / 1.171 GB, free: 114 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/2.182, allocations: 3.688 kB / 1.171 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006354/2.189, allocations: 1.44 MB / 1.173 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/2.189, allocations: 7.906 kB / 1.173 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004419/2.193, allocations: 0.5196 MB / 1.173 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/2.195, allocations: 272.4 kB / 1.174 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/2.2, allocations: 2.722 MB / 1.176 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/2.203, allocations: 120.9 kB / 1.176 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/2.203, allocations: 65.97 kB / 1.176 GB, free: 111.2 MB / 490.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.0006974/2.203, allocations: 305.8 kB / 1.177 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/2.204, allocations: 81.88 kB / 1.177 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00867/2.212, allocations: 1.882 MB / 1.179 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/2.212, allocations: 10.06 kB / 1.179 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/2.213, allocations: 0 / 1.179 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/2.213, allocations: 3.797 kB / 1.179 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/2.224, allocations: 2.869 MB / 1.182 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/2.224, allocations: 0 / 1.182 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/2.226, allocations: 186.4 kB / 1.182 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01136/2.237, allocations: 1.266 MB / 1.183 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002598/2.238, allocations: 30.33 kB / 1.183 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/2.241, allocations: 1.596 MB / 1.185 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/2.241, allocations: 0 / 1.185 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/2.251, allocations: 2.26 MB / 1.187 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000701/2.252, allocations: 263.4 kB / 1.187 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/2.252, allocations: 19.95 kB / 1.187 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/2.254, allocations: 111.9 kB / 1.187 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/2.254, allocations: 68.89 kB / 1.187 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/2.254, allocations: 39.97 kB / 1.187 GB, free: 102.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006134/2.255, allocations: 383.1 kB / 1.188 GB, free: 102.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.255, allocations: 0 / 1.188 GB, free: 102.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002863/2.258, allocations: 0.6871 MB / 1.188 GB, free: 101.7 MB / 490.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.001924/2.259, allocations: 0.5831 MB / 1.189 GB, free: 101.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01025/2.27, allocations: 2.143 MB / 1.191 GB, free: 99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/2.27, allocations: 0 / 1.191 GB, free: 99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/2.273, allocations: 0.6647 MB / 1.192 GB, free: 98.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/2.275, allocations: 320.9 kB / 1.192 GB, free: 98.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/2.28, allocations: 2.116 MB / 1.194 GB, free: 95.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/2.281, allocations: 0.989 MB / 1.195 GB, free: 94.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001904/2.283, allocations: 252.1 kB / 1.195 GB, free: 94.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/2.283, allocations: 95.36 kB / 1.195 GB, free: 94.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.243e-06/2.283, allocations: 0 / 1.195 GB, free: 94.54 MB / 490.7 MB Notification: Performance of Templates: time 0.05994/2.343, allocations: 27.99 MB / 1.223 GB, free: 66.87 MB / 490.7 MB