Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") 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.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002186/0.002186, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 94.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2699/0.2699, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.461e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.323/2.441, allocations: 0.792 GB / 1.265 GB, free: 41.69 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/2.441, allocations: 85.42 kB / 1.265 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.007/8.448, allocations: 1.144 GB / 2.409 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/8.448, allocations: 0 / 2.409 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001285/8.448, allocations: 41.47 kB / 2.409 GB, free: 55.81 MB / 0.5261 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.01974/8.468, allocations: 2.345 MB / 2.412 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/8.468, allocations: 10.69 kB / 2.412 GB, free: 54.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007659/8.476, allocations: 446.1 kB / 2.412 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/8.48, allocations: 1.195 MB / 2.413 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/8.481, allocations: 94.52 kB / 2.413 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008257/8.482, allocations: 110.7 kB / 2.413 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008306/8.49, allocations: 2.878 MB / 2.416 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/8.49, allocations: 10.89 kB / 2.416 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004836/8.49, allocations: 59.52 kB / 2.416 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002672/8.491, allocations: 134.6 kB / 2.416 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009833/8.501, allocations: 3.596 MB / 2.42 GB, free: 53.99 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.02553/8.526, allocations: 8.519 MB / 2.428 GB, free: 51.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006875/8.533, allocations: 1.555 MB / 2.43 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/8.535, allocations: 0.7827 MB / 2.431 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/8.537, allocations: 0.7968 MB / 2.431 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/8.537, allocations: 50.8 kB / 2.431 GB, free: 50.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005461/8.542, allocations: 0.8448 MB / 2.432 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 5.109e-06/8.542, allocations: 3.188 kB / 2.432 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.005293/8.548, allocations: 2.086 MB / 2.434 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/8.548, allocations: 137.8 kB / 2.434 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/8.551, allocations: 1.496 MB / 2.436 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003051/8.551, allocations: 42.48 kB / 2.436 GB, free: 50.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/8.551, allocations: 0.5875 MB / 2.436 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/8.552, allocations: 267.9 kB / 2.437 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/8.552, allocations: 21.88 kB / 2.437 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/8.552, allocations: 350.8 kB / 2.437 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/8.554, allocations: 0.8179 MB / 2.438 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/8.556, allocations: 1.018 MB / 2.439 GB, free: 49.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/8.558, allocations: 0.934 MB / 2.44 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/8.558, allocations: 0 / 2.44 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007095/8.565, allocations: 2.531 MB / 2.442 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003828/8.566, allocations: 1.832 MB / 2.444 GB, free: 46.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/8.566, allocations: 4.406 kB / 2.444 GB, free: 46.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03748/8.603, allocations: 3.607 MB / 2.448 GB, free: 46.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/8.605, allocations: 187.6 kB / 2.448 GB, free: 46.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/8.61, allocations: 2.245 MB / 2.45 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/8.613, allocations: 84.36 kB / 2.45 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/8.614, allocations: 82.5 kB / 2.45 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/8.614, allocations: 3.281 kB / 2.45 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005947/8.62, allocations: 2.036 MB / 2.452 GB, free: 44.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/8.62, allocations: 7.594 kB / 2.452 GB, free: 44.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/8.621, allocations: 144.5 kB / 2.452 GB, free: 44.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/8.623, allocations: 262.5 kB / 2.452 GB, free: 44.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/8.627, allocations: 2.139 MB / 2.455 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/8.63, allocations: 81.92 kB / 2.455 GB, free: 43.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/8.63, allocations: 80.39 kB / 2.455 GB, free: 43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.0005615/8.631, allocations: 160.1 kB / 2.455 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005404/8.631, allocations: 159.2 kB / 2.455 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007042/8.638, allocations: 2.266 MB / 2.457 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/8.638, allocations: 11.03 kB / 2.457 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/8.638, allocations: 7.5 kB / 2.457 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/8.638, allocations: 6.125 kB / 2.457 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007734/8.646, allocations: 3.207 MB / 2.46 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/8.646, allocations: 0 / 2.46 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/8.647, allocations: 77.17 kB / 2.46 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01971/8.667, allocations: 2.452 MB / 2.463 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/8.667, allocations: 16.69 kB / 2.463 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/8.671, allocations: 1.885 MB / 2.465 GB, free: 39.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/8.671, allocations: 1.812 kB / 2.465 GB, free: 39.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004558/8.675, allocations: 1.867 MB / 2.467 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008078/8.676, allocations: 267.6 kB / 2.467 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/8.676, allocations: 12 kB / 2.467 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/8.679, allocations: 82.72 kB / 2.467 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/8.679, allocations: 50.86 kB / 2.467 GB, free: 37.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/8.679, allocations: 64.8 kB / 2.467 GB, free: 37.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002254/8.682, allocations: 1.167 MB / 2.468 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/8.682, allocations: 0 / 2.468 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006952/8.688, allocations: 1.887 MB / 2.47 GB, free: 34.3 MB / 0.5261 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 () * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.009024/8.698, allocations: 2.528 MB / 2.472 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007616/8.705, allocations: 2.91 MB / 2.475 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/8.705, allocations: 5.406 kB / 2.475 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/8.707, allocations: 0.7149 MB / 2.476 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007524/8.715, allocations: 0.9328 MB / 2.477 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/8.719, allocations: 2.05 MB / 2.479 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/8.72, allocations: 1.323 MB / 2.48 GB, free: 25.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000848/8.721, allocations: 122.7 kB / 2.48 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/8.721, allocations: 3.219 kB / 2.48 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of Templates: time 0.5554/9.277, allocations: 51.68 MB / 2.531 GB, free: 74.17 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)