Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002723/0.002728, allocations: 347.1 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.608/3.608, allocations: 341.5 MB / 358.2 MB, free: 28.6 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.009768/0.009768, allocations: 203.6 kB / 397.8 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5551/0.5551, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.0005264, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09617, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.45/12.54, allocations: 3.679 GB / 4.286 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/12.54, allocations: 94.73 kB / 4.286 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.239/21.78, allocations: 1.437 GB / 5.724 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.136e-06/21.78, allocations: 2.969 kB / 5.724 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003469/21.78, allocations: 59.78 kB / 5.724 GB, free: 26.29 MB / 0.5105 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.03891/21.82, allocations: 7.538 MB / 5.731 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/21.82, allocations: 7.438 kB / 5.731 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/21.82, allocations: 285.7 kB / 5.731 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006621/21.83, allocations: 1.64 MB / 5.733 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/21.83, allocations: 150.5 kB / 5.733 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/21.83, allocations: 181.8 kB / 5.733 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/21.84, allocations: 3.158 MB / 5.736 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/21.84, allocations: 6.422 kB / 5.736 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000529/21.84, allocations: 87.03 kB / 5.736 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003825/21.84, allocations: 183.9 kB / 5.736 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/21.85, allocations: 3.513 MB / 5.74 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04597/21.9, allocations: 11.52 MB / 5.751 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0069/21.91, allocations: 1.627 MB / 5.753 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004279/21.91, allocations: 1.056 MB / 5.754 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007113/21.92, allocations: 4.704 MB / 5.758 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.264e-05/21.92, allocations: 53.94 kB / 5.758 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00437/21.92, allocations: 324.9 kB / 5.759 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 9.347e-06/21.92, allocations: 0 / 5.759 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=169): time 0.05712/21.98, allocations: 9.039 MB / 5.768 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.976e-05/21.98, allocations: 200.5 kB / 5.768 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003822/21.99, allocations: 1.635 MB / 5.769 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008024/21.99, allocations: 58.64 kB / 5.769 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/21.99, allocations: 1.015 MB / 5.77 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001343/21.99, allocations: 0.5891 MB / 5.771 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/21.99, allocations: 47.97 kB / 5.771 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002365/21.99, allocations: 403.1 kB / 5.771 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/21.99, allocations: 1.186 MB / 5.773 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00515/22, allocations: 1.736 MB / 5.774 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/22, allocations: 1.472 MB / 5.776 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/22, allocations: 7.531 kB / 5.776 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01764/22.02, allocations: 4.043 MB / 5.78 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004713/22.02, allocations: 0.5834 MB / 5.78 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/22.02, allocations: 15.06 kB / 5.78 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0133/22.04, allocations: 1.326 MB / 5.782 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/22.04, allocations: 0.5448 MB / 5.782 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/22.05, allocations: 2.143 MB / 5.784 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/22.05, allocations: 207.8 kB / 5.784 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008844/22.05, allocations: 182.5 kB / 5.785 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/22.05, allocations: 3.25 kB / 5.785 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01669/22.07, allocations: 3.782 MB / 5.788 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-05/22.07, allocations: 15.12 kB / 5.788 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009646/22.08, allocations: 0.9656 MB / 5.789 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004795/22.08, allocations: 0.5438 MB / 5.79 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/22.09, allocations: 1.916 MB / 5.792 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00487/22.09, allocations: 195.5 kB / 5.792 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007152/22.09, allocations: 175.5 kB / 5.792 GB, free: 4.078 MB / 0.5105 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,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.002057/22.1, allocations: 0.6414 MB / 5.793 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007283/22.1, allocations: 204.8 kB / 5.793 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/22.11, allocations: 4.005 MB / 5.797 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/22.11, allocations: 24.12 kB / 5.797 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/22.11, allocations: 0 / 5.797 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/22.11, allocations: 7.594 kB / 5.797 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/22.13, allocations: 5.699 MB / 5.802 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/22.13, allocations: 10.47 kB / 5.802 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/22.13, allocations: 337.8 kB / 5.803 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/22.14, allocations: 1.176 MB / 5.804 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007632/22.14, allocations: 75.62 kB / 5.804 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004885/22.15, allocations: 2.048 MB / 5.806 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.578e-05/22.15, allocations: 11.95 kB / 5.806 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/22.16, allocations: 4.471 MB / 5.81 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/22.17, allocations: 310.1 kB / 5.81 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/22.17, allocations: 47.95 kB / 5.811 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004384/22.17, allocations: 155.4 kB / 5.811 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008492/22.17, allocations: 148.3 kB / 5.811 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000544/22.17, allocations: 119 kB / 5.811 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002988/22.18, allocations: 1.104 MB / 5.812 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/22.18, allocations: 0 / 5.812 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01681/22.19, allocations: 3.168 MB / 5.815 GB, free: 4.312 MB / 0.5261 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.01782/22.21, allocations: 4.235 MB / 5.819 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02533/22.24, allocations: 5.206 MB / 5.824 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/22.24, allocations: 0 / 5.824 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005504/22.24, allocations: 1.359 MB / 5.826 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/22.25, allocations: 1.065 MB / 5.827 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/22.28, allocations: 7.917 MB / 5.834 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/22.28, allocations: 1.722 MB / 5.836 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009317/22.29, allocations: 1.218 MB / 5.837 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/22.29, allocations: 264 kB / 5.838 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of SimCode: time 1.543e-06/22.29, allocations: 0 / 5.838 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of Templates: time 0.7675/23.06, allocations: 102.4 MB / 5.938 GB, free: 44.96 MB / 0.5417 GB