Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 198.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 226.5 MB / 244.1 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009025/0.0009021, allocations: 92.05 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4129/0.4129, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4501, allocations: 62.96 MB / 0.5165 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.448/7.898, allocations: 2.777 GB / 3.293 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/7.899, allocations: 86.88 kB / 3.293 GB, free: 161.1 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.478/10.38, allocations: 0.7127 GB / 4.006 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.615e-06/10.38, allocations: 0 / 4.006 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001603/10.38, allocations: 39.88 kB / 4.006 GB, free: 48.59 MB / 0.5573 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.01181/10.39, allocations: 2.783 MB / 4.009 GB, free: 47.35 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/10.39, allocations: 14.03 kB / 4.009 GB, free: 47.35 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00629/10.4, allocations: 0.7434 MB / 4.009 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/10.4, allocations: 0.9734 MB / 4.01 GB, free: 46.94 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/10.4, allocations: 241.6 kB / 4.011 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005375/10.4, allocations: 122.8 kB / 4.011 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006043/10.41, allocations: 2.306 MB / 4.013 GB, free: 46.28 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.508e-05/10.41, allocations: 13.78 kB / 4.013 GB, free: 46.28 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/10.41, allocations: 62.66 kB / 4.013 GB, free: 46.28 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.552e-05/10.41, allocations: 59.23 kB / 4.013 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/10.41, allocations: 2.031 MB / 4.015 GB, free: 46.26 MB / 0.5573 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.01246/10.42, allocations: 10.81 MB / 4.026 GB, free: 38.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/10.43, allocations: 1.272 MB / 4.027 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/10.43, allocations: 0.5129 MB / 4.027 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/10.43, allocations: 0.6856 MB / 4.028 GB, free: 38.37 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/10.43, allocations: 50.41 kB / 4.028 GB, free: 38.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009065/10.43, allocations: 127.8 kB / 4.028 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=88): time 6.362e-06/10.43, allocations: 6.344 kB / 4.028 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96): time 0.01291/10.44, allocations: 4.176 MB / 4.032 GB, free: 37.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/10.44, allocations: 165.2 kB / 4.032 GB, free: 37.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/10.44, allocations: 0.9873 MB / 4.033 GB, free: 37.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/10.45, allocations: 43.17 kB / 4.033 GB, free: 37.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/10.45, allocations: 0.651 MB / 4.034 GB, free: 36.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/10.45, allocations: 347.1 kB / 4.034 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/10.45, allocations: 29.66 kB / 4.034 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001117/10.45, allocations: 363.8 kB / 4.035 GB, free: 36.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/10.45, allocations: 0.5106 MB / 4.035 GB, free: 36.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/10.45, allocations: 1.156 MB / 4.036 GB, free: 35.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/10.45, allocations: 1.737 MB / 4.038 GB, free: 34.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/10.45, allocations: 11.25 kB / 4.038 GB, free: 34.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003793/10.46, allocations: 1.827 MB / 4.04 GB, free: 34.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004214/10.46, allocations: 0.6958 MB / 4.041 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/10.46, allocations: 22.5 kB / 4.041 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/10.46, allocations: 138.1 kB / 4.041 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/10.46, allocations: 402.6 kB / 4.041 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006903/10.46, allocations: 1.21 MB / 4.042 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/10.46, allocations: 171.6 kB / 4.042 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/10.46, allocations: 87.05 kB / 4.043 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/10.46, allocations: 3.75 kB / 4.043 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003348/10.46, allocations: 1.681 MB / 4.044 GB, free: 32.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.443e-05/10.46, allocations: 19.88 kB / 4.044 GB, free: 32.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/10.46, allocations: 131.9 kB / 4.044 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/10.47, allocations: 408.8 kB / 4.045 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000612/10.47, allocations: 1.211 MB / 4.046 GB, free: 31.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/10.47, allocations: 173.6 kB / 4.046 GB, free: 31.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/10.47, allocations: 82.36 kB / 4.046 GB, free: 31.66 MB / 0.5573 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.0009206/10.47, allocations: 458.3 kB / 4.047 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/10.47, allocations: 134.3 kB / 4.047 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006447/10.48, allocations: 5.074 MB / 4.052 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-05/10.48, allocations: 67.53 kB / 4.052 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/10.48, allocations: 0 / 4.052 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/10.48, allocations: 3.75 kB / 4.052 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009467/10.49, allocations: 7.083 MB / 4.059 GB, free: 30.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/10.49, allocations: 1.875 kB / 4.059 GB, free: 30.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/10.49, allocations: 273.9 kB / 4.059 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007406/10.49, allocations: 194 kB / 4.059 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/10.49, allocations: 28.06 kB / 4.059 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007114/10.49, allocations: 1.228 MB / 4.06 GB, free: 29.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/10.49, allocations: 3.938 kB / 4.06 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/10.49, allocations: 4.164 MB / 4.064 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/10.5, allocations: 0.5102 MB / 4.065 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005129/10.5, allocations: 19.59 kB / 4.065 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/10.5, allocations: 132.5 kB / 4.065 GB, free: 28.36 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/10.5, allocations: 98.38 kB / 4.065 GB, free: 28.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/10.5, allocations: 46.48 kB / 4.065 GB, free: 28.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001847/10.5, allocations: 0.8385 MB / 4.066 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/10.5, allocations: 0 / 4.066 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009399/10.51, allocations: 1.656 MB / 4.068 GB, free: 28.07 MB / 0.5573 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.009882/10.52, allocations: 1.979 MB / 4.07 GB, free: 27.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006265/10.53, allocations: 2.783 MB / 4.072 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/10.53, allocations: 3.125 kB / 4.072 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/10.53, allocations: 1.355 MB / 4.074 GB, free: 26.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/10.53, allocations: 0.63 MB / 4.074 GB, free: 26.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007965/10.54, allocations: 5.377 MB / 4.079 GB, free: 23.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/10.54, allocations: 1.537 MB / 4.081 GB, free: 22.99 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005387/10.54, allocations: 135.7 kB / 4.081 GB, free: 22.97 MB / 0.5573 GB Notification: Performance of SimCode: time 9.41e-07/10.54, allocations: 0 / 4.081 GB, free: 22.97 MB / 0.5573 GB Notification: Performance of Templates: time 0.07599/10.62, allocations: 58.57 MB / 4.138 GB, free: 15.39 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)