Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002681/0.002686, allocations: 345.9 kB / 15.93 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.406/3.406, allocations: 341.5 MB / 358.2 MB, free: 28.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003518/0.003517, allocations: 211.4 kB / 397.8 MB, free: 6.152 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5437/0.5437, allocations: 76.09 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004962, allocations: 15.98 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09548, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.585/2.681, allocations: 0.7729 GB / 1.38 GB, free: 107.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/2.681, allocations: 91.7 kB / 1.38 GB, free: 107.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.808/8.489, allocations: 1.129 GB / 2.509 GB, free: 9.184 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.455e-06/8.489, allocations: 0 / 2.509 GB, free: 9.184 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000163/8.489, allocations: 40.16 kB / 2.509 GB, free: 9.145 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.02228/8.512, allocations: 2.491 MB / 2.511 GB, free: 6.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/8.512, allocations: 8.031 kB / 2.511 GB, free: 6.586 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007594/8.519, allocations: 409.6 kB / 2.511 GB, free: 6.184 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005052/8.525, allocations: 1.273 MB / 2.513 GB, free: 4.867 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/8.525, allocations: 94.22 kB / 2.513 GB, free: 4.773 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006568/8.525, allocations: 112 kB / 2.513 GB, free: 4.664 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009119/8.535, allocations: 2.923 MB / 2.516 GB, free: 1.664 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/8.535, allocations: 3.984 kB / 2.516 GB, free: 1.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004877/8.535, allocations: 51.98 kB / 2.516 GB, free: 1.609 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000303/8.535, allocations: 142.5 kB / 2.516 GB, free: 1.469 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3885/8.924, allocations: 3.653 MB / 2.52 GB, free: 51.75 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/8.945, allocations: 6.895 MB / 2.526 GB, free: 49.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/8.948, allocations: 0.8437 MB / 2.527 GB, free: 49.82 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/8.949, allocations: 458.4 kB / 2.528 GB, free: 49.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/8.951, allocations: 0.6755 MB / 2.528 GB, free: 49.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/8.951, allocations: 50.39 kB / 2.528 GB, free: 49.21 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002068/8.953, allocations: 234.3 kB / 2.528 GB, free: 49.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 6.051e-06/8.953, allocations: 0 / 2.528 GB, free: 49.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=56): time 0.01176/8.965, allocations: 2.213 MB / 2.531 GB, free: 48.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/8.965, allocations: 141.1 kB / 2.531 GB, free: 48.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/8.967, allocations: 1.055 MB / 2.532 GB, free: 48.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002988/8.968, allocations: 40.48 kB / 2.532 GB, free: 48.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/8.968, allocations: 0.7545 MB / 2.533 GB, free: 48.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/8.968, allocations: 208.6 kB / 2.533 GB, free: 48.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/8.969, allocations: 24.66 kB / 2.533 GB, free: 48.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/8.969, allocations: 349.3 kB / 2.533 GB, free: 47.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/8.97, allocations: 0.5422 MB / 2.534 GB, free: 47.92 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/8.972, allocations: 0.8955 MB / 2.534 GB, free: 47.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/8.974, allocations: 0.6832 MB / 2.535 GB, free: 47.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/8.974, allocations: 3.812 kB / 2.535 GB, free: 47.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00524/8.979, allocations: 1.839 MB / 2.537 GB, free: 47.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002901/8.98, allocations: 398.2 kB / 2.537 GB, free: 46.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/8.98, allocations: 10.5 kB / 2.537 GB, free: 46.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006839/8.986, allocations: 0.9239 MB / 2.538 GB, free: 46.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/8.988, allocations: 241.6 kB / 2.538 GB, free: 46.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/8.992, allocations: 1.472 MB / 2.54 GB, free: 46.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/8.995, allocations: 98.59 kB / 2.54 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/8.995, allocations: 79.95 kB / 2.54 GB, free: 46.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/8.995, allocations: 5.469 kB / 2.54 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005373/9.001, allocations: 1.558 MB / 2.542 GB, free: 46.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.416e-05/9.001, allocations: 11.12 kB / 2.542 GB, free: 46.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/9.002, allocations: 174.1 kB / 2.542 GB, free: 46.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/9.004, allocations: 263.6 kB / 2.542 GB, free: 46.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/9.009, allocations: 2.184 MB / 2.544 GB, free: 45.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/9.011, allocations: 83.08 kB / 2.544 GB, free: 45.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/9.011, allocations: 77.67 kB / 2.544 GB, free: 45.06 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (124): * Single equations (assignments): 123 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.001336/9.012, allocations: 0.5126 MB / 2.545 GB, free: 44.87 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/9.013, allocations: 111.9 kB / 2.545 GB, free: 44.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/9.017, allocations: 1.455 MB / 2.546 GB, free: 44.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/9.017, allocations: 3.875 kB / 2.546 GB, free: 44.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/9.017, allocations: 5.062 kB / 2.546 GB, free: 44.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/9.017, allocations: 3.703 kB / 2.546 GB, free: 44.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006151/9.024, allocations: 2.466 MB / 2.549 GB, free: 44.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/9.024, allocations: 2.094 kB / 2.549 GB, free: 44.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/9.024, allocations: 77 kB / 2.549 GB, free: 44.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006449/9.031, allocations: 0.925 MB / 2.55 GB, free: 44.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/9.031, allocations: 15.41 kB / 2.55 GB, free: 44.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/9.034, allocations: 1.427 MB / 2.551 GB, free: 43.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/9.034, allocations: 0.5625 kB / 2.551 GB, free: 43.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/9.037, allocations: 1.308 MB / 2.552 GB, free: 43.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000884/9.038, allocations: 294.3 kB / 2.553 GB, free: 43.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/9.039, allocations: 9.875 kB / 2.553 GB, free: 43.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/9.04, allocations: 56.27 kB / 2.553 GB, free: 43.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/9.04, allocations: 39.02 kB / 2.553 GB, free: 43.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/9.04, allocations: 37.34 kB / 2.553 GB, free: 43.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001364/9.042, allocations: 0.7053 MB / 2.554 GB, free: 43.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/9.042, allocations: 0 / 2.554 GB, free: 43.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00725/9.049, allocations: 1.858 MB / 2.555 GB, free: 43.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.009766/9.059, allocations: 2.511 MB / 2.558 GB, free: 43.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007133/9.066, allocations: 2.226 MB / 2.56 GB, free: 42.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/9.066, allocations: 3.094 kB / 2.56 GB, free: 42.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/9.068, allocations: 490.5 kB / 2.56 GB, free: 42.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/9.072, allocations: 451.7 kB / 2.561 GB, free: 42.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/9.082, allocations: 4.545 MB / 2.565 GB, free: 41.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/9.083, allocations: 1.328 MB / 2.567 GB, free: 40.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003071/9.086, allocations: 0.5047 MB / 2.567 GB, free: 40.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/9.086, allocations: 88.28 kB / 2.567 GB, free: 40.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/9.086, allocations: 3.094 kB / 2.567 GB, free: 40.97 MB / 474.7 MB Notification: Performance of Templates: time 0.1178/9.204, allocations: 53.92 MB / 2.62 GB, free: 39.68 MB / 474.7 MB