Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002746/0.00275, allocations: 363.1 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.989/3.989, allocations: 388.9 MB / 405.6 MB, free: 10.3 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.003686/0.003685, allocations: 230.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.5492/0.5492, allocations: 80.03 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007496/0.0007503, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.12, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.55/11.67, allocations: 3.66 GB / 4.34 GB, free: 133.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/11.67, allocations: 90.5 kB / 4.34 GB, free: 133.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.658/14.33, allocations: 472.6 MB / 4.801 GB, free: 43.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.765e-06/14.33, allocations: 0 / 4.801 GB, free: 43.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001038/14.33, allocations: 27.98 kB / 4.801 GB, free: 43.61 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009345/14.34, allocations: 2.057 MB / 4.803 GB, free: 41.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/14.34, allocations: 8.031 kB / 4.803 GB, free: 41.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/14.34, allocations: 118.7 kB / 4.803 GB, free: 41.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/14.34, allocations: 0.781 MB / 4.804 GB, free: 40.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.814e-05/14.34, allocations: 57.98 kB / 4.804 GB, free: 40.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/14.34, allocations: 67.98 kB / 4.804 GB, free: 40.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/14.35, allocations: 1.246 MB / 4.806 GB, free: 39.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/14.35, allocations: 4 kB / 4.806 GB, free: 39.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/14.35, allocations: 35.94 kB / 4.806 GB, free: 39.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/14.35, allocations: 69.95 kB / 4.806 GB, free: 39.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003952/14.35, allocations: 1.386 MB / 4.807 GB, free: 37.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/14.36, allocations: 4.582 MB / 4.811 GB, free: 32.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/14.36, allocations: 0.6332 MB / 4.812 GB, free: 32.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009534/14.37, allocations: 306 kB / 4.812 GB, free: 31.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002479/14.37, allocations: 2.106 MB / 4.814 GB, free: 29.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/14.37, allocations: 43 kB / 4.815 GB, free: 29.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 3.827e-06/14.37, allocations: 3.938 kB / 4.815 GB, free: 29.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.003365/14.37, allocations: 0.9275 MB / 4.815 GB, free: 28.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/14.37, allocations: 111.2 kB / 4.816 GB, free: 28.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/14.37, allocations: 0.7347 MB / 4.816 GB, free: 27.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/14.37, allocations: 37.7 kB / 4.816 GB, free: 27.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/14.37, allocations: 482.3 kB / 4.817 GB, free: 26.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/14.37, allocations: 189.3 kB / 4.817 GB, free: 26.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/14.37, allocations: 20 kB / 4.817 GB, free: 26.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/14.37, allocations: 390.8 kB / 4.817 GB, free: 26.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/14.38, allocations: 341.8 kB / 4.818 GB, free: 26.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/14.38, allocations: 0.5824 MB / 4.818 GB, free: 25.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/14.38, allocations: 451 kB / 4.819 GB, free: 24.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/14.38, allocations: 4 kB / 4.819 GB, free: 24.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003488/14.38, allocations: 1.078 MB / 4.82 GB, free: 23.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/14.38, allocations: 310.6 kB / 4.82 GB, free: 23.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/14.38, allocations: 8 kB / 4.82 GB, free: 23.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/14.38, allocations: 16 kB / 4.82 GB, free: 23.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/14.38, allocations: 227.7 kB / 4.82 GB, free: 23.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/14.38, allocations: 19.92 kB / 4.82 GB, free: 23.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/14.39, allocations: 130.9 kB / 4.82 GB, free: 23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/14.39, allocations: 63.98 kB / 4.82 GB, free: 22.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/14.39, allocations: 4 kB / 4.82 GB, free: 22.94 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002865/14.39, allocations: 0.9488 MB / 4.821 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/14.39, allocations: 11.98 kB / 4.821 GB, free: 21.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/14.39, allocations: 12 kB / 4.821 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/14.39, allocations: 223.6 kB / 4.822 GB, free: 21.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/14.39, allocations: 19.92 kB / 4.822 GB, free: 21.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/14.39, allocations: 103.2 kB / 4.822 GB, free: 21.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/14.39, allocations: 67.97 kB / 4.822 GB, free: 21.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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.0007731/14.39, allocations: 372.7 kB / 4.822 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/14.39, allocations: 82.97 kB / 4.822 GB, free: 21.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003501/14.4, allocations: 1.057 MB / 4.823 GB, free: 20.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/14.4, allocations: 7.953 kB / 4.823 GB, free: 20.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/14.4, allocations: 4 kB / 4.823 GB, free: 20.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/14.4, allocations: 3.984 kB / 4.823 GB, free: 20 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/14.4, allocations: 1.698 MB / 4.825 GB, free: 18.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/14.4, allocations: 8.031 kB / 4.825 GB, free: 18.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/14.4, allocations: 131.9 kB / 4.825 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/14.4, allocations: 4 kB / 4.825 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.2e-05/14.4, allocations: 23.98 kB / 4.825 GB, free: 18.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/14.4, allocations: 11.92 kB / 4.825 GB, free: 18.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/14.4, allocations: 0 / 4.825 GB, free: 18.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/14.41, allocations: 0.8768 MB / 4.826 GB, free: 17.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/14.41, allocations: 183.9 kB / 4.826 GB, free: 16.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/14.41, allocations: 16 kB / 4.826 GB, free: 16.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/14.41, allocations: 43.91 kB / 4.826 GB, free: 16.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/14.41, allocations: 52.5 kB / 4.826 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/14.41, allocations: 39.98 kB / 4.826 GB, free: 16.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001085/14.41, allocations: 0.5068 MB / 4.827 GB, free: 16.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.052e-06/14.41, allocations: 0 / 4.827 GB, free: 16.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005853/14.41, allocations: 1.334 MB / 4.828 GB, free: 14.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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 Backend phase and start with SimCode phase: time 0.007532/14.42, allocations: 1.96 MB / 4.83 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004088/14.43, allocations: 1.299 MB / 4.831 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/14.43, allocations: 0 / 4.831 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/14.43, allocations: 358.9 kB / 4.832 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/14.43, allocations: 362.9 kB / 4.832 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009217/14.44, allocations: 3.443 MB / 4.835 GB, free: 7.484 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/14.44, allocations: 1.07 MB / 4.836 GB, free: 6.387 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003732/14.44, allocations: 0.5146 MB / 4.837 GB, free: 5.871 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008176/14.45, allocations: 119.4 kB / 4.837 GB, free: 5.754 MB / 490.7 MB Notification: Performance of SimCode: time 2.765e-06/14.45, allocations: 0 / 4.837 GB, free: 5.754 MB / 490.7 MB Notification: Performance of Templates: time 0.5021/14.95, allocations: 39.03 MB / 4.875 GB, free: 71.61 MB / 0.4948 GB