Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.TestValveCoefficients,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|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004115/0.004121, allocations: 360 kB / 15.95 MB, free: 6.203 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.876/3.876, allocations: 388.9 MB / 405.6 MB, free: 10.27 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.003507/0.003506, allocations: 235.7 kB / 451 MB, free: 145.1 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.4886/0.4886, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004709, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.92/8.021, allocations: 2.608 GB / 3.288 GB, free: 38.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004263/8.021, allocations: 94.02 kB / 3.288 GB, free: 38.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.773/11.79, allocations: 0.6291 GB / 3.917 GB, free: 38.36 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.915e-06/11.79, allocations: 0 / 3.917 GB, free: 38.36 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001809/11.79, allocations: 40.69 kB / 3.917 GB, free: 38.36 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.01302/11.81, allocations: 2.577 MB / 3.919 GB, free: 37.24 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/11.81, allocations: 9.844 kB / 3.919 GB, free: 37.24 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/11.82, allocations: 0.9466 MB / 3.92 GB, free: 37.16 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/11.82, allocations: 1.071 MB / 3.921 GB, free: 36.83 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/11.82, allocations: 99.78 kB / 3.922 GB, free: 36.83 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/11.82, allocations: 122.1 kB / 3.922 GB, free: 36.82 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/11.83, allocations: 2.281 MB / 3.924 GB, free: 36.38 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/11.83, allocations: 6.125 kB / 3.924 GB, free: 36.38 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/11.84, allocations: 52.88 kB / 3.924 GB, free: 36.38 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/11.84, allocations: 30.75 kB / 3.924 GB, free: 36.38 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/11.85, allocations: 2.142 MB / 3.926 GB, free: 36.37 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/11.86, allocations: 10.08 MB / 3.936 GB, free: 29.43 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007325/11.87, allocations: 1.534 MB / 3.937 GB, free: 29.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/11.87, allocations: 477.6 kB / 3.938 GB, free: 29.39 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06521/11.94, allocations: 17.02 MB / 3.954 GB, free: 20.92 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/11.94, allocations: 41.84 kB / 3.955 GB, free: 20.88 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=80): time 5.31e-06/11.94, allocations: 0 / 3.955 GB, free: 20.88 MB / 0.4949 GB Notification: Performance of matching and sorting (n=80): time 0.01269/11.95, allocations: 2.535 MB / 3.957 GB, free: 20.77 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/11.95, allocations: 268 kB / 3.957 GB, free: 20.46 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/11.95, allocations: 0.9713 MB / 3.958 GB, free: 20.29 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/11.95, allocations: 40.64 kB / 3.958 GB, free: 20.25 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/11.95, allocations: 0.6874 MB / 3.959 GB, free: 19.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/11.95, allocations: 281.2 kB / 3.959 GB, free: 19.73 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/11.95, allocations: 29.12 kB / 3.959 GB, free: 19.73 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001237/11.96, allocations: 354.6 kB / 3.96 GB, free: 19.43 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/11.96, allocations: 472.3 kB / 3.96 GB, free: 19.42 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/11.96, allocations: 1.068 MB / 3.961 GB, free: 18.68 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/11.96, allocations: 0.5812 MB / 3.962 GB, free: 18.66 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/11.96, allocations: 7.344 kB / 3.962 GB, free: 18.66 MB / 0.4949 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005987/11.97, allocations: 1.597 MB / 3.963 GB, free: 18.55 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004384/11.97, allocations: 0.6417 MB / 3.964 GB, free: 17.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/11.97, allocations: 17.09 kB / 3.964 GB, free: 17.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-05/11.97, allocations: 28.88 kB / 3.964 GB, free: 17.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/11.97, allocations: 397.9 kB / 3.964 GB, free: 17.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.882e-05/11.97, allocations: 39.3 kB / 3.964 GB, free: 17.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/11.97, allocations: 258.1 kB / 3.964 GB, free: 17.73 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/11.97, allocations: 83.47 kB / 3.965 GB, free: 17.73 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/11.97, allocations: 7.469 kB / 3.965 GB, free: 17.73 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005269/11.98, allocations: 1.447 MB / 3.966 GB, free: 17.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.445e-05/11.98, allocations: 22.66 kB / 3.966 GB, free: 17.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.825e-05/11.98, allocations: 30.28 kB / 3.966 GB, free: 17.68 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/11.98, allocations: 389.5 kB / 3.966 GB, free: 17.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.454e-05/11.98, allocations: 36.8 kB / 3.966 GB, free: 17.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/11.98, allocations: 218.5 kB / 3.967 GB, free: 17.61 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/11.98, allocations: 82.61 kB / 3.967 GB, free: 17.61 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 167 * 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.0009846/11.99, allocations: 415.6 kB / 3.967 GB, free: 17.41 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/11.99, allocations: 127.5 kB / 3.967 GB, free: 17.34 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/12, allocations: 5.938 MB / 3.973 GB, free: 16.71 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.533e-05/12, allocations: 81.83 kB / 3.973 GB, free: 16.71 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/12, allocations: 7.375 kB / 3.973 GB, free: 16.71 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/12, allocations: 7.5 kB / 3.973 GB, free: 16.71 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/12, allocations: 2.767 MB / 3.976 GB, free: 16.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/12, allocations: 0 / 3.976 GB, free: 16.32 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/12, allocations: 251.4 kB / 3.976 GB, free: 16.32 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/12, allocations: 7.219 kB / 3.976 GB, free: 16.31 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.686e-05/12, allocations: 32.61 kB / 3.976 GB, free: 16.31 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/12, allocations: 3.969 kB / 3.976 GB, free: 16.31 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/12, allocations: 0 / 3.976 GB, free: 16.31 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005397/12.01, allocations: 2.835 MB / 3.979 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/12.01, allocations: 0.5221 MB / 3.979 GB, free: 15.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/12.01, allocations: 20.66 kB / 3.979 GB, free: 15.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/12.01, allocations: 128.5 kB / 3.98 GB, free: 15.55 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/12.01, allocations: 90.31 kB / 3.98 GB, free: 15.55 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/12.01, allocations: 40.27 kB / 3.98 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001554/12.01, allocations: 0.7449 MB / 3.98 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.91e-07/12.01, allocations: 0 / 3.98 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008952/12.02, allocations: 1.73 MB / 3.982 GB, free: 15.21 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 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * 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.01188/12.03, allocations: 1.938 MB / 3.984 GB, free: 14.75 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007631/12.04, allocations: 2.604 MB / 3.987 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/12.04, allocations: 0 / 3.987 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/12.04, allocations: 1.441 MB / 3.988 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006111/12.05, allocations: 0.605 MB / 3.989 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1978/12.25, allocations: 79.65 MB / 4.066 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/12.25, allocations: 1.655 MB / 4.068 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005481/12.26, allocations: 1.959 MB / 4.07 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/12.26, allocations: 136 kB / 4.07 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/12.26, allocations: 4 kB / 4.07 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of Templates: time 0.5646/12.82, allocations: 58.36 MB / 4.127 GB, free: 47.36 MB / 0.5105 GB