Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002748/0.002753, allocations: 347.8 kB / 15.94 MB, free: 6.219 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.982/3.982, 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.00372/0.00372, allocations: 230.1 kB / 397.9 MB, free: 4.961 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.6844/0.6844, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007608/0.0007613, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1259, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.66/11.79, allocations: 3.653 GB / 4.26 GB, free: 95.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000471/11.79, allocations: 86.89 kB / 4.26 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726/14.51, allocations: 470.6 MB / 4.719 GB, free: 40.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.817e-06/14.51, allocations: 0 / 4.719 GB, free: 40.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002055/14.51, allocations: 27.22 kB / 4.719 GB, free: 40.95 MB / 442.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.01533/14.53, allocations: 2.048 MB / 4.721 GB, free: 40.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.403e-05/14.53, allocations: 9.719 kB / 4.721 GB, free: 40.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/14.53, allocations: 119.2 kB / 4.721 GB, free: 40.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/14.54, allocations: 0.7785 MB / 4.722 GB, free: 39.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/14.54, allocations: 65.14 kB / 4.722 GB, free: 39.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005593/14.54, allocations: 68.39 kB / 4.722 GB, free: 39.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/14.54, allocations: 1.243 MB / 4.724 GB, free: 39.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/14.54, allocations: 4.406 kB / 4.724 GB, free: 39.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/14.54, allocations: 34.27 kB / 4.724 GB, free: 39.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002673/14.54, allocations: 77.53 kB / 4.724 GB, free: 39.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006904/14.55, allocations: 1.383 MB / 4.725 GB, free: 39.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/14.57, allocations: 4.43 MB / 4.729 GB, free: 38.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/14.58, allocations: 0.6314 MB / 4.73 GB, free: 38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/14.58, allocations: 303.6 kB / 4.73 GB, free: 37.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003811/14.58, allocations: 2.106 MB / 4.732 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/14.58, allocations: 37.94 kB / 4.732 GB, free: 36.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 5.37e-06/14.58, allocations: 0 / 4.732 GB, free: 36.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.005163/14.59, allocations: 0.9281 MB / 4.733 GB, free: 35.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/14.59, allocations: 110.7 kB / 4.733 GB, free: 35.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/14.59, allocations: 0.7331 MB / 4.734 GB, free: 35.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/14.59, allocations: 37.11 kB / 4.734 GB, free: 35.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005982/14.59, allocations: 491.7 kB / 4.735 GB, free: 35.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/14.59, allocations: 182.8 kB / 4.735 GB, free: 35.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/14.59, allocations: 17.97 kB / 4.735 GB, free: 35.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/14.59, allocations: 390.5 kB / 4.735 GB, free: 35.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/14.59, allocations: 348 kB / 4.735 GB, free: 35.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/14.59, allocations: 0.5877 MB / 4.736 GB, free: 34.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/14.6, allocations: 439.7 kB / 4.736 GB, free: 34.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/14.6, allocations: 2.562 kB / 4.736 GB, free: 34.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004971/14.6, allocations: 1.085 MB / 4.738 GB, free: 34.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/14.6, allocations: 314 kB / 4.738 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/14.6, allocations: 11.67 kB / 4.738 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.621e-05/14.6, allocations: 18.62 kB / 4.738 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/14.6, allocations: 224.1 kB / 4.738 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.675e-05/14.6, allocations: 18.44 kB / 4.738 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/14.61, allocations: 130.4 kB / 4.738 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/14.61, allocations: 62.56 kB / 4.738 GB, free: 34.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/14.61, allocations: 4.75 kB / 4.738 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00427/14.61, allocations: 0.9434 MB / 4.739 GB, free: 34.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/14.61, allocations: 10.28 kB / 4.739 GB, free: 34.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/14.61, allocations: 14.19 kB / 4.739 GB, free: 34.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/14.61, allocations: 230.7 kB / 4.739 GB, free: 34.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-05/14.61, allocations: 27.3 kB / 4.739 GB, free: 34.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/14.62, allocations: 104.8 kB / 4.74 GB, free: 34.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/14.62, allocations: 63.78 kB / 4.74 GB, free: 34.3 MB / 442.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.001121/14.62, allocations: 374.8 kB / 4.74 GB, free: 34.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/14.62, allocations: 74.75 kB / 4.74 GB, free: 34.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005221/14.62, allocations: 1.052 MB / 4.741 GB, free: 33.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/14.62, allocations: 11.55 kB / 4.741 GB, free: 33.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/14.62, allocations: 8.703 kB / 4.741 GB, free: 33.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/14.62, allocations: 0 / 4.741 GB, free: 33.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/14.63, allocations: 1.708 MB / 4.743 GB, free: 33.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/14.63, allocations: 2.375 kB / 4.743 GB, free: 33.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/14.63, allocations: 130.4 kB / 4.743 GB, free: 33.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/14.63, allocations: 5.594 kB / 4.743 GB, free: 33.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/14.63, allocations: 25.31 kB / 4.743 GB, free: 33.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/14.63, allocations: 9.469 kB / 4.743 GB, free: 33.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/14.63, allocations: 6.719 kB / 4.743 GB, free: 33.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/14.63, allocations: 0.8616 MB / 4.744 GB, free: 33.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/14.63, allocations: 186.7 kB / 4.744 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/14.63, allocations: 13.09 kB / 4.744 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/14.64, allocations: 45.92 kB / 4.744 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/14.64, allocations: 50.34 kB / 4.744 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/14.64, allocations: 42.42 kB / 4.744 GB, free: 33.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001476/14.64, allocations: 0.5109 MB / 4.745 GB, free: 33.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.554e-06/14.64, allocations: 2.25 kB / 4.745 GB, free: 33.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006053/14.64, allocations: 1.332 MB / 4.746 GB, free: 32.84 MB / 442.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.007695/14.65, allocations: 1.969 MB / 4.748 GB, free: 32.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004117/14.66, allocations: 1.295 MB / 4.749 GB, free: 32.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/14.66, allocations: 3.188 kB / 4.749 GB, free: 32.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/14.66, allocations: 361.9 kB / 4.749 GB, free: 32.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/14.66, allocations: 355.4 kB / 4.75 GB, free: 32.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009902/14.67, allocations: 3.442 MB / 4.753 GB, free: 31.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/14.67, allocations: 1.073 MB / 4.754 GB, free: 30.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003648/14.67, allocations: 0.5043 MB / 4.755 GB, free: 30.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/14.67, allocations: 117.3 kB / 4.755 GB, free: 30.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/14.68, allocations: 3.938 kB / 4.755 GB, free: 30.71 MB / 442.7 MB Notification: Performance of Templates: time 0.08754/14.76, allocations: 39.03 MB / 4.793 GB, free: 28.72 MB / 442.7 MB