Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003926/0.003926, allocations: 347.2 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.504/3.504, 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.003647/0.003646, allocations: 223.6 kB / 397.8 MB, free: 6.004 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.4822/0.4822, allocations: 76.1 MB / 0.5014 GB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006761/0.0006763, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09675, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.396/7.493, allocations: 2.486 GB / 3.093 GB, free: 105.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/7.493, allocations: 88.39 kB / 3.093 GB, free: 105.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228/11.72, allocations: 0.7445 GB / 3.837 GB, free: 25.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.615e-06/11.72, allocations: 0 / 3.837 GB, free: 25.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001622/11.72, allocations: 50.55 kB / 3.837 GB, free: 25.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01362/11.74, allocations: 3.034 MB / 3.84 GB, free: 23.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/11.74, allocations: 16.25 kB / 3.84 GB, free: 23.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/11.75, allocations: 0.7888 MB / 3.841 GB, free: 23.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005077/11.76, allocations: 1.143 MB / 3.842 GB, free: 23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007071/11.76, allocations: 459.4 kB / 3.843 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000904/11.76, allocations: 170.6 kB / 3.843 GB, free: 22.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/11.77, allocations: 3.191 MB / 3.846 GB, free: 21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/11.77, allocations: 15.75 kB / 3.846 GB, free: 21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009009/11.78, allocations: 77.73 kB / 3.846 GB, free: 20.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/11.78, allocations: 92.95 kB / 3.846 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/11.79, allocations: 2.767 MB / 3.849 GB, free: 20.15 MB / 458.7 MB 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.02951/11.82, allocations: 15.46 MB / 3.864 GB, free: 5.777 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005823/11.83, allocations: 1.293 MB / 3.865 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/11.83, allocations: 481.7 kB / 3.866 GB, free: 4.328 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08372/11.91, allocations: 18.42 MB / 3.884 GB, free: 2.992 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/11.91, allocations: 51.55 kB / 3.884 GB, free: 2.934 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 4.108e-06/11.91, allocations: 0 / 3.884 GB, free: 2.934 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.4396/12.35, allocations: 4.797 MB / 3.888 GB, free: 45.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/12.35, allocations: 164.5 kB / 3.889 GB, free: 45.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/12.36, allocations: 1.207 MB / 3.89 GB, free: 45.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002982/12.36, allocations: 45.17 kB / 3.89 GB, free: 45.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008476/12.36, allocations: 0.9729 MB / 3.891 GB, free: 45.03 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005326/12.36, allocations: 430.2 kB / 3.891 GB, free: 44.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/12.36, allocations: 48.31 kB / 3.891 GB, free: 44.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002622/12.36, allocations: 451.9 kB / 3.892 GB, free: 44.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/12.36, allocations: 0.6432 MB / 3.892 GB, free: 44.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/12.36, allocations: 1.943 MB / 3.894 GB, free: 42.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/12.37, allocations: 0.9851 MB / 3.895 GB, free: 42.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-05/12.37, allocations: 17.09 kB / 3.895 GB, free: 42.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01021/12.38, allocations: 2.787 MB / 3.898 GB, free: 42.67 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.178e-05/12.38, allocations: 28.61 kB / 3.898 GB, free: 42.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.49e-05/12.38, allocations: 48.81 kB / 3.898 GB, free: 42.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/12.38, allocations: 411 kB / 3.898 GB, free: 42.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/12.38, allocations: 0.5184 MB / 3.899 GB, free: 42.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/12.39, allocations: 2.715 MB / 3.901 GB, free: 40.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/12.39, allocations: 198.1 kB / 3.902 GB, free: 40.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005371/12.39, allocations: 146.5 kB / 3.902 GB, free: 40.55 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001596/12.39, allocations: 0.5534 MB / 3.902 GB, free: 40.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000573/12.39, allocations: 149.2 kB / 3.902 GB, free: 40.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/12.4, allocations: 4.66 MB / 3.907 GB, free: 39.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/12.4, allocations: 52.44 kB / 3.907 GB, free: 39.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/12.4, allocations: 0 / 3.907 GB, free: 39.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.402e-05/12.4, allocations: 6.75 kB / 3.907 GB, free: 39.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/12.42, allocations: 6.797 MB / 3.914 GB, free: 39.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/12.42, allocations: 11.45 kB / 3.914 GB, free: 39.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/12.42, allocations: 220.3 kB / 3.914 GB, free: 39.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/12.42, allocations: 397.9 kB / 3.914 GB, free: 39.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/12.42, allocations: 33.89 kB / 3.914 GB, free: 39.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/12.43, allocations: 2.766 MB / 3.917 GB, free: 37.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/12.43, allocations: 4.531 kB / 3.917 GB, free: 37.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009386/12.43, allocations: 3.914 MB / 3.921 GB, free: 36.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/12.44, allocations: 440.7 kB / 3.921 GB, free: 36.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/12.44, allocations: 27.28 kB / 3.921 GB, free: 36.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/12.44, allocations: 122 kB / 3.921 GB, free: 36.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/12.44, allocations: 98.25 kB / 3.922 GB, free: 36.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/12.44, allocations: 43.45 kB / 3.922 GB, free: 36.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001879/12.44, allocations: 0.8171 MB / 3.922 GB, free: 36.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.61e-07/12.44, allocations: 5.812 kB / 3.922 GB, free: 36.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009754/12.45, allocations: 1.454 MB / 3.924 GB, free: 36.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01491/12.47, allocations: 2.046 MB / 3.926 GB, free: 35.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009676/12.48, allocations: 2.17 MB / 3.928 GB, free: 35.92 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/12.48, allocations: 5.469 kB / 3.928 GB, free: 35.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005359/12.48, allocations: 1.304 MB / 3.929 GB, free: 35.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008163/12.49, allocations: 0.6282 MB / 3.93 GB, free: 35.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3804/12.87, allocations: 131.7 MB / 4.058 GB, free: 1.617 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/12.87, allocations: 1.653 MB / 4.06 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005842/12.88, allocations: 0.8874 MB / 4.061 GB, free: 15.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008732/12.88, allocations: 127.4 kB / 4.061 GB, free: 14.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.814e-06/12.88, allocations: 0 / 4.061 GB, free: 14.93 MB / 490.7 MB Notification: Performance of Templates: time 0.5265/13.41, allocations: 60.88 MB / 4.121 GB, free: 55.61 MB / 490.7 MB