Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001554/0.001554, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008204/0.0008203, allocations: 82.22 kB / 261.7 MB, free: 1.688 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.1955/0.1955, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.086e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.841/6.963, allocations: 2.769 GB / 3.235 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/6.963, allocations: 86.03 kB / 3.235 GB, free: 158.2 MB / 0.4948 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 2.443/9.406, allocations: 0.734 GB / 3.969 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.322e-06/9.406, allocations: 4 kB / 3.969 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.7e-05/9.406, allocations: 43.84 kB / 3.969 GB, free: 24.47 MB / 0.5105 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.008564/9.415, allocations: 2.658 MB / 3.972 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/9.415, allocations: 8.031 kB / 3.972 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005727/9.421, allocations: 0.7499 MB / 3.973 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/9.423, allocations: 0.9514 MB / 3.974 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/9.423, allocations: 193.3 kB / 3.974 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/9.423, allocations: 75.95 kB / 3.974 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001998/9.425, allocations: 1.309 MB / 3.975 GB, free: 18.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/9.427, allocations: 1.636 MB / 3.977 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/9.427, allocations: 11.81 kB / 3.977 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/9.427, allocations: 8 kB / 3.977 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/9.428, allocations: 62.08 kB / 3.977 GB, free: 16.52 MB / 0.5105 GB 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.4404/9.868, allocations: 75.2 MB / 4.05 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009955/9.869, allocations: 0.6561 MB / 4.051 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/9.869, allocations: 346.6 kB / 4.051 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008788/9.87, allocations: 0.6809 MB / 4.052 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/9.87, allocations: 48.53 kB / 4.052 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007216/9.871, allocations: 100.2 kB / 4.052 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 6.512e-06/9.871, allocations: 3.375 kB / 4.052 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86): time 0.01043/9.882, allocations: 3.273 MB / 4.055 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/9.882, allocations: 171.2 kB / 4.055 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008529/9.882, allocations: 0.716 MB / 4.056 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/9.883, allocations: 25.7 kB / 4.056 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/9.883, allocations: 0.7038 MB / 4.057 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/9.883, allocations: 299.3 kB / 4.057 GB, free: 24.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/9.883, allocations: 0 / 4.057 GB, free: 24.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001331/9.883, allocations: 414.3 kB / 4.057 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/9.884, allocations: 373.2 kB / 4.058 GB, free: 23.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007807/9.885, allocations: 0.9958 MB / 4.059 GB, free: 22.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/9.887, allocations: 0.7751 MB / 4.06 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/9.887, allocations: 7.781 kB / 4.06 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003737/9.891, allocations: 1.654 MB / 4.061 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001376/9.892, allocations: 8.095 MB / 4.069 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/9.892, allocations: 21.53 kB / 4.069 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/9.892, allocations: 117.8 kB / 4.069 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/9.894, allocations: 413.2 kB / 4.07 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006048/9.894, allocations: 1.216 MB / 4.071 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/9.896, allocations: 179 kB / 4.071 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/9.896, allocations: 87.39 kB / 4.071 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/9.896, allocations: 3.375 kB / 4.071 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002838/9.899, allocations: 1.37 MB / 4.072 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/9.899, allocations: 22.36 kB / 4.072 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/9.899, allocations: 127.6 kB / 4.073 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/9.901, allocations: 401.7 kB / 4.073 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/9.902, allocations: 1.217 MB / 4.074 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/9.904, allocations: 154.6 kB / 4.074 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/9.904, allocations: 87.75 kB / 4.074 GB, free: 28.28 MB / 0.5417 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 (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 (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.0004127/9.904, allocations: 171.8 kB / 4.074 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/9.905, allocations: 111.2 kB / 4.075 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/9.909, allocations: 4.164 MB / 4.079 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/9.909, allocations: 60.56 kB / 4.079 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/9.909, allocations: 3.062 kB / 4.079 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/9.909, allocations: 14.05 kB / 4.079 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006742/9.916, allocations: 5.856 MB / 4.084 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/9.916, allocations: 3.844 kB / 4.084 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/9.917, allocations: 229.2 kB / 4.085 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/9.917, allocations: 161.7 kB / 4.085 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/9.917, allocations: 17.95 kB / 4.085 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008267/9.918, allocations: 1.283 MB / 4.086 GB, free: 26.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/9.918, allocations: 1.875 kB / 4.086 GB, free: 26.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/9.924, allocations: 3.641 MB / 4.09 GB, free: 25.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009533/9.925, allocations: 374.8 kB / 4.09 GB, free: 25.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/9.925, allocations: 7.359 kB / 4.09 GB, free: 25.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009192/9.926, allocations: 107.3 kB / 4.09 GB, free: 25.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/9.926, allocations: 92.67 kB / 4.09 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/9.926, allocations: 39.19 kB / 4.09 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001095/9.927, allocations: 0.5028 MB / 4.091 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/9.927, allocations: 0 / 4.091 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008809/9.936, allocations: 1.493 MB / 4.092 GB, free: 25.18 MB / 0.5417 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.009953/9.946, allocations: 2.131 MB / 4.094 GB, free: 24.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004012/9.95, allocations: 2.283 MB / 4.097 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/9.95, allocations: 5.938 kB / 4.097 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/9.951, allocations: 1.143 MB / 4.098 GB, free: 24.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/9.954, allocations: 463.2 kB / 4.098 GB, free: 24.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/9.958, allocations: 3.043 MB / 4.101 GB, free: 23.96 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/9.959, allocations: 1.486 MB / 4.102 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002723/9.961, allocations: 1.827 MB / 4.104 GB, free: 23.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/9.962, allocations: 103.7 kB / 4.104 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of SimCode: time 7.91e-07/9.962, allocations: 0 / 4.104 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.0633/10.02, allocations: 46.12 MB / 4.149 GB, free: 19.89 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)