Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002718/0.002724, allocations: 362.6 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.801/3.801, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003719/0.003719, allocations: 240.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.567/0.567, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004777, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.704/7.806, allocations: 2.601 GB / 3.281 GB, free: 43.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/7.806, allocations: 87.45 kB / 3.281 GB, free: 43.2 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.771/11.58, allocations: 0.7003 GB / 3.982 GB, free: 41.89 MB / 0.4949 GB Notification: Performance of FrontEnd: time 3.016e-06/11.58, allocations: 0 / 3.982 GB, free: 41.89 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001249/11.58, allocations: 41 kB / 3.982 GB, free: 41.88 MB / 0.4949 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.01234/11.59, allocations: 2.794 MB / 3.985 GB, free: 40.47 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/11.59, allocations: 7.812 kB / 3.985 GB, free: 40.47 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00877/11.6, allocations: 0.7395 MB / 3.985 GB, free: 40.4 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/11.6, allocations: 0.9766 MB / 3.986 GB, free: 40.08 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/11.6, allocations: 234.2 kB / 3.986 GB, free: 39.95 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/11.6, allocations: 130.5 kB / 3.987 GB, free: 39.95 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/11.61, allocations: 2.286 MB / 3.989 GB, free: 39.44 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-05/11.61, allocations: 8.312 kB / 3.989 GB, free: 39.44 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/11.61, allocations: 56.81 kB / 3.989 GB, free: 39.44 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/11.61, allocations: 55.5 kB / 3.989 GB, free: 39.44 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/11.63, allocations: 2.032 MB / 3.991 GB, free: 39.42 MB / 0.4949 GB 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.04414/11.67, allocations: 10.54 MB / 4.001 GB, free: 32.12 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02028/11.7, allocations: 1.149 MB / 4.002 GB, free: 32.08 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002461/11.7, allocations: 457.5 kB / 4.003 GB, free: 32.07 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09658/11.79, allocations: 19.14 MB / 4.021 GB, free: 21.71 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/11.79, allocations: 48.83 kB / 4.021 GB, free: 21.66 MB / 0.4949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001094/11.8, allocations: 119.6 kB / 4.022 GB, free: 21.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=88): time 4.319e-06/11.8, allocations: 3.625 kB / 4.022 GB, free: 21.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=96): time 0.01988/11.82, allocations: 3.822 MB / 4.025 GB, free: 21.01 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/11.82, allocations: 170.5 kB / 4.025 GB, free: 20.82 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/11.82, allocations: 0.8713 MB / 4.026 GB, free: 20.64 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0002657/11.82, allocations: 42.33 kB / 4.026 GB, free: 20.61 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/11.82, allocations: 0.6936 MB / 4.027 GB, free: 20.22 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/11.82, allocations: 335.4 kB / 4.027 GB, free: 20.02 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/11.82, allocations: 33.75 kB / 4.027 GB, free: 20.02 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001752/11.82, allocations: 417.9 kB / 4.028 GB, free: 19.71 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/11.82, allocations: 480.1 kB / 4.028 GB, free: 19.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/11.82, allocations: 1.163 MB / 4.029 GB, free: 18.81 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/11.83, allocations: 0.6609 MB / 4.03 GB, free: 18.74 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/11.83, allocations: 3.594 kB / 4.03 GB, free: 18.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006068/11.83, allocations: 1.784 MB / 4.032 GB, free: 18.45 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004729/11.83, allocations: 0.7505 MB / 4.033 GB, free: 17.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/11.83, allocations: 23.69 kB / 4.033 GB, free: 17.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008621/11.83, allocations: 141.1 kB / 4.033 GB, free: 17.48 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/11.84, allocations: 401.5 kB / 4.033 GB, free: 17.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009135/11.84, allocations: 1.212 MB / 4.034 GB, free: 16.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/11.84, allocations: 165 kB / 4.034 GB, free: 16.38 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/11.84, allocations: 90.34 kB / 4.034 GB, free: 16.38 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/11.84, allocations: 8.094 kB / 4.034 GB, free: 16.38 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006051/11.85, allocations: 1.638 MB / 4.036 GB, free: 16.03 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/11.85, allocations: 26.62 kB / 4.036 GB, free: 16.02 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007701/11.85, allocations: 139.7 kB / 4.036 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/11.85, allocations: 409 kB / 4.037 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009488/11.85, allocations: 1.204 MB / 4.038 GB, free: 14.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/11.85, allocations: 162 kB / 4.038 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/11.85, allocations: 89.98 kB / 4.038 GB, free: 14.75 MB / 0.4949 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 () * 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.001214/11.85, allocations: 458.6 kB / 4.038 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/11.85, allocations: 115.8 kB / 4.039 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009384/11.86, allocations: 4.833 MB / 4.043 GB, free: 12.19 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.251e-05/11.86, allocations: 61.92 kB / 4.043 GB, free: 12.18 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/11.86, allocations: 0 / 4.043 GB, free: 12.18 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/11.86, allocations: 7.641 kB / 4.043 GB, free: 12.18 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/11.88, allocations: 6.78 MB / 4.05 GB, free: 9.043 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/11.88, allocations: 0 / 4.05 GB, free: 9.043 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/11.88, allocations: 239.8 kB / 4.05 GB, free: 9.016 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/11.88, allocations: 179.5 kB / 4.05 GB, free: 8.957 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/11.88, allocations: 34.36 kB / 4.05 GB, free: 8.941 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000832/11.88, allocations: 1.234 MB / 4.052 GB, free: 7.801 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/11.88, allocations: 0 / 4.052 GB, free: 7.801 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008093/11.89, allocations: 3.991 MB / 4.056 GB, free: 5.848 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/11.89, allocations: 437.7 kB / 4.056 GB, free: 5.445 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/11.89, allocations: 31.84 kB / 4.056 GB, free: 5.418 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/11.89, allocations: 110.9 kB / 4.056 GB, free: 5.328 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/11.89, allocations: 90.97 kB / 4.056 GB, free: 5.277 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/11.89, allocations: 46.89 kB / 4.056 GB, free: 5.238 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001173/11.89, allocations: 0.6098 MB / 4.057 GB, free: 4.723 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.51e-07/11.89, allocations: 0 / 4.057 GB, free: 4.723 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008326/11.9, allocations: 1.607 MB / 4.058 GB, free: 3.145 MB / 0.4949 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 () * 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.01053/11.91, allocations: 1.965 MB / 4.06 GB, free: 1.672 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009025/11.92, allocations: 2.676 MB / 4.063 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/11.92, allocations: 4 kB / 4.063 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003409/11.93, allocations: 1.317 MB / 4.064 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005133/11.93, allocations: 0.5269 MB / 4.065 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7861/12.72, allocations: 81.66 MB / 4.144 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/12.72, allocations: 1.556 MB / 4.146 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007087/12.73, allocations: 1.573 MB / 4.148 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000827/12.73, allocations: 124.7 kB / 4.148 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/12.73, allocations: 0 / 4.148 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.1832/12.91, allocations: 56.44 MB / 4.203 GB, free: 45.74 MB / 0.5105 GB