Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002942/0.002942, allocations: 181.5 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.24/1.24, allocations: 194.2 MB / 202.1 MB, free: 8.766 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001888/0.001888, allocations: 123.9 kB / 247.1 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1762/0.1762, allocations: 39.94 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.632e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.097/5.21, allocations: 2.6 GB / 3.038 GB, free: 146.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/5.211, allocations: 83.5 kB / 3.038 GB, free: 146.9 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/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 .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/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: time 2.494/7.704, allocations: 0.7324 GB / 3.77 GB, free: 42.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001448/7.705, allocations: 38.25 kB / 3.77 GB, free: 42.36 MB / 0.4948 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.01021/7.715, allocations: 2.694 MB / 3.773 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/7.715, allocations: 13.34 kB / 3.773 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00665/7.722, allocations: 0.8239 MB / 3.774 GB, free: 41.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/7.725, allocations: 0.9826 MB / 3.775 GB, free: 40.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/7.725, allocations: 191 kB / 3.775 GB, free: 40.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/7.725, allocations: 73.61 kB / 3.775 GB, free: 40.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002865/7.728, allocations: 1.321 MB / 3.776 GB, free: 40.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/7.731, allocations: 1.636 MB / 3.778 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.722e-05/7.731, allocations: 12.42 kB / 3.778 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/7.732, allocations: 6 kB / 3.778 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-05/7.732, allocations: 49.44 kB / 3.778 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2812/8.013, allocations: 103.6 MB / 3.879 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/8.014, allocations: 411.7 kB / 3.879 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/8.014, allocations: 340.3 kB / 3.88 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03087/8.045, allocations: 14.66 MB / 3.894 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.388e-05/8.045, allocations: 43.53 kB / 3.894 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 3.387e-06/8.045, allocations: 0 / 3.894 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86): time 0.01304/8.058, allocations: 3.198 MB / 3.897 GB, free: 18.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/8.058, allocations: 170.8 kB / 3.897 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/8.06, allocations: 0.7269 MB / 3.898 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/8.06, allocations: 25.7 kB / 3.898 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/8.06, allocations: 0.624 MB / 3.899 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/8.06, allocations: 297.3 kB / 3.899 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/8.06, allocations: 0 / 3.899 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002343/8.06, allocations: 423 kB / 3.899 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/8.061, allocations: 410.4 kB / 3.9 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/8.062, allocations: 1.068 MB / 3.901 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/8.064, allocations: 0.8072 MB / 3.902 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/8.064, allocations: 4 kB / 3.902 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005611/8.07, allocations: 2.262 MB / 3.904 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003169/8.073, allocations: 8.941 MB / 3.912 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.069e-05/8.073, allocations: 23.09 kB / 3.912 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/8.074, allocations: 122.8 kB / 3.913 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/8.075, allocations: 420.9 kB / 3.913 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009357/8.076, allocations: 1.24 MB / 3.914 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/8.078, allocations: 144.7 kB / 3.914 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/8.078, allocations: 89.62 kB / 3.914 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/8.078, allocations: 4 kB / 3.914 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003373/8.081, allocations: 1.469 MB / 3.916 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/8.081, allocations: 24 kB / 3.916 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/8.082, allocations: 127.7 kB / 3.916 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/8.083, allocations: 413.5 kB / 3.916 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009076/8.084, allocations: 1.234 MB / 3.918 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/8.085, allocations: 132.8 kB / 3.918 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004913/8.086, allocations: 130.5 kB / 3.918 GB, free: 0 / 0.5261 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 (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 (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.000419/8.086, allocations: 172.8 kB / 3.918 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/8.088, allocations: 0.5145 MB / 3.919 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/8.094, allocations: 4.131 MB / 3.923 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.043e-05/8.094, allocations: 51.03 kB / 3.923 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/8.094, allocations: 5.594 kB / 3.923 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/8.094, allocations: 7.734 kB / 3.923 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007042/8.101, allocations: 5.656 MB / 3.928 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/8.101, allocations: 4 kB / 3.928 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/8.102, allocations: 209.4 kB / 3.928 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/8.102, allocations: 163.2 kB / 3.929 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/8.102, allocations: 24.39 kB / 3.929 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009012/8.103, allocations: 1.291 MB / 3.93 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/8.103, allocations: 11.25 kB / 3.93 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006563/8.11, allocations: 4.429 MB / 3.934 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/8.11, allocations: 357.8 kB / 3.934 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/8.111, allocations: 7.5 kB / 3.934 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/8.112, allocations: 98.52 kB / 3.935 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/8.112, allocations: 93.11 kB / 3.935 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/8.112, allocations: 42.75 kB / 3.935 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0007972/8.113, allocations: 0.5025 MB / 3.935 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007522/8.12, allocations: 1.5 MB / 3.937 GB, free: 3.801 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: 30 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.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 (104): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.008399/8.129, allocations: 2.161 MB / 3.939 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004783/8.133, allocations: 2.911 MB / 3.942 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/8.133, allocations: 6.312 kB / 3.942 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/8.137, allocations: 1.895 MB / 3.943 GB, free: 0 / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2169/8.354, allocations: 460.6 kB / 3.944 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1248/8.479, allocations: 57.18 MB / 4 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/8.48, allocations: 1.581 MB / 4.001 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of SimCode: time 8.92e-07/8.48, allocations: 2.281 kB / 4.001 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.07624/8.556, allocations: 56.24 MB / 4.056 GB, free: 113.5 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)