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.001157/0.001157, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.322/1.322, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009525/0.0009528, allocations: 92.45 kB / 267.1 MB, free: 9.277 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.3373/0.3373, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.391e-05, allocations: 0 / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 58.85 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.577/5.685, allocations: 2.77 GB / 3.243 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/5.685, allocations: 81.33 kB / 3.243 GB, free: 59.53 MB / 0.5105 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.49/8.175, allocations: 0.7408 GB / 3.984 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/8.175, allocations: 0 / 3.984 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.726e-05/8.175, allocations: 36.52 kB / 3.984 GB, free: 39.04 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.009485/8.185, allocations: 2.664 MB / 3.986 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/8.185, allocations: 10.06 kB / 3.986 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005595/8.191, allocations: 0.7501 MB / 3.987 GB, free: 37.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/8.193, allocations: 0.9496 MB / 3.988 GB, free: 37.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/8.193, allocations: 231.6 kB / 3.988 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/8.193, allocations: 125.3 kB / 3.988 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/8.197, allocations: 2.269 MB / 3.99 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/8.198, allocations: 11.73 kB / 3.99 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/8.198, allocations: 59.69 kB / 3.991 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.072e-05/8.198, allocations: 51.19 kB / 3.991 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003766/8.202, allocations: 1.893 MB / 3.992 GB, free: 36.79 MB / 0.5261 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.009805/8.211, allocations: 10.82 MB / 4.003 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/8.214, allocations: 1.199 MB / 4.004 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/8.215, allocations: 408.9 kB / 4.005 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000911/8.216, allocations: 0.6898 MB / 4.005 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/8.216, allocations: 45.19 kB / 4.005 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007637/8.216, allocations: 134 kB / 4.005 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=88): time 3.026e-06/8.216, allocations: 2.969 kB / 4.005 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96): time 0.008623/8.225, allocations: 3.496 MB / 4.009 GB, free: 28.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/8.225, allocations: 166.1 kB / 4.009 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/8.226, allocations: 0.848 MB / 4.01 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-05/8.226, allocations: 45.39 kB / 4.01 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/8.226, allocations: 0.6552 MB / 4.01 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/8.227, allocations: 346.6 kB / 4.011 GB, free: 27.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/8.227, allocations: 29.84 kB / 4.011 GB, free: 27.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/8.227, allocations: 364.1 kB / 4.011 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/8.227, allocations: 408.4 kB / 4.012 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/8.228, allocations: 1.028 MB / 4.013 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/8.229, allocations: 0.5712 MB / 4.013 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/8.229, allocations: 14.53 kB / 4.013 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002105/8.231, allocations: 1.592 MB / 4.015 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002271/8.233, allocations: 8.101 MB / 4.023 GB, free: 33.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/8.233, allocations: 22.75 kB / 4.023 GB, free: 33.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/8.234, allocations: 121.6 kB / 4.023 GB, free: 33.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/8.235, allocations: 418.4 kB / 4.023 GB, free: 33.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006985/8.236, allocations: 1.2 MB / 4.024 GB, free: 32.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/8.237, allocations: 175.8 kB / 4.025 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/8.237, allocations: 84.06 kB / 4.025 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/8.237, allocations: 7.25 kB / 4.025 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001926/8.239, allocations: 1.446 MB / 4.026 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/8.239, allocations: 22.81 kB / 4.026 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/8.24, allocations: 120.7 kB / 4.026 GB, free: 32.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/8.241, allocations: 407.7 kB / 4.027 GB, free: 32.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006449/8.241, allocations: 1.207 MB / 4.028 GB, free: 31.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/8.243, allocations: 166.7 kB / 4.028 GB, free: 31.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/8.243, allocations: 83.03 kB / 4.028 GB, free: 31.47 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 (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 () * 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.0003555/8.243, allocations: 231.5 kB / 4.028 GB, free: 31.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/8.243, allocations: 130.4 kB / 4.028 GB, free: 31.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/8.248, allocations: 4.977 MB / 4.033 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-05/8.248, allocations: 65.64 kB / 4.033 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/8.248, allocations: 0 / 4.033 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/8.248, allocations: 3.797 kB / 4.033 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006259/8.254, allocations: 6.968 MB / 4.04 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/8.254, allocations: 0 / 4.04 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009318/8.255, allocations: 277.6 kB / 4.04 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005533/8.256, allocations: 165.8 kB / 4.04 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/8.256, allocations: 28.5 kB / 4.04 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006854/8.256, allocations: 1.231 MB / 4.042 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/8.256, allocations: 0 / 4.042 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/8.26, allocations: 3.833 MB / 4.045 GB, free: 28.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008314/8.261, allocations: 0.5076 MB / 4.046 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/8.261, allocations: 24.52 kB / 4.046 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/8.262, allocations: 130.1 kB / 4.046 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/8.262, allocations: 95.94 kB / 4.046 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/8.262, allocations: 41.12 kB / 4.046 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001037/8.263, allocations: 0.8252 MB / 4.047 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.81e-07/8.263, allocations: 2.156 kB / 4.047 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007127/8.27, allocations: 1.649 MB / 4.049 GB, free: 27.95 MB / 0.5417 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 () * 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.007378/8.278, allocations: 1.957 MB / 4.051 GB, free: 27.58 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004356/8.282, allocations: 2.49 MB / 4.053 GB, free: 27.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/8.282, allocations: 0 / 4.053 GB, free: 27.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/8.284, allocations: 1.272 MB / 4.054 GB, free: 27.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/8.287, allocations: 0.6139 MB / 4.055 GB, free: 27.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/8.292, allocations: 3.458 MB / 4.058 GB, free: 26.62 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/8.293, allocations: 1.593 MB / 4.06 GB, free: 25.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002887/8.296, allocations: 1.691 MB / 4.061 GB, free: 25.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/8.296, allocations: 119.7 kB / 4.062 GB, free: 25.82 MB / 0.5417 GB Notification: Performance of SimCode: time 1.252e-06/8.296, allocations: 0 / 4.062 GB, free: 25.82 MB / 0.5417 GB Notification: Performance of Templates: time 0.06954/8.366, allocations: 61.06 MB / 4.121 GB, free: 6.602 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)