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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.839/1.839, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.988e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08461, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.153/6.238, allocations: 2.49 GB / 2.809 GB, free: 124.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/6.238, allocations: 80.8 kB / 2.809 GB, free: 124.6 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.115/9.353, allocations: 0.7175 GB / 3.527 GB, free: 35.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.43e-06/9.353, allocations: 0 / 3.527 GB, free: 35.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001317/9.353, allocations: 35.12 kB / 3.527 GB, free: 35.65 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.009768/9.363, allocations: 2.59 MB / 3.529 GB, free: 34.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/9.363, allocations: 13.97 kB / 3.529 GB, free: 34.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007995/9.371, allocations: 0.6952 MB / 3.53 GB, free: 34.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/9.374, allocations: 0.9633 MB / 3.531 GB, free: 34.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/9.374, allocations: 237.5 kB / 3.531 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004625/9.375, allocations: 128.7 kB / 3.531 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006839/9.381, allocations: 2.25 MB / 3.534 GB, free: 33.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.967e-05/9.381, allocations: 9.031 kB / 3.534 GB, free: 33.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/9.382, allocations: 62.02 kB / 3.534 GB, free: 33.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/9.382, allocations: 53.55 kB / 3.534 GB, free: 33.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006673/9.389, allocations: 1.887 MB / 3.536 GB, free: 33.35 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.01454/9.403, allocations: 10.53 MB / 3.546 GB, free: 26.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/9.407, allocations: 1.126 MB / 3.547 GB, free: 26.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/9.408, allocations: 391.3 kB / 3.547 GB, free: 26.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04794/9.456, allocations: 19.15 MB / 3.566 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/9.456, allocations: 44.88 kB / 3.566 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009686/9.457, allocations: 121.2 kB / 3.566 GB, free: 15.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 5.114e-06/9.457, allocations: 6.531 kB / 3.566 GB, free: 15.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01333/9.47, allocations: 3.362 MB / 3.57 GB, free: 15.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/9.471, allocations: 168.7 kB / 3.57 GB, free: 14.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/9.472, allocations: 0.7554 MB / 3.57 GB, free: 14.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/9.472, allocations: 42.77 kB / 3.57 GB, free: 14.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/9.472, allocations: 0.7049 MB / 3.571 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/9.473, allocations: 343.8 kB / 3.571 GB, free: 14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/9.473, allocations: 36.31 kB / 3.572 GB, free: 13.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/9.473, allocations: 373.4 kB / 3.572 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008937/9.474, allocations: 400.9 kB / 3.572 GB, free: 13.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/9.475, allocations: 1.086 MB / 3.573 GB, free: 12.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/9.476, allocations: 0.5789 MB / 3.574 GB, free: 12.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/9.476, allocations: 7.406 kB / 3.574 GB, free: 12.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003586/9.48, allocations: 1.581 MB / 3.575 GB, free: 12.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003794/9.484, allocations: 8.968 MB / 3.584 GB, free: 19.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.126e-05/9.484, allocations: 20.31 kB / 3.584 GB, free: 19.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/9.485, allocations: 130.4 kB / 3.584 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/9.487, allocations: 408.7 kB / 3.585 GB, free: 19.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/9.488, allocations: 1.205 MB / 3.586 GB, free: 18.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/9.49, allocations: 157.7 kB / 3.586 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/9.49, allocations: 86.92 kB / 3.586 GB, free: 18.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/9.49, allocations: 7.156 kB / 3.586 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003332/9.494, allocations: 1.488 MB / 3.588 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/9.494, allocations: 26 kB / 3.588 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/9.494, allocations: 133.8 kB / 3.588 GB, free: 17.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/9.496, allocations: 407.5 kB / 3.588 GB, free: 17.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/9.497, allocations: 1.207 MB / 3.589 GB, free: 16.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/9.499, allocations: 158.5 kB / 3.589 GB, free: 16.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/9.499, allocations: 88.14 kB / 3.59 GB, free: 16.7 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 (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 () * 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.0005019/9.5, allocations: 217.8 kB / 3.59 GB, free: 16.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/9.5, allocations: 116.9 kB / 3.59 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007057/9.507, allocations: 4.86 MB / 3.595 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.09e-05/9.507, allocations: 66.77 kB / 3.595 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/9.507, allocations: 0 / 3.595 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.689e-05/9.507, allocations: 3.844 kB / 3.595 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/9.518, allocations: 6.784 MB / 3.601 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/9.518, allocations: 0 / 3.601 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/9.519, allocations: 235.4 kB / 3.602 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000811/9.52, allocations: 176.3 kB / 3.602 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/9.52, allocations: 29.91 kB / 3.602 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/9.521, allocations: 1.219 MB / 3.603 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.935e-06/9.521, allocations: 2.156 kB / 3.603 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/9.527, allocations: 3.776 MB / 3.607 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009977/9.528, allocations: 438.5 kB / 3.607 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/9.528, allocations: 27.17 kB / 3.607 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/9.53, allocations: 111.3 kB / 3.607 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/9.53, allocations: 88.83 kB / 3.607 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/9.53, allocations: 42.31 kB / 3.607 GB, free: 11.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00113/9.531, allocations: 0.6037 MB / 3.608 GB, free: 11.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.56e-07/9.531, allocations: 0 / 3.608 GB, free: 11.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007138/9.538, allocations: 1.595 MB / 3.609 GB, free: 11.07 MB / 474.7 MB 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 () * 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.008202/9.546, allocations: 1.954 MB / 3.611 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005096/9.552, allocations: 2.468 MB / 3.614 GB, free: 8.141 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.321e-06/9.552, allocations: 0 / 3.614 GB, free: 8.141 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00221/9.554, allocations: 1.268 MB / 3.615 GB, free: 6.945 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/9.557, allocations: 0.5103 MB / 3.615 GB, free: 6.578 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6909/10.25, allocations: 140.7 MB / 3.753 GB, free: 52.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/10.25, allocations: 1.548 MB / 3.754 GB, free: 52.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/10.25, allocations: 132.9 kB / 3.755 GB, free: 52.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.936e-06/10.25, allocations: 0 / 3.755 GB, free: 52.23 MB / 490.7 MB Notification: Performance of Templates: time 0.08535/10.34, allocations: 57.17 MB / 3.81 GB, free: 16.47 MB / 490.7 MB