Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..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|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002598/0.002605, allocations: 347.2 kB / 15.93 MB, free: 6.219 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.507/3.507, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003591/0.003591, allocations: 226.1 kB / 397.9 MB, free: 4.891 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.4956/0.4956, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006525/0.0006528, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1069, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8693/0.9763, allocations: 209.2 MB / 0.811 GB, free: 87.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.9767, allocations: 85.89 kB / 0.8111 GB, free: 87.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.583/3.56, allocations: 466.7 MB / 1.267 GB, free: 56.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.706e-06/3.56, allocations: 0 / 1.267 GB, free: 56.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001394/3.56, allocations: 38.69 kB / 1.267 GB, free: 56.62 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008274/3.568, allocations: 2.049 MB / 1.269 GB, free: 56.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/3.568, allocations: 9.531 kB / 1.269 GB, free: 56.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/3.573, allocations: 355.1 kB / 1.269 GB, free: 55.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/3.576, allocations: 0.9036 MB / 1.27 GB, free: 55.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/3.577, allocations: 64.03 kB / 1.27 GB, free: 55.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/3.577, allocations: 83.06 kB / 1.27 GB, free: 55.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004898/3.582, allocations: 1.237 MB / 1.271 GB, free: 55.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/3.582, allocations: 0 / 1.271 GB, free: 55.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/3.582, allocations: 44.22 kB / 1.272 GB, free: 55.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/3.582, allocations: 21.47 kB / 1.272 GB, free: 55.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/3.587, allocations: 1.003 MB / 1.273 GB, free: 55.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/3.599, allocations: 6.246 MB / 1.279 GB, free: 51.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/3.602, allocations: 0.6398 MB / 1.279 GB, free: 51.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/3.603, allocations: 303.9 kB / 1.28 GB, free: 51.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/3.603, allocations: 0.7628 MB / 1.28 GB, free: 50.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/3.604, allocations: 41.78 kB / 1.28 GB, free: 50.32 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001169/3.605, allocations: 103.7 kB / 1.28 GB, free: 50.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 4.067e-06/3.605, allocations: 0.8125 kB / 1.28 GB, free: 50.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.0113/3.616, allocations: 1.476 MB / 1.282 GB, free: 50.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/3.616, allocations: 190.2 kB / 1.282 GB, free: 49.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/3.618, allocations: 0.8685 MB / 1.283 GB, free: 49.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/3.618, allocations: 38.36 kB / 1.283 GB, free: 49.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/3.619, allocations: 0.5995 MB / 1.284 GB, free: 49.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/3.619, allocations: 176.7 kB / 1.284 GB, free: 49.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/3.619, allocations: 21.03 kB / 1.284 GB, free: 49.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/3.619, allocations: 338.5 kB / 1.284 GB, free: 49.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/3.621, allocations: 357.2 kB / 1.284 GB, free: 49.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/3.623, allocations: 0.7009 MB / 1.285 GB, free: 48.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/3.624, allocations: 451.7 kB / 1.285 GB, free: 48.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/3.624, allocations: 3.75 kB / 1.285 GB, free: 48.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005338/3.63, allocations: 1.272 MB / 1.287 GB, free: 48.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/3.63, allocations: 405.8 kB / 1.287 GB, free: 48.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/3.63, allocations: 10.03 kB / 1.287 GB, free: 48.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009519/3.64, allocations: 0.7737 MB / 1.288 GB, free: 48.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/3.642, allocations: 293.4 kB / 1.288 GB, free: 48.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/3.643, allocations: 0.7856 MB / 1.289 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/3.645, allocations: 97.58 kB / 1.289 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/3.646, allocations: 82.03 kB / 1.289 GB, free: 47.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/3.646, allocations: 3.906 kB / 1.289 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004456/3.65, allocations: 1.11 MB / 1.29 GB, free: 47.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.033e-05/3.65, allocations: 10.53 kB / 1.29 GB, free: 47.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/3.651, allocations: 86.94 kB / 1.29 GB, free: 47.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/3.653, allocations: 309 kB / 1.291 GB, free: 47.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/3.655, allocations: 1.645 MB / 1.292 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/3.657, allocations: 95.5 kB / 1.292 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/3.658, allocations: 73.33 kB / 1.292 GB, free: 46.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (105): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009221/3.659, allocations: 334.8 kB / 1.293 GB, free: 45.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/3.659, allocations: 100.7 kB / 1.293 GB, free: 45.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008938/3.668, allocations: 1.679 MB / 1.294 GB, free: 45.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/3.668, allocations: 4.938 kB / 1.294 GB, free: 45.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/3.668, allocations: 0 / 1.294 GB, free: 45.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/3.668, allocations: 6.297 kB / 1.294 GB, free: 45.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008348/3.676, allocations: 1.816 MB / 1.296 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/3.676, allocations: 3.375 kB / 1.296 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/3.677, allocations: 130.2 kB / 1.296 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004933/3.682, allocations: 0.5715 MB / 1.297 GB, free: 45.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/3.683, allocations: 27.23 kB / 1.297 GB, free: 45.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/3.684, allocations: 0.8145 MB / 1.298 GB, free: 44.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/3.684, allocations: 4.656 kB / 1.298 GB, free: 44.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/3.687, allocations: 1.011 MB / 1.299 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009549/3.688, allocations: 308.9 kB / 1.299 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/3.689, allocations: 16.22 kB / 1.299 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/3.69, allocations: 77.39 kB / 1.299 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/3.69, allocations: 49.69 kB / 1.299 GB, free: 44.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.569e-05/3.69, allocations: 27.88 kB / 1.299 GB, free: 44.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001236/3.692, allocations: 0.5928 MB / 1.3 GB, free: 44.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.52e-07/3.692, allocations: 2.625 kB / 1.3 GB, free: 44.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005883/3.698, allocations: 1.033 MB / 1.301 GB, free: 44.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004294/3.702, allocations: 0.7852 MB / 1.301 GB, free: 44.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006129/3.708, allocations: 1.555 MB / 1.303 GB, free: 43.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/3.708, allocations: 0 / 1.303 GB, free: 43.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/3.71, allocations: 408.3 kB / 1.303 GB, free: 43.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/3.714, allocations: 439.4 kB / 1.304 GB, free: 43.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007584/3.722, allocations: 2.856 MB / 1.307 GB, free: 42.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/3.722, allocations: 1.097 MB / 1.308 GB, free: 42.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003819/3.726, allocations: 0.7912 MB / 1.308 GB, free: 42.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/3.727, allocations: 117.6 kB / 1.309 GB, free: 42.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/3.727, allocations: 0 / 1.309 GB, free: 42.12 MB / 442.7 MB Notification: Performance of Templates: time 0.06378/3.791, allocations: 25.2 MB / 1.333 GB, free: 41.23 MB / 442.7 MB