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") [: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.3+maint.om/package.mo): time 0.000992/0.0009919, allocations: 194.2 kB / 7.805 MB, free: 2.504 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.047/1.047, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008243/0.0008242, allocations: 91.12 kB / 261.4 MB, free: 13.55 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.1496/0.1496, allocations: 43.5 MB / 352.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.771e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.827/4.038, allocations: 2.769 GB / 3.235 GB, free: 99.01 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/4.039, allocations: 84 kB / 3.235 GB, free: 98.94 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: time 1.978/6.017, allocations: 0.7368 GB / 3.971 GB, free: 47.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.141e-05/6.017, allocations: 36.28 kB / 3.971 GB, free: 47.31 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.009184/6.026, allocations: 2.701 MB / 3.974 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/6.026, allocations: 11.44 kB / 3.974 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/6.033, allocations: 0.8299 MB / 3.975 GB, free: 46.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/6.035, allocations: 0.9632 MB / 3.976 GB, free: 45.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/6.035, allocations: 191.4 kB / 3.976 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/6.035, allocations: 69.91 kB / 3.976 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001951/6.037, allocations: 1.327 MB / 3.977 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/6.039, allocations: 1.65 MB / 3.979 GB, free: 45.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/6.039, allocations: 7.781 kB / 3.979 GB, free: 45.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/6.039, allocations: 9.625 kB / 3.979 GB, free: 45.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/6.039, allocations: 56.81 kB / 3.979 GB, free: 45.15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/6.157, allocations: 75.57 MB / 4.053 GB, free: 29.06 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/6.158, allocations: 428.7 kB / 4.053 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/6.158, allocations: 343 kB / 4.054 GB, free: 29.03 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000923/6.159, allocations: 0.6785 MB / 4.054 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/6.159, allocations: 48.25 kB / 4.054 GB, free: 28.42 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=78): time 2.255e-06/6.159, allocations: 0 / 4.054 GB, free: 28.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01041/6.17, allocations: 3.331 MB / 4.058 GB, free: 27.85 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/6.17, allocations: 164.2 kB / 4.058 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/6.17, allocations: 0.7337 MB / 4.058 GB, free: 27.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/6.171, allocations: 25.7 kB / 4.058 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/6.171, allocations: 0.6088 MB / 4.059 GB, free: 27.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/6.171, allocations: 299 kB / 4.059 GB, free: 26.87 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/6.171, allocations: 0 / 4.059 GB, free: 26.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001668/6.171, allocations: 412.8 kB / 4.06 GB, free: 26.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/6.172, allocations: 417.5 kB / 4.06 GB, free: 26.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007617/6.173, allocations: 1.041 MB / 4.061 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/6.175, allocations: 0.8339 MB / 4.062 GB, free: 25.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/6.175, allocations: 7.281 kB / 4.062 GB, free: 25.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005394/6.18, allocations: 2.275 MB / 4.064 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002484/6.183, allocations: 8.077 MB / 4.072 GB, free: 17.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/6.183, allocations: 20.75 kB / 4.072 GB, free: 17.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/6.183, allocations: 123.4 kB / 4.072 GB, free: 17.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/6.185, allocations: 420.4 kB / 4.073 GB, free: 17.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008093/6.186, allocations: 1.229 MB / 4.074 GB, free: 16.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/6.187, allocations: 189.3 kB / 4.074 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/6.187, allocations: 88.2 kB / 4.074 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/6.187, allocations: 5.094 kB / 4.074 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003022/6.19, allocations: 1.47 MB / 4.076 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/6.19, allocations: 19.47 kB / 4.076 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/6.191, allocations: 121.1 kB / 4.076 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/6.192, allocations: 425.1 kB / 4.076 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007291/6.193, allocations: 1.227 MB / 4.077 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/6.194, allocations: 158.3 kB / 4.077 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/6.194, allocations: 94.17 kB / 4.078 GB, free: 14.86 MB / 0.5573 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.0002987/6.194, allocations: 176.9 kB / 4.078 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/6.196, allocations: 0.5101 MB / 4.078 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/6.2, allocations: 4.146 MB / 4.082 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/6.2, allocations: 51.5 kB / 4.082 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/6.2, allocations: 0 / 4.082 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/6.2, allocations: 9.812 kB / 4.082 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/6.206, allocations: 5.754 MB / 4.088 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/6.206, allocations: 0 / 4.088 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/6.207, allocations: 213.6 kB / 4.088 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/6.207, allocations: 167.6 kB / 4.088 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/6.207, allocations: 20.12 kB / 4.088 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007359/6.208, allocations: 1.301 MB / 4.09 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/6.208, allocations: 3.656 kB / 4.09 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005165/6.213, allocations: 4.468 MB / 4.094 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005437/6.214, allocations: 380 kB / 4.094 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/6.214, allocations: 3.625 kB / 4.094 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008862/6.215, allocations: 113.5 kB / 4.094 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/6.215, allocations: 87.27 kB / 4.095 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/6.215, allocations: 44.72 kB / 4.095 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.000557/6.216, allocations: 0.517 MB / 4.095 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00515/6.221, allocations: 1.528 MB / 4.097 GB, free: 11.62 MB / 0.5573 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.00566/6.227, allocations: 2.173 MB / 4.099 GB, free: 27.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004202/6.231, allocations: 2.922 MB / 4.102 GB, free: 27.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/6.231, allocations: 1.188 kB / 4.102 GB, free: 27.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/6.233, allocations: 1.765 MB / 4.103 GB, free: 27.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/6.235, allocations: 453.8 kB / 4.104 GB, free: 27.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/6.24, allocations: 3.319 MB / 4.107 GB, free: 26.31 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/6.241, allocations: 1.576 MB / 4.108 GB, free: 25.56 MB / 0.573 GB Notification: Performance of SimCode: time 5.01e-07/6.241, allocations: 0 / 4.108 GB, free: 25.56 MB / 0.573 GB Notification: Performance of Templates: time 0.2389/6.48, allocations: 56.7 MB / 4.164 GB, free: 132.1 MB / 0.573 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)