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.001285/0.001285, allocations: 181.8 kB / 15.76 MB, free: 6.367 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.849/1.849, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001318/0.001318, allocations: 82.89 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2386/0.2386, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 11.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 58.86 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.905/8.042, allocations: 2.77 GB / 3.249 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/8.042, allocations: 91.17 kB / 3.249 GB, free: 72.31 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.869/10.91, allocations: 0.743 GB / 3.992 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/10.91, allocations: 0 / 3.992 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.354e-05/10.91, allocations: 36.97 kB / 3.992 GB, free: 42.8 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.009937/10.92, allocations: 2.792 MB / 3.995 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/10.92, allocations: 9.844 kB / 3.995 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00591/10.93, allocations: 0.7412 MB / 3.995 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/10.93, allocations: 0.9555 MB / 3.996 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/10.93, allocations: 233.4 kB / 3.996 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/10.93, allocations: 121.5 kB / 3.997 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004641/10.93, allocations: 2.303 MB / 3.999 GB, free: 40.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/10.94, allocations: 14.42 kB / 3.999 GB, free: 40.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/10.94, allocations: 64.66 kB / 3.999 GB, free: 40.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/10.94, allocations: 55.94 kB / 3.999 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/10.94, allocations: 2.03 MB / 4.001 GB, free: 40.48 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.01119/10.95, allocations: 10.81 MB / 4.011 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/10.95, allocations: 1.285 MB / 4.013 GB, free: 33.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009443/10.96, allocations: 0.6873 MB / 4.013 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/10.96, allocations: 48.12 kB / 4.013 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008867/10.96, allocations: 131 kB / 4.014 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=88): time 3.166e-06/10.96, allocations: 0 / 4.014 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96): time 0.01165/10.97, allocations: 4.177 MB / 4.018 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/10.97, allocations: 167.1 kB / 4.018 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/10.97, allocations: 0.8604 MB / 4.019 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.091e-05/10.97, allocations: 47.8 kB / 4.019 GB, free: 31.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/10.97, allocations: 0.657 MB / 4.019 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/10.97, allocations: 335.4 kB / 4.02 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/10.97, allocations: 32.22 kB / 4.02 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/10.97, allocations: 362.9 kB / 4.02 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/10.97, allocations: 0.5121 MB / 4.021 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/10.97, allocations: 1.149 MB / 4.022 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/10.97, allocations: 0.6895 MB / 4.022 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/10.97, allocations: 3.844 kB / 4.022 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003258/10.98, allocations: 1.826 MB / 4.024 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002007/10.98, allocations: 8.094 MB / 4.032 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.87e-05/10.98, allocations: 22.31 kB / 4.032 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/10.98, allocations: 143.8 kB / 4.032 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/10.98, allocations: 402.7 kB / 4.033 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000817/10.98, allocations: 1.217 MB / 4.034 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/10.98, allocations: 171.1 kB / 4.034 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/10.98, allocations: 88.41 kB / 4.034 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/10.98, allocations: 6.812 kB / 4.034 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003182/10.99, allocations: 1.677 MB / 4.036 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.361e-05/10.99, allocations: 25.69 kB / 4.036 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/10.99, allocations: 137.2 kB / 4.036 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/10.99, allocations: 402.5 kB / 4.036 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/10.99, allocations: 1.207 MB / 4.037 GB, free: 35.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/10.99, allocations: 172.2 kB / 4.038 GB, free: 35.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/10.99, allocations: 83.41 kB / 4.038 GB, free: 35.14 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 () * 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.0009248/10.99, allocations: 450.3 kB / 4.038 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/10.99, allocations: 126.8 kB / 4.038 GB, free: 34.85 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006287/11, allocations: 5.081 MB / 4.043 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.988e-05/11, allocations: 63.91 kB / 4.043 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/11, allocations: 0 / 4.043 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/11, allocations: 7.734 kB / 4.043 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008777/11.01, allocations: 7.089 MB / 4.05 GB, free: 33.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/11.01, allocations: 10.03 kB / 4.05 GB, free: 33.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009701/11.01, allocations: 267.7 kB / 4.05 GB, free: 33.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007313/11.01, allocations: 187.8 kB / 4.051 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/11.01, allocations: 33.81 kB / 4.051 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008542/11.01, allocations: 1.228 MB / 4.052 GB, free: 32.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/11.01, allocations: 2.406 kB / 4.052 GB, free: 32.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/11.02, allocations: 4.169 MB / 4.056 GB, free: 32.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/11.02, allocations: 0.505 MB / 4.056 GB, free: 31.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004963/11.02, allocations: 30.31 kB / 4.056 GB, free: 31.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/11.02, allocations: 129.2 kB / 4.057 GB, free: 31.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/11.02, allocations: 93.38 kB / 4.057 GB, free: 31.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/11.02, allocations: 48.59 kB / 4.057 GB, free: 31.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001601/11.02, allocations: 0.8368 MB / 4.057 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/11.02, allocations: 0 / 4.057 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009469/11.03, allocations: 1.64 MB / 4.059 GB, free: 31.56 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 () * 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.0101/11.04, allocations: 1.956 MB / 4.061 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006451/11.05, allocations: 2.782 MB / 4.064 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/11.05, allocations: 0 / 4.064 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/11.05, allocations: 1.365 MB / 4.065 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/11.05, allocations: 0.6018 MB / 4.066 GB, free: 30.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/11.06, allocations: 5.311 MB / 4.071 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/11.06, allocations: 1.6 MB / 4.072 GB, free: 28.06 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003417/11.07, allocations: 1.644 MB / 4.074 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/11.07, allocations: 126.1 kB / 4.074 GB, free: 27.99 MB / 0.5417 GB Notification: Performance of SimCode: time 1.362e-06/11.07, allocations: 0 / 4.074 GB, free: 27.99 MB / 0.5417 GB Notification: Performance of Templates: time 0.09357/11.16, allocations: 56.99 MB / 4.13 GB, free: 9.027 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)