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 loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.3 MB / 223.8 MB, free: 452 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.963e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3613, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.09975/0.4611, allocations: 60.86 MB / 385.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0506/0.5118, allocations: 26.55 MB / 412.3 MB, free: 7.922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.5143, allocations: 63.5 kB / 412.4 MB, free: 7.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.5177, allocations: 0.8396 MB / 413.2 MB, free: 7.016 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/TestComponents/Sensors/TestTemperature2.mo:86:3-86:124:writable] Warning: Conditional component m_flow_in is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.01472/0.5324, allocations: 3.56 MB / 416.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01813/0.5506, allocations: 4.658 MB / 421.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006304/0.5569, allocations: 2.566 MB / 424 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.559, allocations: 0.8844 MB / 424.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01766/0.5767, allocations: 6.9 MB / 431.8 MB, free: 4.406 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.5795, allocations: 0.9738 MB / 432.7 MB, free: 3.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02047/0.6, allocations: 6.4 MB / 439.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003303/0.6033, allocations: 432 kB / 439.6 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.6047, allocations: 0.5805 MB / 440.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009297/0.6056, allocations: 224 kB / 440.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.617, allocations: 4.342 MB / 444.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6171, allocations: 0 / 444.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6171, allocations: 0 / 444.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.983e-05/0.6172, allocations: 0 / 444.7 MB, free: 7.449 MB / 378.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.008824/0.626, allocations: 2.328 MB / 447 MB, free: 5.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.6261, allocations: 8.031 kB / 447 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009424/0.6355, allocations: 0.7822 MB / 447.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/0.6391, allocations: 1.052 MB / 448.9 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007501/0.6399, allocations: 456.4 kB / 449.3 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008493/0.6408, allocations: 172 kB / 449.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.6539, allocations: 3.162 MB / 452.6 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/0.6541, allocations: 11.92 kB / 452.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004148/0.6545, allocations: 91.92 kB / 452.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.6547, allocations: 90.66 kB / 452.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.6675, allocations: 2.785 MB / 455.6 MB, free: 12.1 MB / 394.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.03252/0.7001, allocations: 15.53 MB / 471.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006369/0.7065, allocations: 1.299 MB / 472.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3557/1.062, allocations: 18.48 MB / 490.9 MB, free: 128.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.037e-05/1.062, allocations: 45.58 kB / 491 MB, free: 128.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 3.587e-06/1.062, allocations: 0 / 491 MB, free: 128.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.02451/1.087, allocations: 4.947 MB / 495.9 MB, free: 127.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/1.087, allocations: 167.4 kB / 496.1 MB, free: 127.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/1.089, allocations: 1.063 MB / 497.1 MB, free: 126.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002129/1.089, allocations: 51.2 kB / 497.2 MB, free: 126.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/1.09, allocations: 0.9763 MB / 498.2 MB, free: 125.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004672/1.091, allocations: 425.7 kB / 498.6 MB, free: 125.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/1.091, allocations: 49.91 kB / 498.6 MB, free: 125.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/1.091, allocations: 452.2 kB / 499.1 MB, free: 125.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/1.093, allocations: 0.6385 MB / 499.7 MB, free: 125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/1.096, allocations: 1.937 MB / 0.4899 GB, free: 123 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/1.099, allocations: 0.9934 MB / 0.4909 GB, free: 122.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.304e-05/1.1, allocations: 12.5 kB / 0.4909 GB, free: 122.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008596/1.108, allocations: 2.783 MB / 0.4936 GB, free: 121.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/1.108, allocations: 28.83 kB / 0.4936 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.715e-05/1.108, allocations: 49.47 kB / 0.4937 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/1.11, allocations: 407.8 kB / 0.4941 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.113, allocations: 0.5459 MB / 0.4946 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/1.116, allocations: 2.735 MB / 0.4973 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/1.119, allocations: 189.8 kB / 0.4974 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/1.119, allocations: 146.3 kB / 0.4976 GB, free: 118.5 MB / 410.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 () * 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.001102/1.12, allocations: 0.5387 MB / 0.4981 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/1.12, allocations: 147.8 kB / 0.4982 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008937/1.129, allocations: 4.69 MB / 0.5028 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.954e-05/1.129, allocations: 45.88 kB / 0.5029 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.129, allocations: 0 / 0.5029 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.129, allocations: 9.156 kB / 0.5029 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/1.142, allocations: 6.838 MB / 0.5096 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.142, allocations: 11.25 kB / 0.5096 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.143, allocations: 247.6 kB / 0.5098 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/1.145, allocations: 402 kB / 0.5102 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/1.145, allocations: 28 kB / 0.5102 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/1.148, allocations: 2.778 MB / 0.5129 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.148, allocations: 4 kB / 0.5129 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008971/1.157, allocations: 4.118 MB / 0.517 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.158, allocations: 445.6 kB / 0.5174 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000516/1.159, allocations: 28 kB / 0.5174 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/1.161, allocations: 126.6 kB / 0.5175 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/1.161, allocations: 96.75 kB / 0.5176 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.161, allocations: 43.98 kB / 0.5177 GB, free: 101.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001384/1.162, allocations: 0.811 MB / 0.5185 GB, free: 100.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.162, allocations: 4 kB / 0.5185 GB, free: 100.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004994/1.167, allocations: 1.315 MB / 0.5197 GB, free: 99.16 MB / 410.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 () * 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.005939/1.173, allocations: 1.369 MB / 0.5211 GB, free: 98.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00599/1.179, allocations: 2.176 MB / 0.5232 GB, free: 95.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/1.179, allocations: 1 kB / 0.5232 GB, free: 95.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/1.183, allocations: 1.33 MB / 0.5245 GB, free: 94.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004953/1.188, allocations: 0.6091 MB / 0.5251 GB, free: 93.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/1.197, allocations: 5.476 MB / 0.5304 GB, free: 88.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/1.199, allocations: 1.651 MB / 0.5321 GB, free: 86.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003249/1.202, allocations: 0.893 MB / 0.5329 GB, free: 85.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/1.202, allocations: 131.4 kB / 0.5331 GB, free: 85.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/1.202, allocations: 0 / 0.5331 GB, free: 85.73 MB / 410.7 MB Notification: Performance of Templates: time 0.1305/1.333, allocations: 48.93 MB / 0.5808 GB, free: 36.88 MB / 410.7 MB