Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 234.9 MB / 250.5 MB, free: 9.445 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007396/0.0007397, allocations: 19.98 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.316, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.197/6.514, allocations: 2.601 GB / 2.962 GB, free: 111.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/6.514, allocations: 87.95 kB / 2.962 GB, free: 111.9 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.336/9.85, allocations: 0.7386 GB / 3.701 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.709e-06/9.85, allocations: 0 / 3.701 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001206/9.85, allocations: 36.61 kB / 3.701 GB, free: 34.98 MB / 0.4948 GB 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.00967/9.859, allocations: 2.791 MB / 3.703 GB, free: 33.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/9.859, allocations: 8.594 kB / 3.703 GB, free: 33.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007561/9.867, allocations: 0.7424 MB / 3.704 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/9.87, allocations: 0.9765 MB / 3.705 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/9.87, allocations: 234.8 kB / 3.705 GB, free: 33.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/9.87, allocations: 122.8 kB / 3.705 GB, free: 33.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006862/9.877, allocations: 2.277 MB / 3.708 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/9.877, allocations: 9.75 kB / 3.708 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/9.878, allocations: 60.16 kB / 3.708 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.436e-05/9.878, allocations: 56.97 kB / 3.708 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007404/9.885, allocations: 2.031 MB / 3.71 GB, free: 32.63 MB / 0.4948 GB 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.01288/9.898, allocations: 10.53 MB / 3.72 GB, free: 25.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00442/9.903, allocations: 1.145 MB / 3.721 GB, free: 25.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04578/9.948, allocations: 19.15 MB / 3.74 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/9.948, allocations: 47.31 kB / 3.74 GB, free: 31.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008892/9.949, allocations: 119.5 kB / 3.74 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 4.827e-06/9.949, allocations: 0 / 3.74 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01548/9.965, allocations: 3.831 MB / 3.744 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/9.965, allocations: 166.9 kB / 3.744 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/9.966, allocations: 0.7616 MB / 3.745 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/9.966, allocations: 44.08 kB / 3.745 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/9.967, allocations: 0.7103 MB / 3.745 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/9.967, allocations: 336 kB / 3.746 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/9.967, allocations: 31.81 kB / 3.746 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002215/9.968, allocations: 380.9 kB / 3.746 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/9.969, allocations: 480.2 kB / 3.746 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/9.971, allocations: 1.154 MB / 3.748 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/9.972, allocations: 0.6537 MB / 3.748 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/9.973, allocations: 7.656 kB / 3.748 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004554/9.977, allocations: 1.731 MB / 3.75 GB, free: 28.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.004394/9.982, allocations: 8.969 MB / 3.759 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.29e-05/9.982, allocations: 28.84 kB / 3.759 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/9.982, allocations: 138 kB / 3.759 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/9.984, allocations: 406.3 kB / 3.759 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/9.985, allocations: 1.213 MB / 3.76 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/9.987, allocations: 158.2 kB / 3.761 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/9.988, allocations: 93.98 kB / 3.761 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/9.988, allocations: 3.375 kB / 3.761 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004281/9.992, allocations: 1.645 MB / 3.762 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/9.992, allocations: 21.41 kB / 3.762 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/9.993, allocations: 138.7 kB / 3.762 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/9.994, allocations: 403 kB / 3.763 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/9.995, allocations: 1.213 MB / 3.764 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/9.997, allocations: 149.9 kB / 3.764 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/9.997, allocations: 95.72 kB / 3.764 GB, free: 16.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],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 () * Number of clocked 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.001031/9.998, allocations: 458.6 kB / 3.765 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/9.998, allocations: 123.7 kB / 3.765 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007502/10.01, allocations: 4.823 MB / 3.769 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-05/10.01, allocations: 65.11 kB / 3.77 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.29e-06/10.01, allocations: 0 / 3.77 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/10.01, allocations: 7.219 kB / 3.77 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/10.02, allocations: 6.79 MB / 3.776 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/10.02, allocations: 7.312 kB / 3.776 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/10.02, allocations: 235.6 kB / 3.776 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/10.02, allocations: 171.6 kB / 3.777 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/10.02, allocations: 33.86 kB / 3.777 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/10.02, allocations: 1.236 MB / 3.778 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.349e-06/10.02, allocations: 0 / 3.778 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00718/10.03, allocations: 3.995 MB / 3.782 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/10.03, allocations: 439.9 kB / 3.782 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/10.03, allocations: 21.03 kB / 3.782 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/10.03, allocations: 112.5 kB / 3.782 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/10.03, allocations: 90.2 kB / 3.782 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.953e-05/10.03, allocations: 41.53 kB / 3.782 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001088/10.03, allocations: 0.6136 MB / 3.783 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-07/10.03, allocations: 0 / 3.783 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007169/10.04, allocations: 1.601 MB / 3.785 GB, free: 12.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 40 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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.008179/10.05, allocations: 1.967 MB / 3.786 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006501/10.05, allocations: 2.676 MB / 3.789 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.379e-06/10.05, allocations: 0 / 3.789 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/10.06, allocations: 1.311 MB / 3.79 GB, free: 12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/10.06, allocations: 0.5139 MB / 3.791 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6734/10.73, allocations: 145.3 MB / 3.933 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/10.73, allocations: 1.553 MB / 3.934 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/10.73, allocations: 126.8 kB / 3.934 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of SimCode: time 1.886e-06/10.73, allocations: 3.375 kB / 3.934 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of Templates: time 0.08119/10.82, allocations: 57.54 MB / 3.991 GB, free: 40.44 MB / 0.5261 GB