Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.016/2.016, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.000448, allocations: 16 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.352, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.068/7.42, allocations: 2.491 GB / 2.815 GB, free: 30.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/7.42, allocations: 88.33 kB / 2.815 GB, free: 30.63 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.671/11.09, allocations: 0.7196 GB / 3.534 GB, free: 8.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.525e-06/11.09, allocations: 0 / 3.534 GB, free: 8.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001083/11.09, allocations: 43.92 kB / 3.534 GB, free: 8.137 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.01118/11.1, allocations: 2.7 MB / 3.537 GB, free: 5.383 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/11.1, allocations: 8.031 kB / 3.537 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008171/11.11, allocations: 0.7007 MB / 3.538 GB, free: 4.672 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/11.11, allocations: 0.9642 MB / 3.539 GB, free: 3.664 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/11.11, allocations: 241.2 kB / 3.539 GB, free: 3.402 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/11.12, allocations: 123 kB / 3.539 GB, free: 3.285 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007998/11.12, allocations: 2.302 MB / 3.541 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.555e-05/11.12, allocations: 3.938 kB / 3.541 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/11.12, allocations: 60 kB / 3.541 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-05/11.12, allocations: 58.08 kB / 3.541 GB, free: 0.668 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4005/11.52, allocations: 2.023 MB / 3.543 GB, free: 28.28 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.01656/11.54, allocations: 10.53 MB / 3.554 GB, free: 21.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005746/11.55, allocations: 1.139 MB / 3.555 GB, free: 21.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06923/11.62, allocations: 19.08 MB / 3.573 GB, free: 27.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/11.62, allocations: 44.62 kB / 3.573 GB, free: 27 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001192/11.62, allocations: 123.8 kB / 3.573 GB, free: 26.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=88): time 3.376e-06/11.62, allocations: 0 / 3.573 GB, free: 26.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.02138/11.64, allocations: 3.828 MB / 3.577 GB, free: 26.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/11.64, allocations: 172.1 kB / 3.577 GB, free: 26.24 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/11.64, allocations: 0.8747 MB / 3.578 GB, free: 26.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003532/11.64, allocations: 42.73 kB / 3.578 GB, free: 26.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/11.64, allocations: 0.7056 MB / 3.579 GB, free: 25.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005912/11.64, allocations: 344.1 kB / 3.579 GB, free: 25.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/11.64, allocations: 30.16 kB / 3.579 GB, free: 25.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000291/11.64, allocations: 374 kB / 3.58 GB, free: 25.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/11.65, allocations: 475.2 kB / 3.58 GB, free: 25.19 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00338/11.65, allocations: 1.169 MB / 3.581 GB, free: 24.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/11.65, allocations: 0.659 MB / 3.582 GB, free: 24.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/11.65, allocations: 6.625 kB / 3.582 GB, free: 24.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006162/11.66, allocations: 1.73 MB / 3.584 GB, free: 24.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005256/11.66, allocations: 0.757 MB / 3.584 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/11.66, allocations: 23.34 kB / 3.584 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008309/11.66, allocations: 136.5 kB / 3.584 GB, free: 23.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/11.66, allocations: 410.2 kB / 3.585 GB, free: 23.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/11.66, allocations: 1.222 MB / 3.586 GB, free: 22.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/11.67, allocations: 154.7 kB / 3.586 GB, free: 22.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/11.67, allocations: 89.14 kB / 3.586 GB, free: 22.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/11.67, allocations: 5.688 kB / 3.586 GB, free: 22.26 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005724/11.67, allocations: 1.637 MB / 3.588 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/11.67, allocations: 23.34 kB / 3.588 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007076/11.67, allocations: 140.7 kB / 3.588 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/11.68, allocations: 407.1 kB / 3.588 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/11.68, allocations: 1.209 MB / 3.59 GB, free: 21.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/11.68, allocations: 155.8 kB / 3.59 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/11.68, allocations: 92.03 kB / 3.59 GB, free: 21.16 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.001317/11.68, allocations: 457.2 kB / 3.59 GB, free: 20.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003699/11.68, allocations: 112.7 kB / 3.59 GB, free: 20.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009611/11.69, allocations: 4.843 MB / 3.595 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.27e-05/11.69, allocations: 66.33 kB / 3.595 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/11.69, allocations: 0 / 3.595 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-05/11.69, allocations: 8.156 kB / 3.595 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/11.7, allocations: 6.773 MB / 3.602 GB, free: 19.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/11.7, allocations: 0 / 3.602 GB, free: 19.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/11.71, allocations: 242.3 kB / 3.602 GB, free: 19.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/11.71, allocations: 176.4 kB / 3.602 GB, free: 19.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/11.71, allocations: 32.94 kB / 3.602 GB, free: 19.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/11.71, allocations: 1.231 MB / 3.603 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/11.71, allocations: 3.594 kB / 3.603 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008261/11.72, allocations: 3.985 MB / 3.607 GB, free: 18.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/11.72, allocations: 447.7 kB / 3.608 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/11.72, allocations: 21.69 kB / 3.608 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/11.72, allocations: 107.8 kB / 3.608 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/11.72, allocations: 90.17 kB / 3.608 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/11.72, allocations: 41.34 kB / 3.608 GB, free: 18.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001239/11.72, allocations: 0.6122 MB / 3.609 GB, free: 17.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.403e-06/11.72, allocations: 0 / 3.609 GB, free: 17.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008318/11.73, allocations: 1.6 MB / 3.61 GB, free: 17.93 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 () * 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.01052/11.74, allocations: 1.956 MB / 3.612 GB, free: 17.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008225/11.75, allocations: 2.673 MB / 3.615 GB, free: 17.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/11.75, allocations: 3.594 kB / 3.615 GB, free: 17.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00295/11.75, allocations: 1.314 MB / 3.616 GB, free: 17.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00467/11.76, allocations: 0.5035 MB / 3.616 GB, free: 17.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7934/12.55, allocations: 142 MB / 3.755 GB, free: 52.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/12.55, allocations: 1.555 MB / 3.757 GB, free: 52.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007179/12.55, allocations: 129 kB / 3.757 GB, free: 52.15 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/12.55, allocations: 0 / 3.757 GB, free: 52.15 MB / 490.7 MB Notification: Performance of Templates: time 0.1105/12.66, allocations: 57.44 MB / 3.813 GB, free: 49.07 MB / 490.7 MB