Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004015/0.004021, allocations: 349.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.257/3.257, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00349/0.00349, allocations: 225 kB / 397.9 MB, free: 6.156 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4942/0.4942, allocations: 76.1 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09307, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.604/7.697, allocations: 2.491 GB / 3.097 GB, free: 101.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004303/7.697, allocations: 90.56 kB / 3.097 GB, free: 101.4 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/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.919/11.62, allocations: 0.686 GB / 3.783 GB, free: 32.69 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.158e-06/11.62, allocations: 3.75 kB / 3.783 GB, free: 32.69 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001361/11.62, allocations: 37.08 kB / 3.783 GB, free: 32.69 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.01202/11.63, allocations: 2.703 MB / 3.786 GB, free: 31.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/11.63, allocations: 12.84 kB / 3.786 GB, free: 31.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008576/11.64, allocations: 0.6961 MB / 3.787 GB, free: 31.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/11.64, allocations: 0.9764 MB / 3.788 GB, free: 30.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/11.64, allocations: 232.4 kB / 3.788 GB, free: 30.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/11.64, allocations: 122.6 kB / 3.788 GB, free: 30.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00819/11.65, allocations: 2.292 MB / 3.79 GB, free: 30.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/11.65, allocations: 7.094 kB / 3.79 GB, free: 30.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/11.65, allocations: 64.11 kB / 3.79 GB, free: 30.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.402e-05/11.65, allocations: 56 kB / 3.79 GB, free: 30.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008866/11.66, allocations: 2.03 MB / 3.792 GB, free: 30.32 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.01744/11.68, allocations: 10.53 MB / 3.803 GB, free: 23.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/11.68, allocations: 1.147 MB / 3.804 GB, free: 23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/11.68, allocations: 460.2 kB / 3.804 GB, free: 22.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08751/11.77, allocations: 19.08 MB / 3.823 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.818e-05/11.77, allocations: 45.12 kB / 3.823 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001714/11.77, allocations: 127.7 kB / 3.823 GB, free: 12.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 7.835e-06/11.77, allocations: 0 / 3.823 GB, free: 12.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.02515/11.8, allocations: 3.821 MB / 3.827 GB, free: 27.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/11.8, allocations: 172.5 kB / 3.827 GB, free: 27.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/11.8, allocations: 0.8695 MB / 3.828 GB, free: 27.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003004/11.8, allocations: 42.36 kB / 3.828 GB, free: 27.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/11.8, allocations: 0.6994 MB / 3.829 GB, free: 27.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/11.8, allocations: 332.7 kB / 3.829 GB, free: 26.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/11.8, allocations: 33.5 kB / 3.829 GB, free: 26.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002898/11.8, allocations: 417.4 kB / 3.829 GB, free: 26.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/11.8, allocations: 479.2 kB / 3.83 GB, free: 26.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/11.81, allocations: 1.17 MB / 3.831 GB, free: 25.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/11.81, allocations: 0.6537 MB / 3.831 GB, free: 25.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/11.81, allocations: 3.656 kB / 3.831 GB, free: 25.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006281/11.82, allocations: 1.786 MB / 3.833 GB, free: 25.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000526/11.82, allocations: 0.7543 MB / 3.834 GB, free: 24.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/11.82, allocations: 24.06 kB / 3.834 GB, free: 24.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008203/11.82, allocations: 137 kB / 3.834 GB, free: 24.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/11.82, allocations: 411.4 kB / 3.835 GB, free: 24.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/11.82, allocations: 1.215 MB / 3.836 GB, free: 23.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/11.82, allocations: 156.7 kB / 3.836 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/11.82, allocations: 92.38 kB / 3.836 GB, free: 23.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/11.82, allocations: 3.375 kB / 3.836 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005601/11.83, allocations: 1.643 MB / 3.838 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/11.83, allocations: 23.81 kB / 3.838 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/11.83, allocations: 140.9 kB / 3.838 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/11.83, allocations: 405.1 kB / 3.838 GB, free: 23.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/11.83, allocations: 1.218 MB / 3.839 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/11.84, allocations: 147.9 kB / 3.839 GB, free: 22.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/11.84, allocations: 91.28 kB / 3.84 GB, free: 22.1 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.001156/11.84, allocations: 471.2 kB / 3.84 GB, free: 21.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/11.84, allocations: 115.3 kB / 3.84 GB, free: 21.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009417/11.85, allocations: 4.827 MB / 3.845 GB, free: 21.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.691e-05/11.85, allocations: 67.84 kB / 3.845 GB, free: 21.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/11.85, allocations: 0 / 3.845 GB, free: 21.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.048e-05/11.85, allocations: 3.562 kB / 3.845 GB, free: 21.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/11.86, allocations: 6.772 MB / 3.851 GB, free: 19.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/11.86, allocations: 3.219 kB / 3.851 GB, free: 19.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/11.86, allocations: 241.2 kB / 3.852 GB, free: 19.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/11.86, allocations: 177.9 kB / 3.852 GB, free: 19.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/11.87, allocations: 30.31 kB / 3.852 GB, free: 19.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/11.87, allocations: 1.232 MB / 3.853 GB, free: 18.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/11.87, allocations: 3.531 kB / 3.853 GB, free: 18.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008387/11.87, allocations: 3.999 MB / 3.857 GB, free: 16.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/11.88, allocations: 431.9 kB / 3.857 GB, free: 16.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/11.88, allocations: 34.84 kB / 3.857 GB, free: 16.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/11.88, allocations: 105.8 kB / 3.858 GB, free: 16.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/11.88, allocations: 93.23 kB / 3.858 GB, free: 16.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/11.88, allocations: 38.16 kB / 3.858 GB, free: 16.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001244/11.88, allocations: 0.6121 MB / 3.858 GB, free: 15.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.11e-07/11.88, allocations: 0 / 3.858 GB, free: 15.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00831/11.89, allocations: 1.597 MB / 3.86 GB, free: 15.47 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.0105/11.9, allocations: 1.95 MB / 3.862 GB, free: 14.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008342/11.91, allocations: 2.67 MB / 3.864 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/11.91, allocations: 4 kB / 3.864 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00283/11.91, allocations: 1.319 MB / 3.866 GB, free: 11.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005231/11.92, allocations: 0.529 MB / 3.866 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6464/12.56, allocations: 81.24 MB / 3.945 GB, free: 41.44 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/12.56, allocations: 1.562 MB / 3.947 GB, free: 40.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004897/12.57, allocations: 1.574 MB / 3.949 GB, free: 40.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/12.57, allocations: 119.6 kB / 3.949 GB, free: 40.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.522e-06/12.57, allocations: 1.203 kB / 3.949 GB, free: 40.61 MB / 474.7 MB Notification: Performance of Templates: time 0.1235/12.69, allocations: 56.26 MB / 4.004 GB, free: 34.8 MB / 474.7 MB