Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003843/0.003849, 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.696/3.696, 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.003489/0.003489, allocations: 230.1 kB / 397.9 MB, free: 4.965 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.5271/0.5271, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006626/0.0006629, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.0976, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.472/7.57, allocations: 2.496 GB / 3.102 GB, free: 33.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/7.57, allocations: 94.27 kB / 3.103 GB, free: 33.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439/9.009, allocations: 228.4 MB / 3.326 GB, free: 55.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.505e-06/9.009, allocations: 0 / 3.326 GB, free: 55.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.655e-05/9.009, allocations: 18.94 kB / 3.326 GB, free: 55.86 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006254/9.015, allocations: 1.303 MB / 3.327 GB, free: 55.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/9.015, allocations: 7.906 kB / 3.327 GB, free: 55.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/9.018, allocations: 234.1 kB / 3.327 GB, free: 55.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/9.02, allocations: 425.9 kB / 3.327 GB, free: 55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/9.02, allocations: 26.91 kB / 3.328 GB, free: 55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.085e-05/9.02, allocations: 30.56 kB / 3.328 GB, free: 55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/9.022, allocations: 0.6253 MB / 3.328 GB, free: 54.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/9.022, allocations: 0.875 kB / 3.328 GB, free: 54.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/9.022, allocations: 15.39 kB / 3.328 GB, free: 54.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/9.022, allocations: 12.42 kB / 3.328 GB, free: 54.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/9.025, allocations: 0.5927 MB / 3.329 GB, free: 54.88 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.00428/9.03, allocations: 2.562 MB / 3.331 GB, free: 53.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/9.032, allocations: 451.5 kB / 3.332 GB, free: 53.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/9.033, allocations: 177.9 kB / 3.332 GB, free: 53.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1983/9.231, allocations: 51.31 MB / 3.382 GB, free: 24.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/9.231, allocations: 33.88 kB / 3.382 GB, free: 24.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.786e-06/9.231, allocations: 0 / 3.382 GB, free: 24.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.004097/9.235, allocations: 0.806 MB / 3.383 GB, free: 24.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/9.235, allocations: 110 kB / 3.383 GB, free: 24.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/9.236, allocations: 349.3 kB / 3.383 GB, free: 24.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/9.236, allocations: 32.67 kB / 3.383 GB, free: 24.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/9.236, allocations: 232.2 kB / 3.383 GB, free: 24.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/9.236, allocations: 86.34 kB / 3.384 GB, free: 24.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/9.236, allocations: 14.66 kB / 3.384 GB, free: 24.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.579e-05/9.236, allocations: 346.3 kB / 3.384 GB, free: 24.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/9.237, allocations: 158.9 kB / 3.384 GB, free: 24.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/9.238, allocations: 288.6 kB / 3.384 GB, free: 23.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/9.239, allocations: 184.5 kB / 3.385 GB, free: 23.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/9.239, allocations: 1.312 kB / 3.385 GB, free: 23.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001767/9.24, allocations: 0.5049 MB / 3.385 GB, free: 23.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/9.241, allocations: 202.3 kB / 3.385 GB, free: 23.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/9.241, allocations: 3.125 kB / 3.385 GB, free: 23.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/9.241, allocations: 10.73 kB / 3.385 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/9.241, allocations: 120.3 kB / 3.385 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/9.241, allocations: 4.969 kB / 3.385 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/9.242, allocations: 81.39 kB / 3.385 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/9.242, allocations: 20.8 kB / 3.385 GB, free: 23.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/9.242, allocations: 3.906 kB / 3.385 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/9.244, allocations: 448.2 kB / 3.386 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/9.244, allocations: 3.188 kB / 3.386 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/9.244, allocations: 7.812 kB / 3.386 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/9.245, allocations: 113.8 kB / 3.386 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/9.245, allocations: 10.3 kB / 3.386 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/9.245, allocations: 56.09 kB / 3.386 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/9.245, allocations: 23.83 kB / 3.386 GB, free: 23.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003418/9.246, allocations: 259.4 kB / 3.386 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/9.246, allocations: 35.06 kB / 3.386 GB, free: 23.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00348/9.249, allocations: 1.963 MB / 3.388 GB, free: 23.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/9.25, allocations: 31.42 kB / 3.388 GB, free: 23.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/9.25, allocations: 0 / 3.388 GB, free: 23.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/9.25, allocations: 6.328 kB / 3.388 GB, free: 23.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/9.251, allocations: 1.019 MB / 3.389 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/9.251, allocations: 0 / 3.389 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/9.252, allocations: 84.55 kB / 3.389 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/9.252, allocations: 3.875 kB / 3.389 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/9.252, allocations: 10.16 kB / 3.389 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/9.252, allocations: 3.906 kB / 3.389 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/9.252, allocations: 5.297 kB / 3.389 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/9.254, allocations: 1.119 MB / 3.39 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/9.254, allocations: 250.8 kB / 3.391 GB, free: 22.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/9.254, allocations: 13.02 kB / 3.391 GB, free: 22.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/9.255, allocations: 45.86 kB / 3.391 GB, free: 22.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/9.255, allocations: 34.48 kB / 3.391 GB, free: 22.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/9.255, allocations: 16.88 kB / 3.391 GB, free: 22.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005052/9.255, allocations: 305.8 kB / 3.391 GB, free: 22.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.9e-07/9.256, allocations: 0 / 3.391 GB, free: 22.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005948/9.261, allocations: 1.172 MB / 3.392 GB, free: 22.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01005/9.272, allocations: 1.471 MB / 3.394 GB, free: 21.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003396/9.275, allocations: 0.8831 MB / 3.395 GB, free: 21.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/9.275, allocations: 0 / 3.395 GB, free: 21.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/9.276, allocations: 0.5168 MB / 3.395 GB, free: 21.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/9.279, allocations: 207.4 kB / 3.395 GB, free: 21.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1479/9.427, allocations: 39.34 MB / 3.434 GB, free: 18.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/9.428, allocations: 0.9982 MB / 3.435 GB, free: 17.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001393/9.429, allocations: 0.5239 MB / 3.435 GB, free: 17.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/9.429, allocations: 50.42 kB / 3.435 GB, free: 17.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/9.429, allocations: 0 / 3.435 GB, free: 17.64 MB / 442.7 MB Notification: Performance of Templates: time 0.07262/9.502, allocations: 34.82 MB / 3.469 GB, free: 7.215 MB / 442.7 MB