Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002171/0.002176, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 91.61 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2841/0.2841, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.69e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4033, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.063/8.466, allocations: 2.769 GB / 3.235 GB, free: 20.36 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/8.467, allocations: 87.69 kB / 3.235 GB, free: 20.31 MB / 0.4952 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 3.868/12.33, allocations: 0.734 GB / 3.969 GB, free: 41 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.116e-06/12.33, allocations: 3.781 kB / 3.969 GB, free: 41 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001293/12.33, allocations: 34.67 kB / 3.969 GB, free: 40.99 MB / 0.5108 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.01158/12.35, allocations: 2.674 MB / 3.972 GB, free: 39.5 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/12.35, allocations: 6.781 kB / 3.972 GB, free: 39.5 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008594/12.36, allocations: 0.7482 MB / 3.973 GB, free: 39.38 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/12.36, allocations: 0.9469 MB / 3.974 GB, free: 38.84 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/12.36, allocations: 189.4 kB / 3.974 GB, free: 38.7 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/12.36, allocations: 73.75 kB / 3.974 GB, free: 38.7 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003664/12.36, allocations: 1.318 MB / 3.975 GB, free: 38.24 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/12.37, allocations: 1.645 MB / 3.977 GB, free: 37.29 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/12.37, allocations: 7.25 kB / 3.977 GB, free: 37.29 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/12.37, allocations: 6.875 kB / 3.977 GB, free: 37.29 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.198e-05/12.37, allocations: 53.42 kB / 3.977 GB, free: 37.29 MB / 0.5108 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.6219/12.99, allocations: 75.22 MB / 4.05 GB, free: 72.63 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/12.99, allocations: 0.6609 MB / 4.051 GB, free: 72.6 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008694/12.99, allocations: 343 kB / 4.051 GB, free: 72.59 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/12.99, allocations: 0.6856 MB / 4.052 GB, free: 72.03 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/12.99, allocations: 44.17 kB / 4.052 GB, free: 71.99 MB / 0.5421 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001099/12.99, allocations: 97.2 kB / 4.052 GB, free: 71.99 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=78): time 4.789e-06/12.99, allocations: 3.031 kB / 4.052 GB, free: 71.99 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86): time 0.0186/13.01, allocations: 3.267 MB / 4.055 GB, free: 71.54 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/13.01, allocations: 164.1 kB / 4.055 GB, free: 71.35 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/13.02, allocations: 0.7197 MB / 4.056 GB, free: 71.19 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/13.02, allocations: 29.64 kB / 4.056 GB, free: 71.16 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/13.02, allocations: 0.7171 MB / 4.057 GB, free: 70.78 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/13.02, allocations: 298 kB / 4.057 GB, free: 70.63 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/13.02, allocations: 5.281 kB / 4.057 GB, free: 70.63 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001389/13.02, allocations: 367.9 kB / 4.057 GB, free: 70.32 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/13.02, allocations: 377.9 kB / 4.058 GB, free: 70.31 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/13.02, allocations: 0.9931 MB / 4.059 GB, free: 69.54 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/13.02, allocations: 0.7799 MB / 4.059 GB, free: 69.53 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.742e-05/13.02, allocations: 5.75 kB / 4.059 GB, free: 69.53 MB / 0.5421 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007609/13.03, allocations: 1.606 MB / 4.061 GB, free: 69.44 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.00179/13.03, allocations: 8.094 MB / 4.069 GB, free: 61.01 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/13.03, allocations: 23.56 kB / 4.069 GB, free: 61.01 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/13.03, allocations: 117.7 kB / 4.069 GB, free: 60.99 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/13.04, allocations: 410.7 kB / 4.069 GB, free: 60.99 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/13.04, allocations: 1.218 MB / 4.071 GB, free: 59.95 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/13.04, allocations: 172.7 kB / 4.071 GB, free: 59.95 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/13.04, allocations: 91.45 kB / 4.071 GB, free: 59.95 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/13.04, allocations: 5.656 kB / 4.071 GB, free: 59.95 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005875/13.05, allocations: 1.376 MB / 4.072 GB, free: 59.91 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-05/13.05, allocations: 20.69 kB / 4.072 GB, free: 59.91 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/13.05, allocations: 119.6 kB / 4.072 GB, free: 59.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/13.05, allocations: 407.1 kB / 4.073 GB, free: 59.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/13.05, allocations: 1.22 MB / 4.074 GB, free: 58.86 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/13.06, allocations: 155.9 kB / 4.074 GB, free: 58.86 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/13.06, allocations: 83.8 kB / 4.074 GB, free: 58.86 MB / 0.5421 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 (volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase,volume2.inFlow[2],volume2.inFlow[1],sink1.medium.phase,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.0006046/13.06, allocations: 179 kB / 4.074 GB, free: 58.75 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/13.06, allocations: 114.9 kB / 4.075 GB, free: 58.69 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009568/13.07, allocations: 4.154 MB / 4.079 GB, free: 58.32 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/13.07, allocations: 58.44 kB / 4.079 GB, free: 58.32 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/13.07, allocations: 1.281 kB / 4.079 GB, free: 58.32 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.876e-05/13.07, allocations: 5.109 kB / 4.079 GB, free: 58.32 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/13.08, allocations: 5.861 MB / 4.084 GB, free: 57.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/13.08, allocations: 2.812 kB / 4.084 GB, free: 57.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/13.08, allocations: 231.2 kB / 4.085 GB, free: 57.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006922/13.08, allocations: 156.5 kB / 4.085 GB, free: 57.68 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/13.08, allocations: 16.84 kB / 4.085 GB, free: 57.68 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009094/13.08, allocations: 1.282 MB / 4.086 GB, free: 56.63 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/13.08, allocations: 5.516 kB / 4.086 GB, free: 56.63 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/13.09, allocations: 3.643 MB / 4.09 GB, free: 56.15 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/13.09, allocations: 379.7 kB / 4.09 GB, free: 55.92 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/13.09, allocations: 8.219 kB / 4.09 GB, free: 55.92 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/13.09, allocations: 109.4 kB / 4.09 GB, free: 55.91 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/13.09, allocations: 81.83 kB / 4.09 GB, free: 55.91 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/13.09, allocations: 43.23 kB / 4.09 GB, free: 55.91 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0009552/13.1, allocations: 0.5025 MB / 4.091 GB, free: 55.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.41e-07/13.1, allocations: 0 / 4.091 GB, free: 55.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.008591/13.1, allocations: 1.495 MB / 4.092 GB, free: 55.75 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * 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.01088/13.12, allocations: 2.131 MB / 4.094 GB, free: 55.51 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.005964/13.12, allocations: 2.256 MB / 4.096 GB, free: 55.48 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/13.12, allocations: 1.219 kB / 4.096 GB, free: 55.48 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/13.12, allocations: 1.146 MB / 4.097 GB, free: 55.47 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/13.13, allocations: 469.3 kB / 4.098 GB, free: 55.45 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/13.13, allocations: 3.083 MB / 4.101 GB, free: 54.77 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/13.14, allocations: 1.469 MB / 4.102 GB, free: 54.05 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/13.14, allocations: 131 kB / 4.103 GB, free: 54.04 MB / 0.5421 GB Notification: Performance of SimCode: time 1.302e-06/13.14, allocations: 0 / 4.103 GB, free: 54.04 MB / 0.5421 GB Notification: Performance of Templates: time 0.1054/13.24, allocations: 55.72 MB / 4.157 GB, free: 50.89 MB / 0.5421 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)