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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007578/0.007578, allocations: 165 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.559/1.559, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.00171/0.001711, allocations: 109.6 kB / 226.2 MB, free: 10.11 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.3889/0.3889, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004083, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.043/7.175, allocations: 2.491 GB / 2.893 GB, free: 45.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/7.176, allocations: 91.73 kB / 2.893 GB, free: 45.57 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 - DAE generated: time 2.456/9.632, allocations: 0.7196 GB / 3.612 GB, free: 12.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/9.632, allocations: 0 / 3.612 GB, free: 12.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.063e-05/9.632, allocations: 35.98 kB / 3.612 GB, free: 12.43 MB / 458.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.009839/9.642, allocations: 2.709 MB / 3.615 GB, free: 9.668 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/9.642, allocations: 12.03 kB / 3.615 GB, free: 9.656 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/9.648, allocations: 0.6929 MB / 3.616 GB, free: 8.961 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/9.65, allocations: 0.9692 MB / 3.616 GB, free: 7.945 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/9.651, allocations: 238.1 kB / 3.617 GB, free: 7.688 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/9.651, allocations: 124 kB / 3.617 GB, free: 7.566 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/9.655, allocations: 2.275 MB / 3.619 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/9.656, allocations: 7.938 kB / 3.619 GB, free: 5.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/9.656, allocations: 67.98 kB / 3.619 GB, free: 5.023 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/9.656, allocations: 54.08 kB / 3.619 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004423/9.66, allocations: 2.029 MB / 3.621 GB, free: 2.93 MB / 458.7 MB 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.294/9.954, allocations: 10.53 MB / 3.631 GB, free: 19.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/9.958, allocations: 1.145 MB / 3.633 GB, free: 19.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03803/9.996, allocations: 19.07 MB / 3.651 GB, free: 25.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/9.996, allocations: 46.19 kB / 3.651 GB, free: 25.35 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009901/9.997, allocations: 121.9 kB / 3.651 GB, free: 25.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=88): time 3.136e-06/9.997, allocations: 0 / 3.651 GB, free: 25.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01113/10.01, allocations: 3.823 MB / 3.655 GB, free: 24.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/10.01, allocations: 171.2 kB / 3.655 GB, free: 24.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/10.01, allocations: 0.7617 MB / 3.656 GB, free: 24.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.84e-05/10.01, allocations: 48.02 kB / 3.656 GB, free: 24.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/10.01, allocations: 0.6898 MB / 3.657 GB, free: 24.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/10.01, allocations: 345.6 kB / 3.657 GB, free: 23.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/10.01, allocations: 32.12 kB / 3.657 GB, free: 23.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002155/10.01, allocations: 419.1 kB / 3.657 GB, free: 23.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009738/10.01, allocations: 479.1 kB / 3.658 GB, free: 23.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/10.01, allocations: 1.159 MB / 3.659 GB, free: 22.76 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/10.01, allocations: 0.6486 MB / 3.66 GB, free: 22.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/10.01, allocations: 9.281 kB / 3.66 GB, free: 22.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00313/10.02, allocations: 1.781 MB / 3.661 GB, free: 22.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003833/10.02, allocations: 8.97 MB / 3.67 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/10.02, allocations: 24.34 kB / 3.67 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/10.02, allocations: 143.6 kB / 3.67 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/10.02, allocations: 407.1 kB / 3.671 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009145/10.02, allocations: 1.215 MB / 3.672 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/10.03, allocations: 149.3 kB / 3.672 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/10.03, allocations: 97.14 kB / 3.672 GB, free: 12.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/10.03, allocations: 2.812 kB / 3.672 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002903/10.03, allocations: 1.642 MB / 3.674 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/10.03, allocations: 23.53 kB / 3.674 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/10.03, allocations: 135 kB / 3.674 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/10.03, allocations: 408.9 kB / 3.674 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/10.03, allocations: 1.211 MB / 3.675 GB, free: 27.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/10.03, allocations: 151.1 kB / 3.676 GB, free: 27.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/10.03, allocations: 89.92 kB / 3.676 GB, free: 27.13 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 (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.001166/10.03, allocations: 462.6 kB / 3.676 GB, free: 26.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/10.03, allocations: 122.2 kB / 3.676 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/10.04, allocations: 4.825 MB / 3.681 GB, free: 26.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-05/10.04, allocations: 68.92 kB / 3.681 GB, free: 26.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/10.04, allocations: 0 / 3.681 GB, free: 26.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/10.04, allocations: 9.094 kB / 3.681 GB, free: 26.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009735/10.05, allocations: 6.786 MB / 3.688 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/10.05, allocations: 1.156 kB / 3.688 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/10.05, allocations: 233.4 kB / 3.688 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008059/10.05, allocations: 178.8 kB / 3.688 GB, free: 25.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/10.05, allocations: 32.92 kB / 3.688 GB, free: 25.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009914/10.05, allocations: 1.228 MB / 3.689 GB, free: 24.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/10.05, allocations: 5.656 kB / 3.689 GB, free: 24.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006575/10.06, allocations: 3.99 MB / 3.693 GB, free: 24.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/10.06, allocations: 450.1 kB / 3.694 GB, free: 24.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/10.06, allocations: 23.94 kB / 3.694 GB, free: 24.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008493/10.06, allocations: 103.6 kB / 3.694 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/10.06, allocations: 88.8 kB / 3.694 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/10.06, allocations: 37.33 kB / 3.694 GB, free: 24.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008746/10.06, allocations: 0.6154 MB / 3.694 GB, free: 23.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/10.06, allocations: 3.188 kB / 3.694 GB, free: 23.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008723/10.07, allocations: 1.603 MB / 3.696 GB, free: 23.92 MB / 490.7 MB 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.008412/10.08, allocations: 1.941 MB / 3.698 GB, free: 23.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006128/10.09, allocations: 2.677 MB / 3.701 GB, free: 23.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/10.09, allocations: 3 kB / 3.701 GB, free: 23.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/10.09, allocations: 1.308 MB / 3.702 GB, free: 23.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/10.09, allocations: 0.5027 MB / 3.702 GB, free: 23.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5628/10.65, allocations: 141.9 MB / 3.841 GB, free: 51.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/10.66, allocations: 1.553 MB / 3.842 GB, free: 51.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003567/10.66, allocations: 1.577 MB / 3.844 GB, free: 51.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/10.66, allocations: 121.3 kB / 3.844 GB, free: 51.22 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/10.66, allocations: 0 / 3.844 GB, free: 51.22 MB / 490.7 MB Notification: Performance of Templates: time 0.07614/10.74, allocations: 54.07 MB / 3.897 GB, free: 48.4 MB / 490.7 MB 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)