Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004556/0.004556, allocations: 174.7 kB / 7.447 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.415/1.415, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001729/0.001729, allocations: 111.8 kB / 217.7 MB, free: 8.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1811/0.1811, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.147e-06, allocations: 1.562 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.313/6.418, allocations: 2.49 GB / 2.879 GB, free: 97.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/6.418, allocations: 80.14 kB / 2.879 GB, free: 97.07 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.94/9.358, allocations: 0.7136 GB / 3.592 GB, free: 37.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001008/9.358, allocations: 43.45 kB / 3.592 GB, free: 37.91 MB / 474.7 MB 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.01167/9.37, allocations: 2.604 MB / 3.595 GB, free: 36.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/9.37, allocations: 7.062 kB / 3.595 GB, free: 36.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007302/9.377, allocations: 0.7751 MB / 3.596 GB, free: 36.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/9.38, allocations: 0.9848 MB / 3.597 GB, free: 36.24 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/9.381, allocations: 190.4 kB / 3.597 GB, free: 36.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/9.381, allocations: 68.81 kB / 3.597 GB, free: 36.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002526/9.383, allocations: 1.319 MB / 3.598 GB, free: 36.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/9.386, allocations: 1.64 MB / 3.6 GB, free: 35.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/9.386, allocations: 12.75 kB / 3.6 GB, free: 35.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/9.386, allocations: 7.688 kB / 3.6 GB, free: 35.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.519e-05/9.387, allocations: 50.31 kB / 3.6 GB, free: 35.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6387/10.03, allocations: 101.4 MB / 3.699 GB, free: 48.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/10.03, allocations: 412.9 kB / 3.699 GB, free: 48.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/10.03, allocations: 334.1 kB / 3.7 GB, free: 48.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03121/10.06, allocations: 14.65 MB / 3.714 GB, free: 40.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/10.06, allocations: 45.78 kB / 3.714 GB, free: 40.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.806e-06/10.06, allocations: 3.438 kB / 3.714 GB, free: 40.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=86): time 0.01221/10.07, allocations: 3.198 MB / 3.717 GB, free: 40.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/10.07, allocations: 170.8 kB / 3.717 GB, free: 39.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/10.07, allocations: 0.7223 MB / 3.718 GB, free: 39.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/10.07, allocations: 27.89 kB / 3.718 GB, free: 39.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/10.07, allocations: 0.6219 MB / 3.719 GB, free: 39.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/10.07, allocations: 296.4 kB / 3.719 GB, free: 39.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/10.07, allocations: 0 / 3.719 GB, free: 39.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/10.07, allocations: 424.8 kB / 3.719 GB, free: 38.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/10.07, allocations: 404 kB / 3.72 GB, free: 38.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/10.07, allocations: 1.08 MB / 3.721 GB, free: 38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/10.08, allocations: 0.8073 MB / 3.721 GB, free: 37.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/10.08, allocations: 6.719 kB / 3.722 GB, free: 37.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006027/10.08, allocations: 2.253 MB / 3.724 GB, free: 37.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002121/10.09, allocations: 8.95 MB / 3.732 GB, free: 28.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/10.09, allocations: 21.34 kB / 3.732 GB, free: 28.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/10.09, allocations: 127 kB / 3.733 GB, free: 28.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/10.09, allocations: 420.5 kB / 3.733 GB, free: 28.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000856/10.09, allocations: 1.234 MB / 3.734 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/10.09, allocations: 130.5 kB / 3.734 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/10.09, allocations: 98.06 kB / 3.734 GB, free: 27.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/10.09, allocations: 8.969 kB / 3.734 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003626/10.09, allocations: 1.467 MB / 3.736 GB, free: 27.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/10.09, allocations: 21.91 kB / 3.736 GB, free: 27.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003474/10.09, allocations: 130.8 kB / 3.736 GB, free: 27.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/10.1, allocations: 416.9 kB / 3.736 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007845/10.1, allocations: 1.234 MB / 3.738 GB, free: 26.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/10.1, allocations: 127.7 kB / 3.738 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/10.1, allocations: 94.53 kB / 3.738 GB, free: 26.39 MB / 490.7 MB 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.0005518/10.1, allocations: 181.9 kB / 3.738 GB, free: 26.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/10.1, allocations: 0.5198 MB / 3.738 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005604/10.11, allocations: 4.122 MB / 3.743 GB, free: 25.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.234e-05/10.11, allocations: 48.22 kB / 3.743 GB, free: 25.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/10.11, allocations: 0 / 3.743 GB, free: 25.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/10.11, allocations: 7.453 kB / 3.743 GB, free: 25.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/10.11, allocations: 5.668 MB / 3.748 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/10.11, allocations: 2.969 kB / 3.748 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/10.11, allocations: 203.8 kB / 3.748 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/10.12, allocations: 159.6 kB / 3.748 GB, free: 25.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/10.12, allocations: 25.7 kB / 3.748 GB, free: 25.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006927/10.12, allocations: 1.297 MB / 3.75 GB, free: 24.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/10.12, allocations: 3.844 kB / 3.75 GB, free: 24.19 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006138/10.12, allocations: 4.432 MB / 3.754 GB, free: 23.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008774/10.12, allocations: 367 kB / 3.754 GB, free: 23.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/10.12, allocations: 0 / 3.754 GB, free: 23.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009409/10.12, allocations: 91.31 kB / 3.755 GB, free: 23.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/10.12, allocations: 92.28 kB / 3.755 GB, free: 23.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/10.12, allocations: 42.53 kB / 3.755 GB, free: 23.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007327/10.13, allocations: 0.5077 MB / 3.755 GB, free: 23.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00802/10.13, allocations: 1.489 MB / 3.757 GB, free: 23.4 MB / 490.7 MB 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.01002/10.14, allocations: 2.154 MB / 3.759 GB, free: 23.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005314/10.15, allocations: 2.909 MB / 3.762 GB, free: 23.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/10.15, allocations: 2.25 kB / 3.762 GB, free: 23.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/10.15, allocations: 1.763 MB / 3.763 GB, free: 23.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/10.15, allocations: 439.7 kB / 3.764 GB, free: 23.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/10.29, allocations: 56.14 MB / 3.819 GB, free: 20.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/10.3, allocations: 1.583 MB / 3.82 GB, free: 19.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/10.3, allocations: 0 / 3.82 GB, free: 19.65 MB / 490.7 MB Notification: Performance of Templates: time 0.4418/10.74, allocations: 56.11 MB / 3.875 GB, free: 67.57 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)