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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadModel(ModelicaTest): time 1.878/1.878, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.16e-05, allocations: 7.938 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3986, allocations: 48.7 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.1207/0.5193, allocations: 60.85 MB / 385.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05102/0.5704, allocations: 26.57 MB / 412.3 MB, free: 8.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.5729, allocations: 63.56 kB / 412.3 MB, free: 7.949 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.5764, allocations: 0.8356 MB / 413.2 MB, free: 7.109 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.01489/0.5913, allocations: 3.552 MB / 416.7 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0183/0.6096, allocations: 4.658 MB / 421.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006194/0.6159, allocations: 2.566 MB / 423.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.6179, allocations: 0.8766 MB / 424.8 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01754/0.6355, allocations: 6.912 MB / 431.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.6381, allocations: 0.9817 MB / 432.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01942/0.6576, allocations: 6.396 MB / 439.1 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003211/0.6608, allocations: 432 kB / 439.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.6622, allocations: 0.5649 MB / 440.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009283/0.6632, allocations: 228 kB / 440.3 MB, free: 11.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.6743, allocations: 4.342 MB / 444.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6744, allocations: 0 / 444.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6744, allocations: 0 / 444.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.994e-05/0.6745, allocations: 0 / 444.7 MB, free: 7.551 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.00879/0.6833, allocations: 2.335 MB / 447 MB, free: 5.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.6834, allocations: 8.031 kB / 447 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009219/0.6926, allocations: 0.7744 MB / 447.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.6959, allocations: 1.048 MB / 448.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005431/0.6965, allocations: 460.4 kB / 449.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/0.6969, allocations: 168 kB / 449.4 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.7089, allocations: 3.174 MB / 452.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.835e-05/0.709, allocations: 15.88 kB / 452.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.7094, allocations: 79.98 kB / 452.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.7096, allocations: 82.67 kB / 452.8 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.7227, allocations: 2.793 MB / 455.6 MB, free: 12.2 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.02571/0.7484, allocations: 15.54 MB / 471.1 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006139/0.7546, allocations: 1.295 MB / 472.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3434/1.098, allocations: 18.48 MB / 490.9 MB, free: 128.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/1.098, allocations: 49.81 kB / 490.9 MB, free: 128.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 4.008e-06/1.098, allocations: 0 / 490.9 MB, free: 128.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.02525/1.123, allocations: 4.951 MB / 495.9 MB, free: 127.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/1.124, allocations: 166.3 kB / 496.1 MB, free: 127 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/1.126, allocations: 1.064 MB / 497.1 MB, free: 126.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/1.126, allocations: 47.11 kB / 497.2 MB, free: 126.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006809/1.127, allocations: 0.9907 MB / 498.2 MB, free: 125.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004982/1.127, allocations: 422.9 kB / 498.6 MB, free: 125.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/1.127, allocations: 49.31 kB / 498.6 MB, free: 125.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/1.127, allocations: 411.6 kB / 499 MB, free: 125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/1.13, allocations: 0.6352 MB / 499.7 MB, free: 124.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/1.133, allocations: 1.942 MB / 0.4898 GB, free: 122.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/1.136, allocations: 0.9875 MB / 0.4908 GB, free: 122.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.425e-05/1.136, allocations: 17.12 kB / 0.4908 GB, free: 122.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008632/1.145, allocations: 2.732 MB / 0.4935 GB, free: 121.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/1.145, allocations: 25.25 kB / 0.4935 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.446e-05/1.145, allocations: 45.94 kB / 0.4936 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/1.147, allocations: 414.6 kB / 0.494 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/1.15, allocations: 0.5455 MB / 0.4945 GB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/1.153, allocations: 2.732 MB / 0.4972 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/1.156, allocations: 194.2 kB / 0.4973 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/1.156, allocations: 146.6 kB / 0.4975 GB, free: 118.6 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.001146/1.157, allocations: 0.5327 MB / 0.498 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/1.158, allocations: 149.1 kB / 0.4981 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009053/1.167, allocations: 4.684 MB / 0.5027 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.625e-05/1.167, allocations: 45.16 kB / 0.5028 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.167, allocations: 3.375 kB / 0.5028 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/1.167, allocations: 11.97 kB / 0.5028 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.18, allocations: 6.844 MB / 0.5095 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.18, allocations: 4 kB / 0.5095 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.181, allocations: 248 kB / 0.5097 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.183, allocations: 410.8 kB / 0.5101 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.183, allocations: 28 kB / 0.5101 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/1.186, allocations: 2.773 MB / 0.5128 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.186, allocations: 2.203 kB / 0.5128 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008445/1.194, allocations: 4.123 MB / 0.5168 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.195, allocations: 445.6 kB / 0.5173 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/1.196, allocations: 28 kB / 0.5173 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.198, allocations: 131 kB / 0.5174 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/1.198, allocations: 92.81 kB / 0.5175 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.198, allocations: 43.98 kB / 0.5176 GB, free: 101.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001405/1.199, allocations: 0.8149 MB / 0.5184 GB, free: 100.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.199, allocations: 0 / 0.5184 GB, free: 100.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005095/1.204, allocations: 1.318 MB / 0.5196 GB, free: 99.5 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.006103/1.211, allocations: 1.356 MB / 0.521 GB, free: 98.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005883/1.217, allocations: 2.18 MB / 0.5231 GB, free: 96.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.217, allocations: 0 / 0.5231 GB, free: 96.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003339/1.22, allocations: 1.327 MB / 0.5244 GB, free: 94.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/1.225, allocations: 0.609 MB / 0.525 GB, free: 94.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009272/1.234, allocations: 5.543 MB / 0.5304 GB, free: 88.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.236, allocations: 1.647 MB / 0.532 GB, free: 87.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/1.236, allocations: 147.4 kB / 0.5321 GB, free: 86.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/1.236, allocations: 0 / 0.5321 GB, free: 86.9 MB / 410.7 MB Notification: Performance of Templates: time 0.111/1.347, allocations: 73.94 MB / 0.6043 GB, free: 12.88 MB / 410.7 MB