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.00149/0.00149, allocations: 186.1 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001153/0.001153, allocations: 94.84 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4984/0.4984, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004456, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.617/2.736, allocations: 0.7921 GB / 1.271 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/2.736, allocations: 88.73 kB / 1.271 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.667/8.403, allocations: 1.144 GB / 2.415 GB, free: 176 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.725e-06/8.403, allocations: 0 / 2.415 GB, free: 176 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000173/8.403, allocations: 39.98 kB / 2.415 GB, free: 136 kB / 0.5417 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.4269/8.83, allocations: 2.468 MB / 2.417 GB, free: 63.72 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/8.83, allocations: 9.375 kB / 2.417 GB, free: 63.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008131/8.838, allocations: 440.6 kB / 2.418 GB, free: 63.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/8.844, allocations: 1.203 MB / 2.419 GB, free: 63.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/8.844, allocations: 95.12 kB / 2.419 GB, free: 63.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008705/8.845, allocations: 112.1 kB / 2.419 GB, free: 63.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009295/8.854, allocations: 2.938 MB / 2.422 GB, free: 63.17 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.868e-05/8.854, allocations: 1.094 kB / 2.422 GB, free: 63.17 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005014/8.855, allocations: 55.61 kB / 2.422 GB, free: 63.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002897/8.855, allocations: 138.2 kB / 2.422 GB, free: 63.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/8.866, allocations: 3.682 MB / 2.426 GB, free: 63.15 MB / 0.5417 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.02705/8.893, allocations: 8.526 MB / 2.434 GB, free: 60.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006538/8.899, allocations: 1.583 MB / 2.435 GB, free: 60.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/8.901, allocations: 0.8022 MB / 2.436 GB, free: 60.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/8.901, allocations: 50.45 kB / 2.436 GB, free: 60.02 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005872/8.907, allocations: 0.8341 MB / 2.437 GB, free: 59.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=74): time 9.988e-06/8.907, allocations: 3.438 kB / 2.437 GB, free: 59.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.02568/8.933, allocations: 4.19 MB / 2.441 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/8.933, allocations: 140 kB / 2.441 GB, free: 59.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/8.936, allocations: 1.506 MB / 2.443 GB, free: 59.44 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000472/8.937, allocations: 44.36 kB / 2.443 GB, free: 59.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/8.937, allocations: 0.594 MB / 2.443 GB, free: 59.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/8.938, allocations: 264.4 kB / 2.444 GB, free: 59.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/8.938, allocations: 19.69 kB / 2.444 GB, free: 59.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001043/8.938, allocations: 349.7 kB / 2.444 GB, free: 58.72 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/8.94, allocations: 0.8492 MB / 2.445 GB, free: 58.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/8.943, allocations: 1.048 MB / 2.446 GB, free: 58.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/8.945, allocations: 0.9641 MB / 2.447 GB, free: 58.51 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/8.945, allocations: 4 kB / 2.447 GB, free: 58.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008061/8.953, allocations: 2.593 MB / 2.449 GB, free: 58.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004195/8.954, allocations: 1.835 MB / 2.451 GB, free: 56.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.784e-05/8.954, allocations: 5.906 kB / 2.451 GB, free: 56.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03844/8.992, allocations: 3.621 MB / 2.455 GB, free: 56.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/8.994, allocations: 189.5 kB / 2.455 GB, free: 56.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/9, allocations: 2.257 MB / 2.457 GB, free: 55.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/9.003, allocations: 87.39 kB / 2.457 GB, free: 55.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/9.003, allocations: 83.81 kB / 2.457 GB, free: 55.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/9.003, allocations: 3.188 kB / 2.457 GB, free: 55.95 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006752/9.01, allocations: 2.11 MB / 2.459 GB, free: 55.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/9.01, allocations: 3.375 kB / 2.459 GB, free: 55.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/9.011, allocations: 142.8 kB / 2.459 GB, free: 55.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/9.014, allocations: 260.9 kB / 2.46 GB, free: 55.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/9.018, allocations: 2.191 MB / 2.462 GB, free: 54.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/9.02, allocations: 77.78 kB / 2.462 GB, free: 54.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/9.021, allocations: 86.83 kB / 2.462 GB, free: 54.64 MB / 0.5417 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 () * Number of clocked 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.001391/9.022, allocations: 0.5024 MB / 2.462 GB, free: 54.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/9.023, allocations: 152.4 kB / 2.463 GB, free: 54.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/9.031, allocations: 2.329 MB / 2.465 GB, free: 54.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/9.031, allocations: 11.16 kB / 2.465 GB, free: 54.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/9.031, allocations: 0.8438 kB / 2.465 GB, free: 54.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/9.031, allocations: 8.062 kB / 2.465 GB, free: 54.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009097/9.04, allocations: 3.269 MB / 2.468 GB, free: 53.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/9.041, allocations: 5.141 kB / 2.468 GB, free: 53.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/9.041, allocations: 75.05 kB / 2.468 GB, free: 53.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02073/9.062, allocations: 2.453 MB / 2.471 GB, free: 53.88 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/9.062, allocations: 29.8 kB / 2.471 GB, free: 53.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/9.066, allocations: 1.895 MB / 2.472 GB, free: 53.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/9.066, allocations: 0 / 2.472 GB, free: 53.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/9.071, allocations: 1.921 MB / 2.474 GB, free: 53.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008942/9.072, allocations: 266.8 kB / 2.475 GB, free: 52.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/9.073, allocations: 16.25 kB / 2.475 GB, free: 52.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/9.075, allocations: 89.59 kB / 2.475 GB, free: 52.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/9.075, allocations: 45.36 kB / 2.475 GB, free: 52.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/9.076, allocations: 60.47 kB / 2.475 GB, free: 52.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002611/9.078, allocations: 1.184 MB / 2.476 GB, free: 52.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.61e-07/9.078, allocations: 0 / 2.476 GB, free: 52.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007835/9.086, allocations: 1.889 MB / 2.478 GB, free: 52.77 MB / 0.5417 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01016/9.096, allocations: 2.525 MB / 2.48 GB, free: 52.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008853/9.105, allocations: 3 MB / 2.483 GB, free: 52.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/9.105, allocations: 3.875 kB / 2.483 GB, free: 52.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/9.107, allocations: 0.7405 MB / 2.484 GB, free: 52.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007775/9.115, allocations: 0.932 MB / 2.485 GB, free: 52.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/9.121, allocations: 3.013 MB / 2.488 GB, free: 51.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/9.122, allocations: 1.317 MB / 2.489 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008725/9.123, allocations: 128.1 kB / 2.489 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of SimCode: time 9.52e-07/9.123, allocations: 0 / 2.489 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.0986/9.222, allocations: 51.87 MB / 2.54 GB, free: 48.73 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)