Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.654e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3313, allocations: 48.68 MB / 320 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.684/6.016, allocations: 2.49 GB / 2.802 GB, free: 98.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/6.016, allocations: 84.38 kB / 2.802 GB, free: 98.42 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.008/9.024, allocations: 0.7109 GB / 3.513 GB, free: 37.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.209e-06/9.024, allocations: 0 / 3.513 GB, free: 37.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001008/9.024, allocations: 41.73 kB / 3.513 GB, free: 37.17 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: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.008571/9.032, allocations: 2.579 MB / 3.516 GB, free: 35.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/9.032, allocations: 6.812 kB / 3.516 GB, free: 35.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007657/9.04, allocations: 0.6975 MB / 3.517 GB, free: 35.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/9.043, allocations: 0.97 MB / 3.518 GB, free: 35.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/9.043, allocations: 193.3 kB / 3.518 GB, free: 35.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/9.043, allocations: 74.22 kB / 3.518 GB, free: 35.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003055/9.046, allocations: 1.304 MB / 3.519 GB, free: 35.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/9.05, allocations: 1.632 MB / 3.521 GB, free: 34.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/9.05, allocations: 11.5 kB / 3.521 GB, free: 34.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/9.05, allocations: 3.906 kB / 3.521 GB, free: 34.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.188e-05/9.05, allocations: 52.03 kB / 3.521 GB, free: 34.53 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.5104/9.56, allocations: 81.13 MB / 3.6 GB, free: 45.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/9.562, allocations: 0.6264 MB / 3.601 GB, free: 45.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006099/9.562, allocations: 341 kB / 3.601 GB, free: 45.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03595/9.598, allocations: 14.63 MB / 3.615 GB, free: 37.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/9.598, allocations: 48.19 kB / 3.615 GB, free: 37.41 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009307/9.599, allocations: 96.56 kB / 3.615 GB, free: 37.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 5.449e-06/9.599, allocations: 6.125 kB / 3.615 GB, free: 37.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=86): time 0.01564/9.615, allocations: 3.13 MB / 3.618 GB, free: 36.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/9.615, allocations: 162.8 kB / 3.619 GB, free: 36.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/9.616, allocations: 0.7309 MB / 3.619 GB, free: 36.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/9.617, allocations: 25.7 kB / 3.619 GB, free: 36.51 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/9.617, allocations: 0.7394 MB / 3.62 GB, free: 36.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/9.617, allocations: 296.4 kB / 3.62 GB, free: 35.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/9.617, allocations: 0 / 3.62 GB, free: 35.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/9.617, allocations: 375.1 kB / 3.621 GB, free: 35.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008074/9.618, allocations: 370.1 kB / 3.621 GB, free: 35.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/9.619, allocations: 1.047 MB / 3.622 GB, free: 34.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/9.623, allocations: 0.756 MB / 3.623 GB, free: 34.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-05/9.623, allocations: 5.938 kB / 3.623 GB, free: 34.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00574/9.629, allocations: 1.622 MB / 3.624 GB, free: 34.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00173/9.631, allocations: 8.961 MB / 3.633 GB, free: 25.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.861e-05/9.631, allocations: 23.61 kB / 3.633 GB, free: 25.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/9.631, allocations: 120.5 kB / 3.633 GB, free: 25.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/9.633, allocations: 409.5 kB / 3.634 GB, free: 25.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008683/9.634, allocations: 1.223 MB / 3.635 GB, free: 24.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/9.636, allocations: 133.2 kB / 3.635 GB, free: 24.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/9.636, allocations: 87.97 kB / 3.635 GB, free: 24.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/9.636, allocations: 10.44 kB / 3.635 GB, free: 24.29 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004508/9.641, allocations: 1.391 MB / 3.636 GB, free: 24.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/9.641, allocations: 22.53 kB / 3.636 GB, free: 24.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/9.641, allocations: 128.7 kB / 3.637 GB, free: 24.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/9.643, allocations: 401.8 kB / 3.637 GB, free: 24.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008653/9.644, allocations: 1.224 MB / 3.638 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/9.646, allocations: 126.8 kB / 3.638 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/9.646, allocations: 92.09 kB / 3.638 GB, free: 23.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 18 (volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase,volume2.inFlow[2],volume2.inFlow[1],sink1.medium.phase,volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004494/9.646, allocations: 181.1 kB / 3.639 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/9.647, allocations: 113.9 kB / 3.639 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006832/9.654, allocations: 4.143 MB / 3.643 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.939e-05/9.654, allocations: 62.14 kB / 3.643 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.226e-06/9.654, allocations: 0 / 3.643 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/9.654, allocations: 8.906 kB / 3.643 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009416/9.663, allocations: 5.788 MB / 3.648 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/9.663, allocations: 3.047 kB / 3.648 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/9.664, allocations: 212.3 kB / 3.649 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/9.665, allocations: 159.2 kB / 3.649 GB, free: 21.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.951e-05/9.665, allocations: 13.94 kB / 3.649 GB, free: 21.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008386/9.666, allocations: 1.283 MB / 3.65 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.176e-06/9.666, allocations: 8.297 kB / 3.65 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006214/9.672, allocations: 3.605 MB / 3.654 GB, free: 20.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008101/9.673, allocations: 366.7 kB / 3.654 GB, free: 20.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/9.673, allocations: 8.75 kB / 3.654 GB, free: 20.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/9.674, allocations: 95.31 kB / 3.654 GB, free: 20.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/9.674, allocations: 83.62 kB / 3.654 GB, free: 20.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/9.675, allocations: 40.91 kB / 3.654 GB, free: 20.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008574/9.675, allocations: 0.4992 MB / 3.655 GB, free: 20.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.71e-07/9.675, allocations: 0 / 3.655 GB, free: 20.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00656/9.682, allocations: 1.469 MB / 3.656 GB, free: 20.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008468/9.691, allocations: 2.11 MB / 3.658 GB, free: 19.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004951/9.696, allocations: 2.261 MB / 3.66 GB, free: 19.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.871e-06/9.696, allocations: 5.125 kB / 3.66 GB, free: 19.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/9.697, allocations: 1.126 MB / 3.661 GB, free: 19.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/9.7, allocations: 469.2 kB / 3.662 GB, free: 19.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/9.706, allocations: 3.092 MB / 3.665 GB, free: 18.97 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/9.707, allocations: 1.473 MB / 3.666 GB, free: 18.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/9.707, allocations: 135.7 kB / 3.666 GB, free: 18.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.737e-06/9.707, allocations: 0 / 3.666 GB, free: 18.22 MB / 474.7 MB Notification: Performance of Templates: time 0.08106/9.788, allocations: 55.64 MB / 3.721 GB, free: 14.03 MB / 474.7 MB