Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.316/2.316, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004489, allocations: 8 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3572, allocations: 54.87 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.684/8.041, allocations: 2.601 GB / 2.962 GB, free: 95.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/8.041, allocations: 93.02 kB / 2.962 GB, free: 95.92 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.883/11.92, allocations: 0.7386 GB / 3.701 GB, free: 38.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/11.92, allocations: 3.469 kB / 3.701 GB, free: 38.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001481/11.92, allocations: 40.09 kB / 3.701 GB, free: 38.02 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.0124/11.94, allocations: 2.781 MB / 3.704 GB, free: 36.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/11.94, allocations: 12.28 kB / 3.704 GB, free: 36.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008626/11.95, allocations: 0.7397 MB / 3.705 GB, free: 36.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/11.95, allocations: 0.9778 MB / 3.705 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/11.95, allocations: 235.9 kB / 3.706 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005011/11.95, allocations: 122.3 kB / 3.706 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008496/11.96, allocations: 2.288 MB / 3.708 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/11.96, allocations: 16.09 kB / 3.708 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003051/11.96, allocations: 62.09 kB / 3.708 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.061e-05/11.96, allocations: 53.41 kB / 3.708 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008951/11.97, allocations: 2.027 MB / 3.71 GB, free: 35.62 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.01751/11.99, allocations: 10.54 MB / 3.72 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/11.99, allocations: 1.141 MB / 3.722 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0683/12.06, allocations: 19.14 MB / 3.74 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/12.06, allocations: 43.09 kB / 3.74 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001169/12.06, allocations: 126.1 kB / 3.74 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 4.348e-06/12.06, allocations: 4 kB / 3.74 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.02033/12.08, allocations: 3.829 MB / 3.744 GB, free: 17.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/12.08, allocations: 168.1 kB / 3.744 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/12.08, allocations: 0.8681 MB / 3.745 GB, free: 17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002893/12.08, allocations: 48.48 kB / 3.745 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/12.08, allocations: 0.7066 MB / 3.746 GB, free: 16.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/12.08, allocations: 345.2 kB / 3.746 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/12.08, allocations: 30.69 kB / 3.746 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001354/12.08, allocations: 379.1 kB / 3.747 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/12.09, allocations: 481.4 kB / 3.747 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002471/12.09, allocations: 1.163 MB / 3.748 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/12.09, allocations: 0.6505 MB / 3.749 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/12.09, allocations: 7.969 kB / 3.749 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005964/12.1, allocations: 1.732 MB / 3.751 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005097/12.1, allocations: 0.765 MB / 3.751 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/12.1, allocations: 21.78 kB / 3.751 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008288/12.1, allocations: 136.1 kB / 3.751 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/12.1, allocations: 411.1 kB / 3.752 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009512/12.1, allocations: 1.207 MB / 3.753 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/12.11, allocations: 156.1 kB / 3.753 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/12.11, allocations: 95.75 kB / 3.753 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/12.11, allocations: 5.688 kB / 3.753 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00565/12.11, allocations: 1.637 MB / 3.755 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/12.11, allocations: 24.52 kB / 3.755 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/12.11, allocations: 146.9 kB / 3.755 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/12.11, allocations: 397.9 kB / 3.755 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/12.12, allocations: 1.206 MB / 3.757 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/12.12, allocations: 160.8 kB / 3.757 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/12.12, allocations: 86.42 kB / 3.757 GB, free: 27.47 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.001225/12.12, allocations: 469.2 kB / 3.757 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/12.12, allocations: 117.4 kB / 3.757 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009332/12.13, allocations: 4.825 MB / 3.762 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.783e-05/12.13, allocations: 73.97 kB / 3.762 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/12.13, allocations: 3.953 kB / 3.762 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/12.13, allocations: 7.406 kB / 3.762 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/12.14, allocations: 6.774 MB / 3.769 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/12.14, allocations: 3.953 kB / 3.769 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/12.15, allocations: 235.1 kB / 3.769 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/12.15, allocations: 181.9 kB / 3.769 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/12.15, allocations: 27.78 kB / 3.769 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/12.15, allocations: 1.234 MB / 3.77 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/12.15, allocations: 0 / 3.77 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00845/12.16, allocations: 3.994 MB / 3.774 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/12.16, allocations: 439.3 kB / 3.775 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/12.16, allocations: 22.38 kB / 3.775 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/12.16, allocations: 113.5 kB / 3.775 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/12.16, allocations: 89.06 kB / 3.775 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/12.16, allocations: 40.25 kB / 3.775 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001242/12.16, allocations: 0.6166 MB / 3.776 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/12.16, allocations: 3.781 kB / 3.776 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008627/12.17, allocations: 1.607 MB / 3.777 GB, free: 22.59 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.01006/12.18, allocations: 1.955 MB / 3.779 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00801/12.19, allocations: 2.67 MB / 3.782 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/12.19, allocations: 8 kB / 3.782 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002811/12.19, allocations: 1.317 MB / 3.783 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004559/12.2, allocations: 0.5032 MB / 3.783 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8594/13.06, allocations: 145.4 MB / 3.925 GB, free: 38.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002818/13.06, allocations: 1.552 MB / 3.927 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008645/13.06, allocations: 132.8 kB / 3.927 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.774e-06/13.06, allocations: 0 / 3.927 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1419/13.2, allocations: 57.55 MB / 3.983 GB, free: 7.957 MB / 0.5105 GB