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.001976/0.001976, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.705/1.705, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.000972/0.0009721, allocations: 81.48 kB / 271.3 MB, free: 8.238 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.4403/0.4403, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004213, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.672/6.817, allocations: 2.77 GB / 3.25 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/6.817, allocations: 86.64 kB / 3.25 GB, free: 103.1 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.495/9.312, allocations: 0.7048 GB / 3.955 GB, free: 40.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/9.312, allocations: 1.281 kB / 3.955 GB, free: 40.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001072/9.312, allocations: 41.3 kB / 3.955 GB, free: 40.42 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.008948/9.321, allocations: 2.779 MB / 3.958 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/9.321, allocations: 10.66 kB / 3.958 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/9.327, allocations: 0.742 MB / 3.959 GB, free: 39.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/9.329, allocations: 0.9802 MB / 3.96 GB, free: 38.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/9.329, allocations: 228.9 kB / 3.96 GB, free: 38.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/9.329, allocations: 128.2 kB / 3.96 GB, free: 38.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/9.334, allocations: 2.307 MB / 3.962 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/9.334, allocations: 12.22 kB / 3.962 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/9.334, allocations: 66.75 kB / 3.962 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.697e-05/9.334, allocations: 53.95 kB / 3.962 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004535/9.339, allocations: 2.038 MB / 3.964 GB, free: 38.3 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.01032/9.349, allocations: 10.82 MB / 3.975 GB, free: 31.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/9.352, allocations: 1.28 MB / 3.976 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009358/9.353, allocations: 0.5183 MB / 3.977 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009138/9.354, allocations: 0.687 MB / 3.977 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/9.354, allocations: 45.66 kB / 3.977 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007699/9.355, allocations: 126.7 kB / 3.977 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=88): time 2.535e-06/9.355, allocations: 0 / 3.977 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96): time 0.01132/9.366, allocations: 4.176 MB / 3.982 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/9.366, allocations: 168.2 kB / 3.982 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/9.368, allocations: 0.9762 MB / 3.983 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-05/9.368, allocations: 45.45 kB / 3.983 GB, free: 29.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/9.368, allocations: 0.6597 MB / 3.983 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/9.368, allocations: 344 kB / 3.984 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/9.368, allocations: 29.56 kB / 3.984 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/9.368, allocations: 365.8 kB / 3.984 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/9.369, allocations: 0.5147 MB / 3.985 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/9.371, allocations: 1.154 MB / 3.986 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/9.373, allocations: 1.739 MB / 3.987 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/9.373, allocations: 6.188 kB / 3.987 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003339/9.376, allocations: 1.829 MB / 3.989 GB, free: 26.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003611/9.377, allocations: 0.6918 MB / 3.99 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/9.377, allocations: 25.34 kB / 3.99 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/9.377, allocations: 135.5 kB / 3.99 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/9.379, allocations: 409.1 kB / 3.99 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005569/9.379, allocations: 1.205 MB / 3.992 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/9.381, allocations: 174 kB / 3.992 GB, free: 24.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/9.381, allocations: 88.89 kB / 3.992 GB, free: 24.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/9.381, allocations: 2.938 kB / 3.992 GB, free: 24.94 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003259/9.384, allocations: 1.679 MB / 3.993 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-05/9.384, allocations: 20.47 kB / 3.993 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/9.385, allocations: 131.2 kB / 3.994 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/9.386, allocations: 409.7 kB / 3.994 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005602/9.387, allocations: 1.208 MB / 3.995 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/9.388, allocations: 166.8 kB / 3.995 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/9.388, allocations: 86.86 kB / 3.995 GB, free: 23.84 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.0007825/9.389, allocations: 463.5 kB / 3.996 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/9.389, allocations: 126.5 kB / 3.996 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006148/9.395, allocations: 5.067 MB / 4.001 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/9.395, allocations: 68.72 kB / 4.001 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/9.395, allocations: 7.969 kB / 4.001 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/9.395, allocations: 3.797 kB / 4.001 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009317/9.405, allocations: 7.081 MB / 4.008 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/9.405, allocations: 2.688 kB / 4.008 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/9.406, allocations: 276 kB / 4.008 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/9.407, allocations: 184 kB / 4.008 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/9.407, allocations: 28.77 kB / 4.008 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005688/9.407, allocations: 1.234 MB / 4.01 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/9.407, allocations: 6.656 kB / 4.01 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005134/9.412, allocations: 4.167 MB / 4.014 GB, free: 20.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/9.413, allocations: 0.5056 MB / 4.014 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/9.414, allocations: 23.84 kB / 4.014 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/9.415, allocations: 128.7 kB / 4.014 GB, free: 20.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/9.415, allocations: 92.56 kB / 4.014 GB, free: 20.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/9.415, allocations: 45.22 kB / 4.014 GB, free: 20.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00133/9.417, allocations: 0.8387 MB / 4.015 GB, free: 20.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/9.417, allocations: 1.844 kB / 4.015 GB, free: 20.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007408/9.424, allocations: 1.645 MB / 4.017 GB, free: 20.31 MB / 0.5261 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.008261/9.432, allocations: 1.95 MB / 4.019 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005498/9.438, allocations: 2.787 MB / 4.021 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/9.438, allocations: 0 / 4.021 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/9.441, allocations: 1.362 MB / 4.023 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004999/9.446, allocations: 0.6137 MB / 4.023 GB, free: 19.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/9.455, allocations: 5.331 MB / 4.029 GB, free: 17.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/9.457, allocations: 1.547 MB / 4.03 GB, free: 17.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005474/9.462, allocations: 1.643 MB / 4.032 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/9.463, allocations: 125.8 kB / 4.032 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of SimCode: time 7.82e-07/9.463, allocations: 1.438 kB / 4.032 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of Templates: time 0.08861/9.551, allocations: 59.2 MB / 4.09 GB, free: 13.64 MB / 0.5261 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)