Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001541/0.001541, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.461/1.461, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001665/0.001666, allocations: 118 kB / 252.6 MB, free: 4.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2215/0.2215, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.154e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09577, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.935/8.031, allocations: 3.686 GB / 4.13 GB, free: 146.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/8.031, allocations: 91.12 kB / 4.131 GB, free: 146.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.143/14.17, allocations: 1.457 GB / 5.587 GB, free: 25.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.933e-06/14.17, allocations: 0 / 5.587 GB, free: 25.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000185/14.17, allocations: 66.98 kB / 5.587 GB, free: 25.88 MB / 0.5573 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.03047/14.2, allocations: 7.263 MB / 5.595 GB, free: 21.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/14.2, allocations: 9 kB / 5.595 GB, free: 21.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/14.21, allocations: 282 kB / 5.595 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005315/14.21, allocations: 1.633 MB / 5.596 GB, free: 21.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/14.21, allocations: 153.2 kB / 5.597 GB, free: 21.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007083/14.21, allocations: 184.8 kB / 5.597 GB, free: 21.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005877/14.22, allocations: 3.069 MB / 5.6 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.561e-05/14.22, allocations: 2.078 kB / 5.6 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003164/14.22, allocations: 83.62 kB / 5.6 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/14.22, allocations: 187.2 kB / 5.6 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0056/14.22, allocations: 3.385 MB / 5.603 GB, free: 21.14 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/14.25, allocations: 11.98 MB / 5.615 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/14.25, allocations: 1.568 MB / 5.617 GB, free: 16.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/14.25, allocations: 1.003 MB / 5.618 GB, free: 16.37 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/14.25, allocations: 1.754 MB / 5.619 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/14.25, allocations: 54.91 kB / 5.619 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001888/14.25, allocations: 316 kB / 5.62 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=157): time 8.727e-06/14.25, allocations: 1.875 kB / 5.62 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=169): time 0.02298/14.28, allocations: 6.973 MB / 5.626 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/14.28, allocations: 205.5 kB / 5.627 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/14.28, allocations: 1.423 MB / 5.628 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000362/14.28, allocations: 56.86 kB / 5.628 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007984/14.28, allocations: 1.023 MB / 5.629 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007125/14.28, allocations: 0.5916 MB / 5.63 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/14.28, allocations: 44.78 kB / 5.63 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002467/14.28, allocations: 400.1 kB / 5.63 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/14.28, allocations: 1.097 MB / 5.631 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/14.29, allocations: 1.631 MB / 5.633 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/14.29, allocations: 1.383 MB / 5.634 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/14.29, allocations: 9.219 kB / 5.634 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.009103/14.3, allocations: 3.805 MB / 5.638 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001568/14.3, allocations: 5.939 MB / 5.644 GB, free: 21.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/14.3, allocations: 11.94 kB / 5.644 GB, free: 21.06 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006758/14.31, allocations: 1.216 MB / 5.645 GB, free: 21.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/14.31, allocations: 0.5421 MB / 5.645 GB, free: 21.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/14.31, allocations: 2.023 MB / 5.647 GB, free: 19.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/14.31, allocations: 207.6 kB / 5.647 GB, free: 19.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008015/14.32, allocations: 179.2 kB / 5.648 GB, free: 19.94 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/14.32, allocations: 3.344 kB / 5.648 GB, free: 19.94 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009737/14.33, allocations: 3.553 MB / 5.651 GB, free: 19.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.995e-05/14.33, allocations: 17.66 kB / 5.651 GB, free: 19.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00436/14.33, allocations: 0.8783 MB / 5.652 GB, free: 19.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/14.33, allocations: 0.5486 MB / 5.653 GB, free: 19.67 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/14.33, allocations: 1.806 MB / 5.654 GB, free: 18.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/14.34, allocations: 204.6 kB / 5.654 GB, free: 18.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005946/14.34, allocations: 173 kB / 5.655 GB, free: 18.59 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (271): * Single equations (assignments): 267 * 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.001043/14.34, allocations: 234.8 kB / 5.655 GB, free: 18.45 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000712/14.34, allocations: 207.1 kB / 5.655 GB, free: 18.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008369/14.35, allocations: 3.795 MB / 5.659 GB, free: 17.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/14.35, allocations: 18.84 kB / 5.659 GB, free: 17.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/14.35, allocations: 2.438 kB / 5.659 GB, free: 17.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/14.35, allocations: 9.469 kB / 5.659 GB, free: 17.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/14.36, allocations: 5.758 MB / 5.664 GB, free: 15.44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/14.36, allocations: 6.469 kB / 5.664 GB, free: 15.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/14.36, allocations: 340 kB / 5.665 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00505/14.37, allocations: 1.073 MB / 5.666 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/14.37, allocations: 78.77 kB / 5.666 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/14.37, allocations: 1.949 MB / 5.668 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/14.37, allocations: 6.969 kB / 5.668 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007588/14.38, allocations: 4.421 MB / 5.672 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/14.38, allocations: 309.3 kB / 5.672 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007281/14.38, allocations: 52.83 kB / 5.672 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/14.38, allocations: 156.9 kB / 5.673 GB, free: 11.35 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/14.38, allocations: 146.8 kB / 5.673 GB, free: 11.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003328/14.38, allocations: 115.3 kB / 5.673 GB, free: 11.32 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002427/14.39, allocations: 1.092 MB / 5.674 GB, free: 10.88 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/14.39, allocations: 0 / 5.674 GB, free: 10.88 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0146/14.4, allocations: 3.171 MB / 5.677 GB, free: 9.887 MB / 0.573 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.01603/14.42, allocations: 4.23 MB / 5.681 GB, free: 6.707 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01189/14.43, allocations: 4.6 MB / 5.686 GB, free: 2.465 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/14.43, allocations: 0 / 5.686 GB, free: 2.465 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00283/14.43, allocations: 1.266 MB / 5.687 GB, free: 1.316 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005647/14.44, allocations: 1.029 MB / 5.688 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/14.45, allocations: 4.048 MB / 5.692 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/14.45, allocations: 1.725 MB / 5.694 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.007161/14.46, allocations: 1.36 MB / 5.695 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/14.46, allocations: 238.6 kB / 5.695 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of SimCode: time 1.663e-06/14.46, allocations: 0 / 5.695 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.6103/15.07, allocations: 109.4 MB / 5.802 GB, free: 48.31 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1)