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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.202/2.202, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.573e-05, allocations: 0 / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 54.87 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.921/6.195, allocations: 2.601 GB / 2.95 GB, free: 22.21 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/6.195, allocations: 79.95 kB / 2.95 GB, free: 22.13 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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.14/9.335, allocations: 0.7296 GB / 3.68 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.195e-06/9.335, allocations: 0 / 3.68 GB, free: 13.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.522e-05/9.336, allocations: 43.69 kB / 3.68 GB, free: 13.61 MB / 490.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.008747/9.344, allocations: 2.659 MB / 3.683 GB, free: 10.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/9.344, allocations: 8.031 kB / 3.683 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007453/9.352, allocations: 0.7436 MB / 3.683 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/9.354, allocations: 0.9754 MB / 3.684 GB, free: 9.145 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/9.355, allocations: 185.3 kB / 3.684 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/9.355, allocations: 72 kB / 3.684 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002829/9.358, allocations: 1.313 MB / 3.686 GB, free: 7.551 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/9.361, allocations: 1.611 MB / 3.687 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/9.361, allocations: 19.78 kB / 3.687 GB, free: 5.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/9.361, allocations: 11.98 kB / 3.687 GB, free: 5.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-05/9.361, allocations: 54.09 kB / 3.687 GB, free: 5.66 MB / 490.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.5564/9.918, allocations: 81.39 MB / 3.767 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/9.919, allocations: 0.6386 MB / 3.767 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/9.92, allocations: 332.5 kB / 3.768 GB, free: 17.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0379/9.958, allocations: 14.64 MB / 3.782 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/9.958, allocations: 52.3 kB / 3.782 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008755/9.959, allocations: 93.45 kB / 3.782 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.999e-06/9.959, allocations: 0 / 3.782 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.01543/9.974, allocations: 3.129 MB / 3.785 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/9.974, allocations: 173 kB / 3.785 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/9.975, allocations: 0.7195 MB / 3.786 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/9.976, allocations: 32.36 kB / 3.786 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/9.976, allocations: 0.7336 MB / 3.787 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/9.976, allocations: 301.6 kB / 3.787 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/9.976, allocations: 0 / 3.787 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002144/9.977, allocations: 370.3 kB / 3.788 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007504/9.977, allocations: 373.5 kB / 3.788 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/9.978, allocations: 1.041 MB / 3.789 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/9.982, allocations: 0.7614 MB / 3.79 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/9.982, allocations: 5.906 kB / 3.79 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00587/9.988, allocations: 1.619 MB / 3.791 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.004167/9.992, allocations: 8.962 MB / 3.8 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-05/9.992, allocations: 25.06 kB / 3.8 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005019/9.993, allocations: 124.4 kB / 3.8 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/9.995, allocations: 408.2 kB / 3.801 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/9.996, allocations: 1.223 MB / 3.802 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/9.998, allocations: 131.7 kB / 3.802 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/9.998, allocations: 94.86 kB / 3.802 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/9.998, allocations: 6.438 kB / 3.802 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004423/10, allocations: 1.393 MB / 3.803 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/10, allocations: 23 kB / 3.803 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/10, allocations: 117 kB / 3.803 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/10.01, allocations: 410.6 kB / 3.804 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/10.01, allocations: 1.218 MB / 3.805 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/10.01, allocations: 130.5 kB / 3.805 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/10.01, allocations: 89.09 kB / 3.805 GB, free: 10.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 (volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase,volume2.inFlow[2],volume2.inFlow[1],sink1.medium.phase,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.0004785/10.01, allocations: 179.7 kB / 3.805 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/10.01, allocations: 115.7 kB / 3.806 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006828/10.02, allocations: 4.138 MB / 3.81 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.616e-05/10.02, allocations: 59.72 kB / 3.81 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.022e-06/10.02, allocations: 3.344 kB / 3.81 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/10.02, allocations: 7.078 kB / 3.81 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009828/10.03, allocations: 5.789 MB / 3.815 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/10.03, allocations: 3.812 kB / 3.815 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/10.03, allocations: 214.3 kB / 3.815 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006014/10.03, allocations: 160.3 kB / 3.816 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.302e-05/10.03, allocations: 11.84 kB / 3.816 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/10.03, allocations: 1.291 MB / 3.817 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.898e-06/10.03, allocations: 1.875 kB / 3.817 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/10.03, allocations: 3.606 MB / 3.82 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008635/10.04, allocations: 373.1 kB / 3.821 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/10.04, allocations: 9 kB / 3.821 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/10.04, allocations: 87.23 kB / 3.821 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/10.04, allocations: 89.52 kB / 3.821 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/10.04, allocations: 40.97 kB / 3.821 GB, free: 23.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008828/10.04, allocations: 0.4972 MB / 3.821 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.2e-07/10.04, allocations: 0 / 3.821 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006922/10.05, allocations: 1.479 MB / 3.823 GB, free: 23.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * 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.008384/10.05, allocations: 2.132 MB / 3.825 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004876/10.06, allocations: 2.265 MB / 3.827 GB, free: 22.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/10.06, allocations: 2.078 kB / 3.827 GB, free: 22.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/10.06, allocations: 1.127 MB / 3.828 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/10.06, allocations: 463 kB / 3.829 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/10.07, allocations: 3.095 MB / 3.832 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/10.07, allocations: 1.475 MB / 3.833 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/10.07, allocations: 132.5 kB / 3.833 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of SimCode: time 3.572e-06/10.07, allocations: 0 / 3.833 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of Templates: time 0.08408/10.16, allocations: 55.76 MB / 3.888 GB, free: 3.457 MB / 0.5261 GB