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.875/1.875, allocations: 209.3 MB / 224.9 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004501, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2873, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.803/6.091, allocations: 2.491 GB / 2.814 GB, free: 47.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/6.091, allocations: 83.95 kB / 2.814 GB, free: 47.72 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.122/9.213, allocations: 0.7196 GB / 3.534 GB, free: 8.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.345e-06/9.213, allocations: 0 / 3.534 GB, free: 8.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001028/9.213, allocations: 39.94 kB / 3.534 GB, free: 8.035 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.009392/9.223, allocations: 2.697 MB / 3.536 GB, free: 5.281 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/9.223, allocations: 8.031 kB / 3.536 GB, free: 5.273 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007495/9.23, allocations: 0.7007 MB / 3.537 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/9.233, allocations: 0.9796 MB / 3.538 GB, free: 3.547 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/9.233, allocations: 229.3 kB / 3.538 GB, free: 3.297 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/9.234, allocations: 120 kB / 3.538 GB, free: 3.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006646/9.24, allocations: 2.294 MB / 3.541 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/9.24, allocations: 3.938 kB / 3.541 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/9.241, allocations: 60 kB / 3.541 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.379e-05/9.241, allocations: 62.08 kB / 3.541 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3108/9.551, allocations: 2.018 MB / 3.543 GB, free: 29 MB / 458.7 MB 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.01441/9.566, allocations: 10.52 MB / 3.553 GB, free: 21.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/9.571, allocations: 1.142 MB / 3.554 GB, free: 21.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05017/9.621, allocations: 19.08 MB / 3.573 GB, free: 27.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/9.621, allocations: 46.22 kB / 3.573 GB, free: 27.73 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009568/9.622, allocations: 125.2 kB / 3.573 GB, free: 27.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=88): time 4.547e-06/9.622, allocations: 0 / 3.573 GB, free: 27.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01694/9.639, allocations: 3.824 MB / 3.577 GB, free: 27.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/9.639, allocations: 165.9 kB / 3.577 GB, free: 26.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/9.641, allocations: 0.7676 MB / 3.578 GB, free: 26.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002148/9.641, allocations: 45.73 kB / 3.578 GB, free: 26.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/9.641, allocations: 0.7054 MB / 3.578 GB, free: 26.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/9.642, allocations: 341.5 kB / 3.579 GB, free: 26.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/9.642, allocations: 36.16 kB / 3.579 GB, free: 26.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/9.642, allocations: 371.8 kB / 3.579 GB, free: 25.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/9.644, allocations: 477.8 kB / 3.579 GB, free: 25.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/9.646, allocations: 1.167 MB / 3.581 GB, free: 25.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/9.648, allocations: 0.6522 MB / 3.581 GB, free: 25.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/9.648, allocations: 7.75 kB / 3.581 GB, free: 25.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004821/9.653, allocations: 1.732 MB / 3.583 GB, free: 24.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004506/9.657, allocations: 8.964 MB / 3.592 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.319e-05/9.657, allocations: 26.09 kB / 3.592 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007577/9.658, allocations: 134.9 kB / 3.592 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/9.66, allocations: 407.6 kB / 3.592 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/9.661, allocations: 1.209 MB / 3.593 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/9.663, allocations: 159 kB / 3.594 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/9.664, allocations: 90.64 kB / 3.594 GB, free: 14.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/9.664, allocations: 7.375 kB / 3.594 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004645/9.668, allocations: 1.643 MB / 3.595 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/9.668, allocations: 22.88 kB / 3.595 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006822/9.669, allocations: 146 kB / 3.595 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/9.671, allocations: 404 kB / 3.596 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/9.672, allocations: 1.207 MB / 3.597 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/9.674, allocations: 153 kB / 3.597 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/9.674, allocations: 96.17 kB / 3.597 GB, free: 13.46 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 () * 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.001097/9.675, allocations: 458.6 kB / 3.598 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/9.675, allocations: 116.4 kB / 3.598 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0077/9.683, allocations: 4.83 MB / 3.602 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.604e-05/9.683, allocations: 63.78 kB / 3.603 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/9.683, allocations: 6.844 kB / 3.603 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/9.683, allocations: 14.38 kB / 3.603 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/9.694, allocations: 6.777 MB / 3.609 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/9.694, allocations: 0 / 3.609 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/9.696, allocations: 239.5 kB / 3.609 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/9.697, allocations: 181 kB / 3.61 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/9.697, allocations: 28.84 kB / 3.61 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/9.698, allocations: 1.23 MB / 3.611 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.954e-06/9.698, allocations: 3.953 kB / 3.611 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006941/9.705, allocations: 3.99 MB / 3.615 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/9.707, allocations: 443 kB / 3.615 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/9.707, allocations: 20.53 kB / 3.615 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/9.708, allocations: 107.7 kB / 3.615 GB, free: 26.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/9.708, allocations: 96.61 kB / 3.615 GB, free: 26.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/9.708, allocations: 41.75 kB / 3.615 GB, free: 26.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001059/9.709, allocations: 0.6131 MB / 3.616 GB, free: 26.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.39e-07/9.709, allocations: 0 / 3.616 GB, free: 26.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006914/9.716, allocations: 1.595 MB / 3.618 GB, free: 26.21 MB / 490.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 () * 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.008591/9.725, allocations: 1.942 MB / 3.619 GB, free: 26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006621/9.732, allocations: 2.673 MB / 3.622 GB, free: 25.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.305e-06/9.732, allocations: 3.812 kB / 3.622 GB, free: 25.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002512/9.734, allocations: 1.316 MB / 3.623 GB, free: 25.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/9.738, allocations: 0.5039 MB / 3.624 GB, free: 25.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6347/10.37, allocations: 142 MB / 3.762 GB, free: 54.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/10.37, allocations: 1.547 MB / 3.764 GB, free: 53.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/10.37, allocations: 130.1 kB / 3.764 GB, free: 53.77 MB / 490.7 MB Notification: Performance of SimCode: time 2.075e-06/10.37, allocations: 5.031 kB / 3.764 GB, free: 53.77 MB / 490.7 MB Notification: Performance of Templates: time 0.08485/10.46, allocations: 57.42 MB / 3.82 GB, free: 50.34 MB / 490.7 MB