Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004165/0.004165, allocations: 367.6 kB / 15.95 MB, free: 6.191 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.166/4.166, allocations: 388.9 MB / 405.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003561/0.00356, allocations: 227.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6582/0.6582, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004594, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.104, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.83/11.94, allocations: 3.686 GB / 4.366 GB, free: 110.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/11.94, allocations: 92.2 kB / 4.366 GB, free: 110.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.331/21.27, allocations: 1.447 GB / 5.813 GB, free: 27.24 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.136e-06/21.27, allocations: 0 / 5.813 GB, free: 27.24 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0002925/21.27, allocations: 61.19 kB / 5.814 GB, free: 27.23 MB / 0.5574 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.03639/21.3, allocations: 7.545 MB / 5.821 GB, free: 22.98 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/21.3, allocations: 10.84 kB / 5.821 GB, free: 22.98 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/21.31, allocations: 291 kB / 5.821 GB, free: 22.85 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006138/21.31, allocations: 1.634 MB / 5.823 GB, free: 22.39 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/21.31, allocations: 146.7 kB / 5.823 GB, free: 22.38 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006722/21.31, allocations: 182.1 kB / 5.823 GB, free: 22.38 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009204/21.32, allocations: 3.161 MB / 5.826 GB, free: 22.14 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/21.32, allocations: 0 / 5.826 GB, free: 22.14 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005791/21.32, allocations: 86.75 kB / 5.826 GB, free: 22.14 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003663/21.32, allocations: 185.2 kB / 5.826 GB, free: 22.13 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/21.34, allocations: 3.513 MB / 5.83 GB, free: 22.11 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03693/21.37, allocations: 11.91 MB / 5.842 GB, free: 17.38 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/21.38, allocations: 1.634 MB / 5.843 GB, free: 17.34 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/21.38, allocations: 1.043 MB / 5.844 GB, free: 17.32 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005633/21.39, allocations: 4.707 MB / 5.849 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.923e-05/21.39, allocations: 58.16 kB / 5.849 GB, free: 13.04 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003605/21.39, allocations: 314.6 kB / 5.849 GB, free: 12.94 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=157): time 1.228e-05/21.39, allocations: 3.375 kB / 5.849 GB, free: 12.94 MB / 0.5574 GB Notification: Performance of matching and sorting (n=169): time 0.0564/21.45, allocations: 9.053 MB / 5.858 GB, free: 11.16 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.73e-05/21.45, allocations: 197.5 kB / 5.858 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/21.45, allocations: 1.634 MB / 5.86 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0007896/21.45, allocations: 63.67 kB / 5.86 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/21.45, allocations: 1.016 MB / 5.861 GB, free: 9.453 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/21.45, allocations: 0.5906 MB / 5.861 GB, free: 9 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/21.45, allocations: 50.22 kB / 5.861 GB, free: 8.961 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001979/21.45, allocations: 399 kB / 5.862 GB, free: 8.621 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/21.46, allocations: 1.189 MB / 5.863 GB, free: 8.199 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005235/21.46, allocations: 1.736 MB / 5.865 GB, free: 7.137 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/21.47, allocations: 1.471 MB / 5.866 GB, free: 6.492 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.104e-05/21.47, allocations: 3.562 kB / 5.866 GB, free: 6.492 MB / 0.5574 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01867/21.49, allocations: 4.049 MB / 5.87 GB, free: 5.039 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004599/21.49, allocations: 0.5718 MB / 5.871 GB, free: 4.289 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/21.49, allocations: 21.88 kB / 5.871 GB, free: 4.285 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/21.5, allocations: 1.313 MB / 5.872 GB, free: 3.727 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005225/21.51, allocations: 0.5449 MB / 5.872 GB, free: 3.27 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/21.51, allocations: 2.136 MB / 5.874 GB, free: 1.262 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005425/21.52, allocations: 209.1 kB / 5.875 GB, free: 1.098 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/21.52, allocations: 184.9 kB / 5.875 GB, free: 0.9414 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/21.52, allocations: 4 kB / 5.875 GB, free: 0.9375 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02178/21.54, allocations: 3.933 MB / 5.879 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.806e-05/21.54, allocations: 16 kB / 5.879 GB, free: 14.06 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/21.55, allocations: 0.9753 MB / 5.88 GB, free: 13.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00517/21.56, allocations: 0.5469 MB / 5.88 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005197/21.56, allocations: 1.928 MB / 5.882 GB, free: 11.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005089/21.57, allocations: 189.3 kB / 5.882 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/21.57, allocations: 178.9 kB / 5.882 GB, free: 10.78 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 () * Number of clocked 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.003033/21.57, allocations: 0.6422 MB / 5.883 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009968/21.57, allocations: 205.5 kB / 5.883 GB, free: 9.973 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/21.59, allocations: 3.998 MB / 5.887 GB, free: 6.629 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-05/21.59, allocations: 20 kB / 5.887 GB, free: 6.609 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/21.59, allocations: 0 / 5.887 GB, free: 6.609 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-05/21.59, allocations: 15.48 kB / 5.887 GB, free: 6.605 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/21.62, allocations: 5.635 MB / 5.893 GB, free: 1.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/21.62, allocations: 4 kB / 5.893 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/21.62, allocations: 339.1 kB / 5.893 GB, free: 1.695 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/21.63, allocations: 1.186 MB / 5.894 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007752/21.63, allocations: 84.89 kB / 5.894 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/21.64, allocations: 2.057 MB / 5.896 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/21.64, allocations: 8 kB / 5.896 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/21.65, allocations: 4.473 MB / 5.901 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/21.65, allocations: 312.3 kB / 5.901 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009467/21.65, allocations: 44 kB / 5.901 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/21.66, allocations: 154.4 kB / 5.901 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/21.66, allocations: 150.7 kB / 5.901 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004699/21.66, allocations: 123.4 kB / 5.901 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00294/21.66, allocations: 1.102 MB / 5.902 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.42e-07/21.66, allocations: 0 / 5.902 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01759/21.68, allocations: 3.171 MB / 5.906 GB, free: 6.125 MB / 0.5886 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 () * Number of clocked 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.01959/21.7, allocations: 4.222 MB / 5.91 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.5909/22.29, allocations: 4.82 MB / 5.914 GB, free: 56.09 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/22.29, allocations: 1.5 kB / 5.914 GB, free: 56.09 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005856/22.3, allocations: 1.36 MB / 5.916 GB, free: 56.08 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/22.31, allocations: 1.058 MB / 5.917 GB, free: 56.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/22.33, allocations: 7.911 MB / 5.925 GB, free: 54.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/22.33, allocations: 1.714 MB / 5.926 GB, free: 53.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.009899/22.34, allocations: 1.223 MB / 5.927 GB, free: 53.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/22.34, allocations: 261.7 kB / 5.928 GB, free: 53.27 MB / 0.5886 GB Notification: Performance of SimCode: time 1.653e-06/22.34, allocations: 0 / 5.928 GB, free: 53.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.2367/22.58, allocations: 102.5 MB / 6.028 GB, free: 47.61 MB / 0.5886 GB