Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.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.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002743/0.00275, allocations: 342.6 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.3/3.3, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003534/0.003533, allocations: 218.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.4607/0.4607, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004641, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.08846, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.691/7.779, allocations: 2.497 GB / 3.104 GB, free: 30.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/7.779, allocations: 90.62 kB / 3.104 GB, free: 30.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.423/11.2, allocations: 0.6159 GB / 3.72 GB, free: 33.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.98e-06/11.2, allocations: 3.688 kB / 3.72 GB, free: 33.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001668/11.2, allocations: 43.02 kB / 3.72 GB, free: 33.55 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.01189/11.21, allocations: 2.494 MB / 3.722 GB, free: 32.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/11.21, allocations: 7.625 kB / 3.722 GB, free: 32.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/11.23, allocations: 0.8999 MB / 3.723 GB, free: 32.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/11.23, allocations: 1.065 MB / 3.724 GB, free: 31.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/11.23, allocations: 102.8 kB / 3.724 GB, free: 31.92 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/11.23, allocations: 119.9 kB / 3.724 GB, free: 31.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009159/11.24, allocations: 2.27 MB / 3.727 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/11.24, allocations: 13.5 kB / 3.727 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/11.24, allocations: 60.44 kB / 3.727 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/11.24, allocations: 36.2 kB / 3.727 GB, free: 31.47 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/11.25, allocations: 2.14 MB / 3.729 GB, free: 31.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/11.27, allocations: 10.08 MB / 3.739 GB, free: 24.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007129/11.27, allocations: 1.532 MB / 3.74 GB, free: 24.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/11.28, allocations: 472.2 kB / 3.741 GB, free: 24.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08788/11.36, allocations: 16.99 MB / 3.757 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/11.36, allocations: 52.86 kB / 3.757 GB, free: 15.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 3.997e-06/11.36, allocations: 0 / 3.757 GB, free: 15.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=80): time 0.01271/11.38, allocations: 2.535 MB / 3.76 GB, free: 15.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/11.38, allocations: 268.3 kB / 3.76 GB, free: 15.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/11.38, allocations: 0.977 MB / 3.761 GB, free: 15.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/11.38, allocations: 40.52 kB / 3.761 GB, free: 15.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/11.38, allocations: 0.6794 MB / 3.762 GB, free: 14.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/11.38, allocations: 281.1 kB / 3.762 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/11.38, allocations: 29.78 kB / 3.762 GB, free: 14.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/11.38, allocations: 350.3 kB / 3.762 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/11.38, allocations: 473.5 kB / 3.763 GB, free: 14.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/11.38, allocations: 1.067 MB / 3.764 GB, free: 13.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/11.39, allocations: 0.5847 MB / 3.764 GB, free: 13.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/11.39, allocations: 2.594 kB / 3.764 GB, free: 13.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005712/11.39, allocations: 1.597 MB / 3.766 GB, free: 13.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003984/11.39, allocations: 0.6355 MB / 3.766 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/11.39, allocations: 20.88 kB / 3.766 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.145e-05/11.39, allocations: 25.91 kB / 3.766 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/11.4, allocations: 398.3 kB / 3.767 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.476e-05/11.4, allocations: 39.89 kB / 3.767 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/11.4, allocations: 269.1 kB / 3.767 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/11.4, allocations: 85.44 kB / 3.767 GB, free: 12.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/11.4, allocations: 3.969 kB / 3.767 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005098/11.4, allocations: 1.447 MB / 3.769 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/11.4, allocations: 19.38 kB / 3.769 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/11.4, allocations: 27.19 kB / 3.769 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/11.41, allocations: 391.8 kB / 3.769 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/11.41, allocations: 40.22 kB / 3.769 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/11.41, allocations: 218.2 kB / 3.769 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/11.41, allocations: 86.55 kB / 3.769 GB, free: 12.03 MB / 458.7 MB 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.001/11.41, allocations: 413.6 kB / 3.77 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/11.41, allocations: 122.7 kB / 3.77 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/11.42, allocations: 5.933 MB / 3.776 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-05/11.42, allocations: 86.17 kB / 3.776 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/11.42, allocations: 0 / 3.776 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.255e-05/11.42, allocations: 10.61 kB / 3.776 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/11.43, allocations: 2.777 MB / 3.778 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/11.43, allocations: 0 / 3.778 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/11.43, allocations: 261.4 kB / 3.779 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/11.43, allocations: 3.281 kB / 3.779 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/11.43, allocations: 19.31 kB / 3.779 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/11.43, allocations: 8.484 kB / 3.779 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/11.43, allocations: 0 / 3.779 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005453/11.43, allocations: 2.831 MB / 3.782 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/11.43, allocations: 0.5261 MB / 3.782 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/11.43, allocations: 22.16 kB / 3.782 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/11.44, allocations: 125 kB / 3.782 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/11.44, allocations: 96.53 kB / 3.782 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/11.44, allocations: 35.09 kB / 3.782 GB, free: 9.914 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001596/11.44, allocations: 0.7475 MB / 3.783 GB, free: 9.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/11.44, allocations: 3.938 kB / 3.783 GB, free: 9.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008828/11.45, allocations: 1.719 MB / 3.785 GB, free: 9.328 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 ($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.01196/11.46, allocations: 1.95 MB / 3.787 GB, free: 8.828 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007628/11.47, allocations: 2.608 MB / 3.789 GB, free: 7.961 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/11.47, allocations: 0 / 3.789 GB, free: 7.961 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002622/11.47, allocations: 1.432 MB / 3.791 GB, free: 7.305 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/11.47, allocations: 0.5959 MB / 3.791 GB, free: 7.152 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5741/12.05, allocations: 79.16 MB / 3.868 GB, free: 45.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/12.05, allocations: 1.654 MB / 3.87 GB, free: 44.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005134/12.06, allocations: 1.97 MB / 3.872 GB, free: 44.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/12.06, allocations: 125.7 kB / 3.872 GB, free: 44.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/12.06, allocations: 1.125 kB / 3.872 GB, free: 44.41 MB / 474.7 MB Notification: Performance of Templates: time 0.1284/12.18, allocations: 58.12 MB / 3.929 GB, free: 40.82 MB / 474.7 MB