Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01151/0.01151, allocations: 174.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.7/1.7, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001781/0.001781, allocations: 124.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2198/0.2198, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004394, allocations: 10.25 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.116/7.253, allocations: 2.601 GB / 3.051 GB, free: 68.07 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/7.253, allocations: 90.69 kB / 3.052 GB, free: 68.02 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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 - DAE generated: time 2.676/9.929, allocations: 0.7386 GB / 3.79 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.726e-06/9.929, allocations: 0 / 3.79 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001467/9.929, allocations: 42.19 kB / 3.79 GB, free: 40.1 MB / 0.4948 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.01546/9.945, allocations: 2.789 MB / 3.793 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/9.945, allocations: 7.375 kB / 3.793 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/9.955, allocations: 0.7453 MB / 3.794 GB, free: 38.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/9.96, allocations: 0.9708 MB / 3.795 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/9.96, allocations: 232 kB / 3.795 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004871/9.961, allocations: 130.5 kB / 3.795 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009153/9.97, allocations: 2.284 MB / 3.797 GB, free: 37.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-05/9.97, allocations: 7.625 kB / 3.797 GB, free: 37.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/9.971, allocations: 57.12 kB / 3.797 GB, free: 37.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-05/9.971, allocations: 55.55 kB / 3.797 GB, free: 37.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009272/9.98, allocations: 2.033 MB / 3.799 GB, free: 37.61 MB / 0.4948 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.018/9.998, allocations: 10.53 MB / 3.81 GB, free: 30.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/10, allocations: 1.14 MB / 3.811 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04082/10.04, allocations: 19.15 MB / 3.829 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.649e-05/10.04, allocations: 45.53 kB / 3.829 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001201/10.04, allocations: 118.7 kB / 3.83 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 7.524e-06/10.04, allocations: 0 / 3.83 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01356/10.06, allocations: 3.822 MB / 3.833 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/10.06, allocations: 174 kB / 3.833 GB, free: 18.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/10.06, allocations: 0.7716 MB / 3.834 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/10.06, allocations: 41.77 kB / 3.834 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006187/10.06, allocations: 0.6891 MB / 3.835 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/10.06, allocations: 339.7 kB / 3.835 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/10.06, allocations: 34.53 kB / 3.835 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002486/10.06, allocations: 420.3 kB / 3.836 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/10.06, allocations: 481.3 kB / 3.836 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/10.06, allocations: 1.154 MB / 3.837 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/10.07, allocations: 0.6559 MB / 3.838 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/10.07, allocations: 12.12 kB / 3.838 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004411/10.07, allocations: 1.786 MB / 3.84 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006737/10.08, allocations: 8.957 MB / 3.848 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/10.08, allocations: 28.06 kB / 3.848 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/10.08, allocations: 139.3 kB / 3.849 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/10.08, allocations: 406.4 kB / 3.849 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/10.08, allocations: 1.209 MB / 3.85 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/10.08, allocations: 159.9 kB / 3.85 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003751/10.08, allocations: 89.73 kB / 3.85 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/10.08, allocations: 3.781 kB / 3.85 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004567/10.09, allocations: 1.639 MB / 3.852 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.861e-05/10.09, allocations: 22.62 kB / 3.852 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/10.09, allocations: 139.3 kB / 3.852 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/10.09, allocations: 411.6 kB / 3.852 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/10.09, allocations: 1.209 MB / 3.854 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/10.09, allocations: 159.6 kB / 3.854 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/10.09, allocations: 90.62 kB / 3.854 GB, free: 19.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (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.001239/10.1, allocations: 464.5 kB / 3.854 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/10.1, allocations: 115.2 kB / 3.854 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006767/10.1, allocations: 4.825 MB / 3.859 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/10.1, allocations: 67.34 kB / 3.859 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/10.1, allocations: 3.938 kB / 3.859 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/10.1, allocations: 10.89 kB / 3.859 GB, free: 17.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/10.11, allocations: 6.78 MB / 3.866 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.609e-06/10.11, allocations: 0 / 3.866 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009934/10.11, allocations: 232.1 kB / 3.866 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007641/10.12, allocations: 188.6 kB / 3.866 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/10.12, allocations: 27.47 kB / 3.866 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009153/10.12, allocations: 1.228 MB / 3.868 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/10.12, allocations: 4.062 kB / 3.868 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/10.12, allocations: 3.997 MB / 3.871 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/10.12, allocations: 438.8 kB / 3.872 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/10.12, allocations: 20 kB / 3.872 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/10.13, allocations: 110.7 kB / 3.872 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/10.13, allocations: 86.88 kB / 3.872 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/10.13, allocations: 39.84 kB / 3.872 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001342/10.13, allocations: 0.6187 MB / 3.873 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/10.13, allocations: 3.938 kB / 3.873 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01004/10.14, allocations: 1.612 MB / 3.874 GB, free: 5.34 MB / 0.5105 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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse27.phase,$cse27.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.01095/10.15, allocations: 1.942 MB / 3.876 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006673/10.15, allocations: 2.669 MB / 3.879 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/10.15, allocations: 4 kB / 3.879 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/10.16, allocations: 1.316 MB / 3.88 GB, free: 308 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/10.16, allocations: 0.5367 MB / 3.881 GB, free: 0 / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.536/10.7, allocations: 144.5 MB / 4.022 GB, free: 54.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009007/10.7, allocations: 1.561 MB / 4.023 GB, free: 54.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002951/10.7, allocations: 1.582 MB / 4.025 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/10.7, allocations: 122.4 kB / 4.025 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/10.7, allocations: 0 / 4.025 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.06668/10.77, allocations: 54.19 MB / 4.078 GB, free: 18 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)