Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003295/0.003294, allocations: 362 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 4.165/4.165, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.003516/0.003516, allocations: 227.5 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.5161/0.5161, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1014, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.3/8.402, allocations: 2.608 GB / 3.288 GB, free: 37.62 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/8.402, allocations: 88.89 kB / 3.288 GB, free: 37.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.979/12.38, allocations: 0.6294 GB / 3.918 GB, free: 38.46 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.946e-06/12.38, allocations: 2.25 kB / 3.918 GB, free: 38.46 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001517/12.38, allocations: 43.75 kB / 3.918 GB, free: 38.45 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01344/12.4, allocations: 2.586 MB / 3.92 GB, free: 37.33 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/12.4, allocations: 14.09 kB / 3.92 GB, free: 37.33 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/12.41, allocations: 0.949 MB / 3.921 GB, free: 37.25 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/12.41, allocations: 1.055 MB / 3.922 GB, free: 36.91 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/12.41, allocations: 104.1 kB / 3.922 GB, free: 36.91 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/12.41, allocations: 116.8 kB / 3.922 GB, free: 36.91 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009714/12.42, allocations: 2.303 MB / 3.925 GB, free: 36.46 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/12.42, allocations: 7.375 kB / 3.925 GB, free: 36.46 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/12.42, allocations: 55.72 kB / 3.925 GB, free: 36.46 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/12.42, allocations: 30.28 kB / 3.925 GB, free: 36.46 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/12.43, allocations: 2.184 MB / 3.927 GB, free: 36.45 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/12.45, allocations: 9.772 MB / 3.936 GB, free: 29.89 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007886/12.46, allocations: 1.613 MB / 3.938 GB, free: 29.86 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/12.46, allocations: 0.5428 MB / 3.939 GB, free: 29.84 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06996/12.53, allocations: 18.83 MB / 3.957 GB, free: 20.67 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/12.53, allocations: 44.09 kB / 3.957 GB, free: 20.63 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=88): time 4.429e-06/12.53, allocations: 0.5625 kB / 3.957 GB, free: 20.63 MB / 0.4949 GB Notification: Performance of matching and sorting (n=88): time 0.01381/12.54, allocations: 2.741 MB / 3.96 GB, free: 20.51 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/12.54, allocations: 272.2 kB / 3.96 GB, free: 20.2 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/12.54, allocations: 0.8586 MB / 3.961 GB, free: 20.03 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0002276/12.54, allocations: 41.36 kB / 3.961 GB, free: 20 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005748/12.54, allocations: 0.6747 MB / 3.961 GB, free: 19.66 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/12.54, allocations: 305.3 kB / 3.962 GB, free: 19.47 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/12.54, allocations: 25.03 kB / 3.962 GB, free: 19.47 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001132/12.54, allocations: 360.5 kB / 3.962 GB, free: 19.16 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/12.55, allocations: 486.1 kB / 3.963 GB, free: 19.16 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/12.55, allocations: 1.043 MB / 3.964 GB, free: 18.46 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/12.55, allocations: 0.5897 MB / 3.964 GB, free: 18.46 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/12.55, allocations: 3.938 kB / 3.964 GB, free: 18.46 MB / 0.4949 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00604/12.56, allocations: 1.612 MB / 3.966 GB, free: 18.36 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003791/12.56, allocations: 0.5986 MB / 3.966 GB, free: 17.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/12.56, allocations: 21.41 kB / 3.966 GB, free: 17.65 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.051e-05/12.56, allocations: 27.03 kB / 3.966 GB, free: 17.65 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/12.56, allocations: 393.7 kB / 3.967 GB, free: 17.64 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-05/12.56, allocations: 34.08 kB / 3.967 GB, free: 17.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/12.56, allocations: 239.7 kB / 3.967 GB, free: 17.57 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/12.56, allocations: 78.27 kB / 3.967 GB, free: 17.57 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/12.56, allocations: 2.594 kB / 3.967 GB, free: 17.57 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005644/12.57, allocations: 1.474 MB / 3.969 GB, free: 17.52 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/12.57, allocations: 16.91 kB / 3.969 GB, free: 17.52 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/12.57, allocations: 25.25 kB / 3.969 GB, free: 17.52 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/12.57, allocations: 389.3 kB / 3.969 GB, free: 17.51 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.392e-05/12.57, allocations: 38.44 kB / 3.969 GB, free: 17.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/12.57, allocations: 204.7 kB / 3.969 GB, free: 17.45 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/12.57, allocations: 81.69 kB / 3.969 GB, free: 17.45 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.00116/12.58, allocations: 411.4 kB / 3.97 GB, free: 17.25 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/12.58, allocations: 124.7 kB / 3.97 GB, free: 17.19 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/12.59, allocations: 6.074 MB / 3.976 GB, free: 16.55 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.655e-05/12.59, allocations: 86.58 kB / 3.976 GB, free: 16.55 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/12.59, allocations: 0 / 3.976 GB, free: 16.55 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.733e-05/12.59, allocations: 10.55 kB / 3.976 GB, free: 16.55 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004845/12.59, allocations: 2.801 MB / 3.979 GB, free: 16.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/12.59, allocations: 2.719 kB / 3.979 GB, free: 16.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/12.6, allocations: 289.3 kB / 3.979 GB, free: 16.16 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.808e-05/12.6, allocations: 14.25 kB / 3.979 GB, free: 16.15 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/12.6, allocations: 29.23 kB / 3.979 GB, free: 16.15 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/12.6, allocations: 7.844 kB / 3.979 GB, free: 16.14 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/12.6, allocations: 3.688 kB / 3.979 GB, free: 16.14 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006525/12.6, allocations: 2.965 MB / 3.982 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/12.6, allocations: 0.5267 MB / 3.982 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/12.6, allocations: 24.2 kB / 3.982 GB, free: 15.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/12.61, allocations: 138.8 kB / 3.982 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/12.61, allocations: 89.86 kB / 3.982 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-05/12.61, allocations: 41.66 kB / 3.983 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001288/12.61, allocations: 0.6685 MB / 3.983 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.41e-07/12.61, allocations: 0 / 3.983 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009703/12.62, allocations: 1.724 MB / 3.985 GB, free: 15.03 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.01251/12.63, allocations: 1.946 MB / 3.987 GB, free: 14.58 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008327/12.64, allocations: 2.685 MB / 3.989 GB, free: 14.51 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/12.64, allocations: 0 / 3.989 GB, free: 14.51 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00314/12.64, allocations: 1.516 MB / 3.991 GB, free: 14.49 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005953/12.65, allocations: 0.5943 MB / 3.991 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2154/12.86, allocations: 79.71 MB / 4.069 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/12.86, allocations: 1.662 MB / 4.071 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0058/12.87, allocations: 1.963 MB / 4.073 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/12.87, allocations: 129.8 kB / 4.073 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of SimCode: time 1.552e-06/12.87, allocations: 0 / 4.073 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of Templates: time 0.5924/13.46, allocations: 58.3 MB / 4.13 GB, free: 48.36 MB / 0.5105 GB