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.002195/0.002195, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001063/0.001063, allocations: 98.61 kB / 267.5 MB, free: 14.11 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.2716/0.2716, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.249e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.868/7.98, allocations: 2.77 GB / 3.243 GB, free: 75.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/7.98, allocations: 93.77 kB / 3.243 GB, free: 75.37 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 3.852/11.83, allocations: 0.7408 GB / 3.984 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/11.83, allocations: 0 / 3.984 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001134/11.83, allocations: 34.75 kB / 3.984 GB, free: 44.37 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.0111/11.84, allocations: 2.679 MB / 3.986 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/11.84, allocations: 10.19 kB / 3.986 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008552/11.85, allocations: 0.7477 MB / 3.987 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/11.86, allocations: 0.95 MB / 3.988 GB, free: 42.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/11.86, allocations: 228.3 kB / 3.988 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/11.86, allocations: 128 kB / 3.988 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006725/11.86, allocations: 2.271 MB / 3.99 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/11.86, allocations: 12.12 kB / 3.99 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/11.86, allocations: 59.5 kB / 3.991 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.953e-05/11.86, allocations: 55.12 kB / 3.991 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006309/11.87, allocations: 1.887 MB / 3.992 GB, free: 42.12 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.01709/11.89, allocations: 10.81 MB / 4.003 GB, free: 34.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/11.89, allocations: 1.196 MB / 4.004 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009369/11.89, allocations: 417.5 kB / 4.005 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/11.89, allocations: 0.6877 MB / 4.005 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/11.89, allocations: 50.78 kB / 4.005 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001027/11.89, allocations: 130.9 kB / 4.005 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=88): time 3.627e-06/11.89, allocations: 0 / 4.005 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96): time 0.01456/11.91, allocations: 3.495 MB / 4.009 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/11.91, allocations: 165.2 kB / 4.009 GB, free: 33.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/11.91, allocations: 0.8485 MB / 4.01 GB, free: 33.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/11.91, allocations: 44.23 kB / 4.01 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/11.91, allocations: 0.6662 MB / 4.01 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/11.91, allocations: 341.7 kB / 4.011 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/11.91, allocations: 31.84 kB / 4.011 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001154/11.91, allocations: 366.5 kB / 4.011 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/11.91, allocations: 407.8 kB / 4.012 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/11.91, allocations: 1.032 MB / 4.013 GB, free: 31.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/11.92, allocations: 0.5685 MB / 4.013 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/11.92, allocations: 3.719 kB / 4.013 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003663/11.92, allocations: 1.541 MB / 4.015 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001683/11.92, allocations: 8.105 MB / 4.023 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-05/11.92, allocations: 19.81 kB / 4.023 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/11.92, allocations: 123.7 kB / 4.023 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/11.93, allocations: 411 kB / 4.023 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008389/11.93, allocations: 1.204 MB / 4.024 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/11.93, allocations: 169.5 kB / 4.024 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/11.93, allocations: 85.09 kB / 4.025 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/11.93, allocations: 3.875 kB / 4.025 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003358/11.93, allocations: 1.448 MB / 4.026 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/11.93, allocations: 23.66 kB / 4.026 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/11.93, allocations: 127.9 kB / 4.026 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/11.94, allocations: 405.6 kB / 4.026 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007722/11.94, allocations: 1.211 MB / 4.028 GB, free: 20.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/11.94, allocations: 171.2 kB / 4.028 GB, free: 20.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/11.94, allocations: 86.08 kB / 4.028 GB, free: 20.77 MB / 0.5261 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.0005037/11.94, allocations: 216.9 kB / 4.028 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/11.94, allocations: 127.8 kB / 4.028 GB, free: 20.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/11.95, allocations: 4.976 MB / 4.033 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-05/11.95, allocations: 69.58 kB / 4.033 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/11.95, allocations: 0 / 4.033 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/11.95, allocations: 9.406 kB / 4.033 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/11.96, allocations: 6.967 MB / 4.04 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/11.96, allocations: 2.438 kB / 4.04 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/11.96, allocations: 274 kB / 4.04 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009054/11.96, allocations: 174.5 kB / 4.04 GB, free: 19.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/11.96, allocations: 25.88 kB / 4.04 GB, free: 19.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007861/11.96, allocations: 1.236 MB / 4.042 GB, free: 18.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/11.96, allocations: 0 / 4.042 GB, free: 18.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00591/11.97, allocations: 3.823 MB / 4.045 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/11.97, allocations: 0.5145 MB / 4.046 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/11.97, allocations: 24.53 kB / 4.046 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/11.97, allocations: 130.8 kB / 4.046 GB, free: 17.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/11.97, allocations: 96.89 kB / 4.046 GB, free: 17.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/11.97, allocations: 39.56 kB / 4.046 GB, free: 17.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002084/11.97, allocations: 0.8288 MB / 4.047 GB, free: 33.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/11.97, allocations: 3.938 kB / 4.047 GB, free: 33.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008294/11.98, allocations: 1.635 MB / 4.049 GB, free: 33.31 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.01026/11.99, allocations: 1.95 MB / 4.05 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006351/12, allocations: 2.456 MB / 4.053 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/12, allocations: 3.406 kB / 4.053 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002898/12, allocations: 1.276 MB / 4.054 GB, free: 32.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/12.01, allocations: 0.6038 MB / 4.055 GB, free: 32.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007218/12.01, allocations: 3.494 MB / 4.058 GB, free: 31.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/12.01, allocations: 1.585 MB / 4.06 GB, free: 31.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007349/12.02, allocations: 138.4 kB / 4.06 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of SimCode: time 1.252e-06/12.02, allocations: 3.5 kB / 4.06 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of Templates: time 0.1066/12.12, allocations: 59.54 MB / 4.118 GB, free: 17.27 MB / 0.5417 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)