Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.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.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0043/0.004306, allocations: 362.5 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 4.215/4.215, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003591/0.003591, allocations: 231.1 kB / 451 MB, free: 145 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.5658/0.5658, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006656/0.0006659, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09938, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.846/2.946, allocations: 0.7871 GB / 1.467 GB, free: 141.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/2.946, allocations: 91.17 kB / 1.467 GB, free: 141.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.309/9.255, allocations: 1.135 GB / 2.603 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/9.255, allocations: 1.844 kB / 2.603 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001774/9.255, allocations: 35.86 kB / 2.603 GB, free: 64.54 MB / 0.5105 GB 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.02193/9.277, allocations: 2.488 MB / 2.605 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/9.277, allocations: 7.312 kB / 2.605 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007497/9.285, allocations: 420.5 kB / 2.605 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/9.289, allocations: 1.26 MB / 2.607 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/9.29, allocations: 93.2 kB / 2.607 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000734/9.29, allocations: 117.5 kB / 2.607 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009043/9.299, allocations: 2.923 MB / 2.61 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/9.3, allocations: 3.188 kB / 2.61 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005313/9.3, allocations: 53.38 kB / 2.61 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003229/9.3, allocations: 148.9 kB / 2.61 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/9.312, allocations: 3.658 MB / 2.614 GB, free: 63.32 MB / 0.5105 GB 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.02326/9.335, allocations: 7.382 MB / 2.621 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/9.338, allocations: 0.8359 MB / 2.622 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/9.34, allocations: 457.5 kB / 2.622 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/9.342, allocations: 0.8051 MB / 2.623 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/9.342, allocations: 41.72 kB / 2.623 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002196/9.344, allocations: 227.9 kB / 2.623 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 5.52e-06/9.344, allocations: 1.844 kB / 2.623 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56): time 0.01256/9.357, allocations: 2.218 MB / 2.625 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/9.357, allocations: 138.1 kB / 2.625 GB, free: 59.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/9.359, allocations: 1.048 MB / 2.626 GB, free: 59.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003321/9.36, allocations: 36.64 kB / 2.626 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007609/9.36, allocations: 0.7594 MB / 2.627 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000491/9.361, allocations: 208.8 kB / 2.627 GB, free: 59.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/9.361, allocations: 21.75 kB / 2.627 GB, free: 59.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001497/9.361, allocations: 355.4 kB / 2.628 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/9.363, allocations: 0.551 MB / 2.628 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/9.365, allocations: 0.8955 MB / 2.629 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/9.368, allocations: 0.685 MB / 2.63 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-05/9.368, allocations: 3.719 kB / 2.63 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006075/9.374, allocations: 1.858 MB / 2.632 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003004/9.374, allocations: 398.1 kB / 2.632 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/9.374, allocations: 10.97 kB / 2.632 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007081/9.381, allocations: 0.9252 MB / 2.633 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/9.384, allocations: 242.1 kB / 2.633 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/9.388, allocations: 1.474 MB / 2.635 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/9.391, allocations: 97.3 kB / 2.635 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004724/9.391, allocations: 93.88 kB / 2.635 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/9.391, allocations: 7.344 kB / 2.635 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005319/9.397, allocations: 1.579 MB / 2.636 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/9.397, allocations: 13.36 kB / 2.636 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/9.398, allocations: 170.2 kB / 2.636 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/9.4, allocations: 272.8 kB / 2.637 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/9.404, allocations: 2.188 MB / 2.639 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/9.406, allocations: 85.41 kB / 2.639 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/9.407, allocations: 84.41 kB / 2.639 GB, free: 56.09 MB / 0.5105 GB 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.001251/9.408, allocations: 0.5201 MB / 2.64 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/9.408, allocations: 115 kB / 2.64 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/9.413, allocations: 1.446 MB / 2.641 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/9.413, allocations: 3.531 kB / 2.641 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/9.413, allocations: 3.812 kB / 2.641 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/9.413, allocations: 7.031 kB / 2.641 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/9.419, allocations: 2.459 MB / 2.643 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/9.419, allocations: 3.875 kB / 2.643 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/9.42, allocations: 76.53 kB / 2.644 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00644/9.427, allocations: 0.9176 MB / 2.644 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/9.427, allocations: 16.39 kB / 2.644 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/9.43, allocations: 1.432 MB / 2.646 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/9.43, allocations: 1.969 kB / 2.646 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/9.434, allocations: 1.301 MB / 2.647 GB, free: 54.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/9.434, allocations: 198 kB / 2.647 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/9.435, allocations: 15.55 kB / 2.647 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/9.436, allocations: 49.12 kB / 2.647 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/9.436, allocations: 42.25 kB / 2.647 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/9.436, allocations: 39.47 kB / 2.647 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001445/9.438, allocations: 0.7056 MB / 2.648 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.363e-06/9.438, allocations: 4.312 kB / 2.648 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007724/9.445, allocations: 1.867 MB / 2.65 GB, free: 54.12 MB / 0.5105 GB 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.009868/9.455, allocations: 2.47 MB / 2.652 GB, free: 53.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007521/9.463, allocations: 2.234 MB / 2.655 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/9.463, allocations: 0 / 2.655 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/9.465, allocations: 486.3 kB / 2.655 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/9.469, allocations: 445.5 kB / 2.655 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/9.475, allocations: 2.82 MB / 2.658 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/9.476, allocations: 1.33 MB / 2.66 GB, free: 51.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003716/9.48, allocations: 0.5545 MB / 2.66 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/9.481, allocations: 108.7 kB / 2.66 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/9.481, allocations: 0 / 2.66 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.1177/9.598, allocations: 53.82 MB / 2.713 GB, free: 50.06 MB / 0.5105 GB