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.19/2.19, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.352e-05, allocations: 0 / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3227, allocations: 54.85 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.292/6.615, allocations: 2.601 GB / 2.957 GB, free: 99.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/6.615, allocations: 82.97 kB / 2.957 GB, free: 99.55 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.027/9.642, allocations: 0.7364 GB / 3.694 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.198e-06/9.642, allocations: 3.938 kB / 3.694 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001127/9.643, allocations: 39.92 kB / 3.694 GB, free: 19.57 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.009094/9.652, allocations: 2.659 MB / 3.696 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/9.652, allocations: 12.03 kB / 3.696 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007756/9.659, allocations: 0.7436 MB / 3.697 GB, free: 16.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/9.662, allocations: 0.9759 MB / 3.698 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/9.663, allocations: 233.3 kB / 3.698 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003867/9.663, allocations: 120 kB / 3.698 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006092/9.669, allocations: 2.251 MB / 3.701 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/9.669, allocations: 3.938 kB / 3.701 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/9.669, allocations: 64 kB / 3.701 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/9.67, allocations: 62.02 kB / 3.701 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005768/9.675, allocations: 1.881 MB / 3.703 GB, free: 10.23 MB / 0.4948 GB 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.01333/9.689, allocations: 10.54 MB / 3.713 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/9.693, allocations: 1.121 MB / 3.714 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/9.694, allocations: 385.3 kB / 3.714 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3814/10.08, allocations: 19.21 MB / 3.733 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/10.08, allocations: 47.97 kB / 3.733 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001005/10.08, allocations: 123.6 kB / 3.733 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 5.387e-06/10.08, allocations: 0 / 3.733 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01377/10.09, allocations: 3.362 MB / 3.736 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/10.09, allocations: 169.2 kB / 3.737 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/10.09, allocations: 0.7552 MB / 3.737 GB, free: 45.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/10.09, allocations: 44.08 kB / 3.737 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/10.09, allocations: 0.7096 MB / 3.738 GB, free: 45.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/10.09, allocations: 338.1 kB / 3.738 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/10.09, allocations: 31.5 kB / 3.738 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001361/10.09, allocations: 379 kB / 3.739 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009961/10.09, allocations: 402.2 kB / 3.739 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/10.1, allocations: 1.075 MB / 3.74 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/10.1, allocations: 0.5877 MB / 3.741 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/10.1, allocations: 8.875 kB / 3.741 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004071/10.1, allocations: 1.576 MB / 3.742 GB, free: 44.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001797/10.1, allocations: 8.954 MB / 3.751 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.561e-05/10.1, allocations: 28.88 kB / 3.751 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007047/10.1, allocations: 131.9 kB / 3.751 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/10.11, allocations: 407.5 kB / 3.752 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008616/10.11, allocations: 1.218 MB / 3.753 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/10.11, allocations: 153.1 kB / 3.753 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/10.11, allocations: 92.72 kB / 3.753 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/10.11, allocations: 3.125 kB / 3.753 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003522/10.11, allocations: 1.484 MB / 3.755 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/10.11, allocations: 26.06 kB / 3.755 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/10.11, allocations: 128.8 kB / 3.755 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/10.12, allocations: 409.6 kB / 3.755 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008122/10.12, allocations: 1.203 MB / 3.756 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/10.12, allocations: 162.5 kB / 3.756 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/10.12, allocations: 92.53 kB / 3.757 GB, free: 32.6 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 () * 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.0005483/10.12, allocations: 218.9 kB / 3.757 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/10.12, allocations: 121.4 kB / 3.757 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006582/10.13, allocations: 4.846 MB / 3.762 GB, free: 32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.919e-05/10.13, allocations: 64.06 kB / 3.762 GB, free: 32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/10.13, allocations: 0.6562 kB / 3.762 GB, free: 32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/10.13, allocations: 9.875 kB / 3.762 GB, free: 32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009189/10.14, allocations: 6.79 MB / 3.768 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.762e-06/10.14, allocations: 1.312 kB / 3.768 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/10.14, allocations: 229.5 kB / 3.768 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007877/10.14, allocations: 167 kB / 3.769 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/10.14, allocations: 30.47 kB / 3.769 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007371/10.14, allocations: 1.235 MB / 3.77 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.416e-06/10.14, allocations: 0 / 3.77 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/10.14, allocations: 3.773 MB / 3.774 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/10.15, allocations: 438.9 kB / 3.774 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/10.15, allocations: 25.91 kB / 3.774 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/10.15, allocations: 112 kB / 3.774 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/10.15, allocations: 91.45 kB / 3.774 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/10.15, allocations: 41.64 kB / 3.774 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001021/10.15, allocations: 0.6002 MB / 3.775 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.31e-07/10.15, allocations: 1.125 kB / 3.775 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007356/10.16, allocations: 1.604 MB / 3.776 GB, free: 29.49 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 () * 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.008524/10.16, allocations: 1.969 MB / 3.778 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005316/10.17, allocations: 2.464 MB / 3.781 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.933e-06/10.17, allocations: 7.469 kB / 3.781 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/10.17, allocations: 1.267 MB / 3.782 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/10.18, allocations: 0.5059 MB / 3.782 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3293/10.51, allocations: 142.8 MB / 3.922 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/10.51, allocations: 1.549 MB / 3.923 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006033/10.51, allocations: 129.4 kB / 3.924 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of SimCode: time 2.234e-06/10.51, allocations: 4 kB / 3.924 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of Templates: time 0.4393/10.95, allocations: 57.98 MB / 3.98 GB, free: 60.65 MB / 0.5261 GB