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.001492/0.001492, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001091, allocations: 89.27 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2887/0.2887, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.32e-05, allocations: 224 / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4034, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.358/2.762, allocations: 0.7914 GB / 1.257 GB, free: 130.3 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/2.762, allocations: 86.27 kB / 1.257 GB, free: 130.2 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 6.466/9.228, allocations: 1.129 GB / 2.386 GB, free: 59.71 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.315e-06/9.228, allocations: 0.875 kB / 2.386 GB, free: 59.71 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001956/9.228, allocations: 40.02 kB / 2.387 GB, free: 59.71 MB / 0.5265 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.02174/9.25, allocations: 2.341 MB / 2.389 GB, free: 59.16 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/9.25, allocations: 9.312 kB / 2.389 GB, free: 59.16 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008127/9.258, allocations: 442.5 kB / 2.389 GB, free: 59.07 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005081/9.263, allocations: 1.2 MB / 2.39 GB, free: 58.82 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/9.264, allocations: 43.12 kB / 2.39 GB, free: 58.82 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007162/9.264, allocations: 64.12 kB / 2.391 GB, free: 58.82 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01018/9.274, allocations: 3.427 MB / 2.394 GB, free: 58.81 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007326/9.282, allocations: 2.389 MB / 2.396 GB, free: 58.61 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.979e-05/9.282, allocations: 0 / 2.396 GB, free: 58.61 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000386/9.282, allocations: 6.266 kB / 2.396 GB, free: 58.61 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002858/9.283, allocations: 144.2 kB / 2.396 GB, free: 58.61 MB / 0.5265 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.02973/9.312, allocations: 8.579 MB / 2.405 GB, free: 56.27 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006733/9.319, allocations: 1.668 MB / 2.406 GB, free: 56.25 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/9.321, allocations: 0.8906 MB / 2.407 GB, free: 56.24 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/9.323, allocations: 0.8137 MB / 2.408 GB, free: 55.58 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/9.323, allocations: 50.41 kB / 2.408 GB, free: 55.54 MB / 0.5265 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005539/9.329, allocations: 0.7679 MB / 2.409 GB, free: 55.52 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=74): time 1.069e-05/9.329, allocations: 0 / 2.409 GB, free: 55.52 MB / 0.5265 GB Notification: Performance of matching and sorting (n=74): time 0.007124/9.336, allocations: 2.353 MB / 2.411 GB, free: 55.41 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/9.336, allocations: 135.5 kB / 2.411 GB, free: 55.26 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/9.338, allocations: 0.783 MB / 2.412 GB, free: 55.13 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0005441/9.338, allocations: 25.7 kB / 2.412 GB, free: 55.1 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/9.339, allocations: 0.6809 MB / 2.413 GB, free: 54.77 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005278/9.339, allocations: 251.6 kB / 2.413 GB, free: 54.64 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/9.34, allocations: 0 / 2.413 GB, free: 54.64 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001075/9.34, allocations: 352.9 kB / 2.413 GB, free: 54.33 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/9.342, allocations: 0.9315 MB / 2.414 GB, free: 54.32 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/9.344, allocations: 1.1 MB / 2.415 GB, free: 54.15 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/9.36, allocations: 2.423 MB / 2.418 GB, free: 54.13 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/9.36, allocations: 0 / 2.418 GB, free: 54.13 MB / 0.5265 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.02063/9.381, allocations: 4.051 MB / 2.422 GB, free: 54.04 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003479/9.381, allocations: 1.575 MB / 2.423 GB, free: 52.41 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/9.381, allocations: 3.219 kB / 2.423 GB, free: 52.41 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03634/9.418, allocations: 3.881 MB / 2.427 GB, free: 52.4 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/9.42, allocations: 203.1 kB / 2.427 GB, free: 52.4 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005855/9.426, allocations: 2.678 MB / 2.43 GB, free: 51.85 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/9.429, allocations: 78.31 kB / 2.43 GB, free: 51.84 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/9.429, allocations: 82.17 kB / 2.43 GB, free: 51.84 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/9.429, allocations: 3.969 kB / 2.43 GB, free: 51.84 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02004/9.449, allocations: 3.493 MB / 2.433 GB, free: 51.8 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/9.449, allocations: 6.375 kB / 2.433 GB, free: 51.8 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009502/9.45, allocations: 139.4 kB / 2.433 GB, free: 51.79 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/9.453, allocations: 277.6 kB / 2.434 GB, free: 51.79 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/9.457, allocations: 2.057 MB / 2.436 GB, free: 50.59 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/9.46, allocations: 78.41 kB / 2.436 GB, free: 50.58 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/9.46, allocations: 75.28 kB / 2.436 GB, free: 50.58 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0005863/9.461, allocations: 131.7 kB / 2.436 GB, free: 50.47 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005129/9.461, allocations: 100.4 kB / 2.436 GB, free: 50.43 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007598/9.469, allocations: 2.488 MB / 2.438 GB, free: 50.33 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/9.469, allocations: 9.375 kB / 2.439 GB, free: 50.33 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/9.469, allocations: 0 / 2.439 GB, free: 50.33 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/9.469, allocations: 3.609 kB / 2.439 GB, free: 50.33 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008523/9.478, allocations: 3.484 MB / 2.442 GB, free: 49.98 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/9.478, allocations: 7.766 kB / 2.442 GB, free: 49.98 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/9.479, allocations: 94.81 kB / 2.442 GB, free: 49.98 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01875/9.498, allocations: 2.747 MB / 2.445 GB, free: 49.96 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/9.498, allocations: 13.19 kB / 2.445 GB, free: 49.96 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/9.503, allocations: 2.243 MB / 2.447 GB, free: 49.42 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/9.503, allocations: 0 / 2.447 GB, free: 49.42 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/9.508, allocations: 2.087 MB / 2.449 GB, free: 49.18 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/9.509, allocations: 197.4 kB / 2.449 GB, free: 49.04 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/9.509, allocations: 2.5 kB / 2.449 GB, free: 49.04 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/9.512, allocations: 94.52 kB / 2.449 GB, free: 49.03 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/9.512, allocations: 46.28 kB / 2.449 GB, free: 49.03 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/9.512, allocations: 64.86 kB / 2.449 GB, free: 49.03 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.001038/9.513, allocations: 0.5969 MB / 2.45 GB, free: 48.94 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.4e-07/9.513, allocations: 0 / 2.45 GB, free: 48.94 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.00735/9.521, allocations: 1.937 MB / 2.452 GB, free: 48.65 MB / 0.5265 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.00957/9.53, allocations: 2.736 MB / 2.454 GB, free: 48.2 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.007872/9.538, allocations: 3.138 MB / 2.458 GB, free: 48.06 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/9.538, allocations: 4.438 kB / 2.458 GB, free: 48.05 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/9.54, allocations: 0.7911 MB / 2.458 GB, free: 48.04 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/9.544, allocations: 484.6 kB / 2.459 GB, free: 48.03 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/9.549, allocations: 2 MB / 2.461 GB, free: 47.55 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/9.55, allocations: 1.333 MB / 2.462 GB, free: 46.83 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009065/9.551, allocations: 92.62 kB / 2.462 GB, free: 46.82 MB / 0.5265 GB Notification: Performance of SimCode: time 1.293e-06/9.551, allocations: 0 / 2.462 GB, free: 46.82 MB / 0.5265 GB Notification: Performance of Templates: time 0.08878/9.64, allocations: 46.4 MB / 2.507 GB, free: 45.23 MB / 0.5265 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)