Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 96.41 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5091/0.5091, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004852, allocations: 15.94 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.279/8.401, allocations: 2.77 GB / 3.249 GB, free: 58.77 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/8.401, allocations: 86.58 kB / 3.249 GB, free: 58.72 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308: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 .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308: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.873/12.27, allocations: 0.743 GB / 3.992 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/12.27, allocations: 2.094 kB / 3.992 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001665/12.27, allocations: 38.02 kB / 3.992 GB, free: 42.16 MB / 0.5261 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.01409/12.29, allocations: 2.789 MB / 3.995 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/12.29, allocations: 10.31 kB / 3.995 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008792/12.3, allocations: 0.7397 MB / 3.995 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/12.3, allocations: 0.9539 MB / 3.996 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/12.3, allocations: 233.8 kB / 3.996 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/12.3, allocations: 120.1 kB / 3.997 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008108/12.31, allocations: 2.305 MB / 3.999 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.066e-05/12.31, allocations: 9.625 kB / 3.999 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/12.31, allocations: 62.88 kB / 3.999 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-05/12.31, allocations: 57 kB / 3.999 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008501/12.32, allocations: 2.035 MB / 4.001 GB, free: 39.78 MB / 0.5261 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.02419/12.34, allocations: 10.81 MB / 4.011 GB, free: 32.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005971/12.35, allocations: 1.266 MB / 4.013 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/12.35, allocations: 0.6917 MB / 4.013 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/12.35, allocations: 46.5 kB / 4.013 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001068/12.35, allocations: 134.7 kB / 4.014 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=88): time 3.226e-06/12.35, allocations: 0 / 4.014 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96): time 0.0206/12.37, allocations: 4.188 MB / 4.018 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/12.37, allocations: 168.7 kB / 4.018 GB, free: 31.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/12.37, allocations: 0.8521 MB / 4.019 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/12.37, allocations: 46.83 kB / 4.019 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/12.37, allocations: 0.6693 MB / 4.019 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/12.38, allocations: 333.2 kB / 4.02 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/12.38, allocations: 31.28 kB / 4.02 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001157/12.38, allocations: 373.1 kB / 4.02 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/12.38, allocations: 0.5183 MB / 4.021 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/12.38, allocations: 1.149 MB / 4.022 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/12.38, allocations: 0.6744 MB / 4.022 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/12.38, allocations: 3.688 kB / 4.022 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005739/12.39, allocations: 1.769 MB / 4.024 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001767/12.39, allocations: 8.104 MB / 4.032 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-05/12.39, allocations: 21.66 kB / 4.032 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008494/12.39, allocations: 131.7 kB / 4.032 GB, free: 20.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/12.39, allocations: 409.1 kB / 4.033 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000869/12.39, allocations: 1.212 MB / 4.034 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/12.4, allocations: 174.6 kB / 4.034 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/12.4, allocations: 92.2 kB / 4.034 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/12.4, allocations: 2.75 kB / 4.034 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005311/12.4, allocations: 1.678 MB / 4.036 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/12.4, allocations: 21.88 kB / 4.036 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006966/12.4, allocations: 131 kB / 4.036 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/12.41, allocations: 409 kB / 4.036 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008166/12.41, allocations: 1.207 MB / 4.037 GB, free: 18.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/12.41, allocations: 169.4 kB / 4.037 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/12.41, allocations: 87.64 kB / 4.038 GB, free: 18.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (190): * Single equations (assignments): 188 * 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.001066/12.41, allocations: 451.3 kB / 4.038 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/12.41, allocations: 130.4 kB / 4.038 GB, free: 17.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009106/12.42, allocations: 5.071 MB / 4.043 GB, free: 17.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.089e-05/12.42, allocations: 68.64 kB / 4.043 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/12.42, allocations: 2.438 kB / 4.043 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/12.42, allocations: 5.156 kB / 4.043 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/12.43, allocations: 7.082 MB / 4.05 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/12.43, allocations: 0 / 4.05 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/12.43, allocations: 278.1 kB / 4.05 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/12.44, allocations: 186.5 kB / 4.05 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/12.44, allocations: 27.41 kB / 4.051 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/12.44, allocations: 1.23 MB / 4.052 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/12.44, allocations: 0 / 4.052 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008544/12.45, allocations: 4.164 MB / 4.056 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/12.45, allocations: 0.5219 MB / 4.056 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/12.45, allocations: 22.53 kB / 4.056 GB, free: 28.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/12.45, allocations: 130 kB / 4.056 GB, free: 28.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/12.45, allocations: 91.09 kB / 4.057 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/12.45, allocations: 43.91 kB / 4.057 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001686/12.45, allocations: 0.8408 MB / 4.057 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/12.45, allocations: 0 / 4.057 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008312/12.46, allocations: 1.648 MB / 4.059 GB, free: 28.16 MB / 0.5417 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,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.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.01061/12.47, allocations: 1.957 MB / 4.061 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008246/12.48, allocations: 2.776 MB / 4.064 GB, free: 26.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/12.48, allocations: 6.281 kB / 4.064 GB, free: 26.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/12.48, allocations: 1.361 MB / 4.065 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005256/12.49, allocations: 0.6095 MB / 4.066 GB, free: 26.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009721/12.5, allocations: 5.363 MB / 4.071 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/12.5, allocations: 1.587 MB / 4.072 GB, free: 22.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/12.5, allocations: 135.7 kB / 4.072 GB, free: 22.38 MB / 0.5417 GB Notification: Performance of SimCode: time 1.402e-06/12.5, allocations: 0 / 4.072 GB, free: 22.38 MB / 0.5417 GB Notification: Performance of Templates: time 0.5339/13.03, allocations: 59.77 MB / 4.131 GB, free: 54.96 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)