Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.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.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003842/0.003849, allocations: 344.9 kB / 15.94 MB, free: 6.223 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.718/3.718, 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.003621/0.003621, allocations: 226.1 kB / 397.9 MB, free: 4.887 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.4767/0.4767, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004633, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09217, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.906/7.998, allocations: 2.497 GB / 3.104 GB, free: 29.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/7.998, allocations: 89.33 kB / 3.104 GB, free: 29.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818/11.82, allocations: 0.6162 GB / 3.72 GB, free: 33.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.515e-06/11.82, allocations: 0 / 3.72 GB, free: 33.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00021/11.82, allocations: 43.44 kB / 3.72 GB, free: 33.02 MB / 458.7 MB 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.01355/11.83, allocations: 2.508 MB / 3.723 GB, free: 31.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/11.83, allocations: 16.88 kB / 3.723 GB, free: 31.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/11.84, allocations: 0.8996 MB / 3.724 GB, free: 31.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00382/11.85, allocations: 1.044 MB / 3.725 GB, free: 31.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/11.85, allocations: 111.4 kB / 3.725 GB, free: 31.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/11.85, allocations: 115 kB / 3.725 GB, free: 31.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009564/11.86, allocations: 2.294 MB / 3.727 GB, free: 30.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.692e-05/11.86, allocations: 6.938 kB / 3.727 GB, free: 30.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003041/11.86, allocations: 56.78 kB / 3.727 GB, free: 30.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/11.86, allocations: 34.08 kB / 3.727 GB, free: 30.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/11.87, allocations: 2.181 MB / 3.73 GB, free: 30.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/11.88, allocations: 9.774 MB / 3.739 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007781/11.89, allocations: 1.616 MB / 3.741 GB, free: 24.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/11.89, allocations: 0.5338 MB / 3.741 GB, free: 24.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06805/11.96, allocations: 18.82 MB / 3.76 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/11.96, allocations: 48.41 kB / 3.76 GB, free: 14.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 5.611e-06/11.96, allocations: 7.516 kB / 3.76 GB, free: 14.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01325/11.98, allocations: 2.739 MB / 3.762 GB, free: 14.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/11.98, allocations: 272.1 kB / 3.763 GB, free: 14.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/11.98, allocations: 0.8532 MB / 3.763 GB, free: 14.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000164/11.98, allocations: 45.3 kB / 3.763 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/11.98, allocations: 0.6751 MB / 3.764 GB, free: 13.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/11.98, allocations: 302 kB / 3.764 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/11.98, allocations: 26.34 kB / 3.764 GB, free: 13.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/11.98, allocations: 357.2 kB / 3.765 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/11.98, allocations: 488.2 kB / 3.765 GB, free: 13.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/11.98, allocations: 1.039 MB / 3.766 GB, free: 12.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/11.99, allocations: 0.6058 MB / 3.767 GB, free: 12.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/11.99, allocations: 5.562 kB / 3.767 GB, free: 12.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005701/11.99, allocations: 1.602 MB / 3.768 GB, free: 12.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004216/11.99, allocations: 0.6019 MB / 3.769 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/11.99, allocations: 19.83 kB / 3.769 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.191e-05/11.99, allocations: 27.53 kB / 3.769 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/11.99, allocations: 396.9 kB / 3.769 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.182e-05/11.99, allocations: 33 kB / 3.769 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/12, allocations: 233 kB / 3.77 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/12, allocations: 86.66 kB / 3.77 GB, free: 11.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/12, allocations: 4.875 kB / 3.77 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005225/12, allocations: 1.46 MB / 3.771 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/12, allocations: 22.38 kB / 3.771 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/12, allocations: 27.78 kB / 3.771 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/12.01, allocations: 393.5 kB / 3.772 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.246e-05/12.01, allocations: 37.22 kB / 3.772 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/12.01, allocations: 203.3 kB / 3.772 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/12.01, allocations: 81.2 kB / 3.772 GB, free: 11.28 MB / 458.7 MB 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.001167/12.01, allocations: 400.6 kB / 3.772 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/12.01, allocations: 122.3 kB / 3.772 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/12.02, allocations: 6.096 MB / 3.778 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/12.02, allocations: 82.67 kB / 3.778 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/12.02, allocations: 0 / 3.778 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/12.02, allocations: 7.75 kB / 3.778 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/12.03, allocations: 2.804 MB / 3.781 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/12.03, allocations: 0 / 3.781 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/12.03, allocations: 285.4 kB / 3.781 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.638e-05/12.03, allocations: 6.109 kB / 3.781 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/12.03, allocations: 26 kB / 3.781 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/12.03, allocations: 10.38 kB / 3.781 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/12.03, allocations: 3.031 kB / 3.781 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00637/12.03, allocations: 2.974 MB / 3.784 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/12.04, allocations: 0.5243 MB / 3.785 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/12.04, allocations: 23.25 kB / 3.785 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/12.04, allocations: 130.9 kB / 3.785 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/12.04, allocations: 96.12 kB / 3.785 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/12.04, allocations: 38.22 kB / 3.785 GB, free: 8.383 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001323/12.04, allocations: 0.6667 MB / 3.786 GB, free: 8.121 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-07/12.04, allocations: 0 / 3.786 GB, free: 8.121 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009175/12.05, allocations: 1.715 MB / 3.787 GB, free: 7.766 MB / 458.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: 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.01236/12.06, allocations: 1.955 MB / 3.789 GB, free: 7.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007973/12.07, allocations: 2.684 MB / 3.792 GB, free: 6.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/12.07, allocations: 4 kB / 3.792 GB, free: 6.387 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/12.07, allocations: 1.511 MB / 3.794 GB, free: 5.711 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/12.08, allocations: 0.5945 MB / 3.794 GB, free: 5.559 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6211/12.7, allocations: 79.25 MB / 3.871 GB, free: 44.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/12.7, allocations: 1.661 MB / 3.873 GB, free: 44.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005593/12.71, allocations: 1.967 MB / 3.875 GB, free: 44.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006594/12.71, allocations: 128.8 kB / 3.875 GB, free: 44.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/12.71, allocations: 1.875 kB / 3.875 GB, free: 44.12 MB / 474.7 MB Notification: Performance of Templates: time 0.1352/12.84, allocations: 57.97 MB / 3.932 GB, free: 40.46 MB / 474.7 MB