Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00223/0.00223, 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.221/2.221, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001083/0.001082, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.2789/0.2789, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.108e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.42/11.54, allocations: 3.633 GB / 4.106 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/11.54, allocations: 88.5 kB / 4.106 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 9.129/20.67, allocations: 1.462 GB / 5.568 GB, free: 30.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/20.67, allocations: 2.969 kB / 5.568 GB, free: 30.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003316/20.67, allocations: 65.69 kB / 5.568 GB, free: 30.61 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.03415/20.71, allocations: 7.274 MB / 5.575 GB, free: 27.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/20.71, allocations: 10.56 kB / 5.575 GB, free: 27.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/20.71, allocations: 286.4 kB / 5.575 GB, free: 26.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006368/20.71, allocations: 1.552 MB / 5.576 GB, free: 26.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/20.71, allocations: 152.3 kB / 5.577 GB, free: 26.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/20.72, allocations: 188.9 kB / 5.577 GB, free: 26.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/20.73, allocations: 3.089 MB / 5.58 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-05/20.73, allocations: 2.688 kB / 5.58 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/20.73, allocations: 80.22 kB / 5.58 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003842/20.73, allocations: 182.5 kB / 5.58 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/20.74, allocations: 3.398 MB / 5.583 GB, free: 26.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03876/20.78, allocations: 12.17 MB / 5.595 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005408/20.78, allocations: 1.755 MB / 5.597 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/20.79, allocations: 1.105 MB / 5.598 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002016/20.79, allocations: 1.677 MB / 5.6 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.905e-05/20.79, allocations: 58.19 kB / 5.6 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003938/20.79, allocations: 370.2 kB / 5.6 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 1.236e-05/20.79, allocations: 0 / 5.6 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.04162/20.83, allocations: 7.416 MB / 5.607 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.351e-05/20.83, allocations: 200 kB / 5.608 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/20.84, allocations: 1.775 MB / 5.609 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0008071/20.84, allocations: 61.58 kB / 5.609 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009166/20.84, allocations: 0.8947 MB / 5.61 GB, free: 18.19 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/20.84, allocations: 0.595 MB / 5.611 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/20.84, allocations: 41.78 kB / 5.611 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001913/20.84, allocations: 397 kB / 5.611 GB, free: 17.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/20.84, allocations: 1.225 MB / 5.612 GB, free: 17.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004222/20.85, allocations: 1.568 MB / 5.614 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/20.85, allocations: 1.465 MB / 5.615 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/20.85, allocations: 9.281 kB / 5.615 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01687/20.87, allocations: 3.917 MB / 5.619 GB, free: 16.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007063/20.87, allocations: 2.936 MB / 5.622 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/20.87, allocations: 7.125 kB / 5.622 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/20.88, allocations: 1.231 MB / 5.623 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004934/20.89, allocations: 0.5023 MB / 5.624 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/20.89, allocations: 2.015 MB / 5.626 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005752/20.9, allocations: 191.9 kB / 5.626 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/20.9, allocations: 169.8 kB / 5.626 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/20.9, allocations: 5.984 kB / 5.626 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01312/20.91, allocations: 3.382 MB / 5.629 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/20.91, allocations: 9.891 kB / 5.629 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008521/20.92, allocations: 0.8755 MB / 5.63 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005031/20.93, allocations: 0.5054 MB / 5.631 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/20.93, allocations: 1.803 MB / 5.633 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/20.93, allocations: 192.1 kB / 5.633 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/20.94, allocations: 161.6 kB / 5.633 GB, free: 11.54 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001444/20.94, allocations: 226.9 kB / 5.633 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009296/20.94, allocations: 229.3 kB / 5.633 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/20.95, allocations: 4.011 MB / 5.637 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/20.95, allocations: 16.62 kB / 5.637 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/20.95, allocations: 1.219 kB / 5.637 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.485e-05/20.95, allocations: 16.78 kB / 5.637 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/20.97, allocations: 6.199 MB / 5.643 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/20.97, allocations: 3.844 kB / 5.643 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/20.98, allocations: 337.7 kB / 5.644 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009288/20.99, allocations: 1.079 MB / 5.645 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000733/20.99, allocations: 75.47 kB / 5.645 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/20.99, allocations: 1.939 MB / 5.647 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/20.99, allocations: 5.375 kB / 5.647 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/21.01, allocations: 4.793 MB / 5.651 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/21.01, allocations: 363.7 kB / 5.652 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/21.01, allocations: 42.38 kB / 5.652 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004846/21.01, allocations: 162.2 kB / 5.652 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008295/21.01, allocations: 152.1 kB / 5.652 GB, free: 24.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005961/21.01, allocations: 136 kB / 5.652 GB, free: 24.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003793/21.02, allocations: 1.387 MB / 5.653 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.92e-07/21.02, allocations: 2.188 kB / 5.654 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01573/21.03, allocations: 3.246 MB / 5.657 GB, free: 23.58 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01647/21.05, allocations: 4.238 MB / 5.661 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01577/21.07, allocations: 4.81 MB / 5.666 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/21.07, allocations: 1.062 kB / 5.666 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004241/21.07, allocations: 1.355 MB / 5.667 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/21.08, allocations: 1.255 MB / 5.668 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/21.09, allocations: 3.861 MB / 5.672 GB, free: 21.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/21.09, allocations: 1.705 MB / 5.673 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/21.1, allocations: 326 kB / 5.674 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.423e-06/21.1, allocations: 3.219 kB / 5.674 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.1842/21.28, allocations: 91.65 MB / 5.763 GB, free: 56 kB / 0.6198 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1)