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.001356/0.001356, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007739/0.0007739, allocations: 81.45 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3553/0.3553, allocations: 43.56 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 16 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.417/5.546, allocations: 2.77 GB / 3.25 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/5.546, allocations: 87.23 kB / 3.25 GB, free: 104.5 MB / 0.4948 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 2.227/7.773, allocations: 0.7048 GB / 3.955 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/7.773, allocations: 0 / 3.955 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.114e-05/7.773, allocations: 36.77 kB / 3.955 GB, free: 40.45 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.009064/7.782, allocations: 2.782 MB / 3.958 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/7.782, allocations: 9.625 kB / 3.958 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/7.788, allocations: 0.7428 MB / 3.959 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/7.79, allocations: 0.9748 MB / 3.96 GB, free: 39.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/7.791, allocations: 233.3 kB / 3.96 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/7.791, allocations: 125.3 kB / 3.96 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004788/7.796, allocations: 2.31 MB / 3.962 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/7.796, allocations: 16.81 kB / 3.962 GB, free: 38.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/7.796, allocations: 57.56 kB / 3.962 GB, free: 38.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/7.796, allocations: 61.7 kB / 3.962 GB, free: 38.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004844/7.801, allocations: 2.027 MB / 3.964 GB, free: 38.33 MB / 0.5261 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.01033/7.811, allocations: 10.82 MB / 3.975 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/7.815, allocations: 1.279 MB / 3.976 GB, free: 31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/7.816, allocations: 0.5157 MB / 3.977 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008714/7.816, allocations: 0.6888 MB / 3.977 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/7.817, allocations: 44.84 kB / 3.977 GB, free: 30.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008849/7.817, allocations: 127.6 kB / 3.977 GB, free: 30.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=88): time 2.805e-06/7.817, allocations: 2.719 kB / 3.977 GB, free: 30.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96): time 0.01194/7.829, allocations: 4.182 MB / 3.982 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/7.829, allocations: 167.8 kB / 3.982 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/7.831, allocations: 0.9731 MB / 3.983 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/7.831, allocations: 46.02 kB / 3.983 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/7.831, allocations: 0.662 MB / 3.983 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/7.831, allocations: 338 kB / 3.984 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/7.831, allocations: 30.81 kB / 3.984 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/7.831, allocations: 363.8 kB / 3.984 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/7.833, allocations: 0.5109 MB / 3.985 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/7.834, allocations: 1.158 MB / 3.986 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/7.836, allocations: 1.742 MB / 3.987 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/7.837, allocations: 4.625 kB / 3.987 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003581/7.84, allocations: 1.83 MB / 3.989 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003166/7.84, allocations: 0.69 MB / 3.99 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/7.84, allocations: 21.47 kB / 3.99 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/7.841, allocations: 139.4 kB / 3.99 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/7.842, allocations: 409.6 kB / 3.99 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005871/7.843, allocations: 1.203 MB / 3.992 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/7.845, allocations: 180.2 kB / 3.992 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/7.845, allocations: 83.41 kB / 3.992 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/7.845, allocations: 2.938 kB / 3.992 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003296/7.848, allocations: 1.677 MB / 3.993 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/7.848, allocations: 24.36 kB / 3.993 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/7.849, allocations: 134.7 kB / 3.994 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/7.85, allocations: 402.8 kB / 3.994 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005801/7.85, allocations: 1.211 MB / 3.995 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/7.852, allocations: 168.9 kB / 3.995 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/7.852, allocations: 88.41 kB / 3.995 GB, free: 23.87 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 () * 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.0008627/7.853, allocations: 457.8 kB / 3.996 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/7.853, allocations: 125.6 kB / 3.996 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/7.859, allocations: 5.077 MB / 4.001 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.971e-05/7.859, allocations: 62.97 kB / 4.001 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/7.859, allocations: 0 / 4.001 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/7.859, allocations: 7.172 kB / 4.001 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00941/7.868, allocations: 7.086 MB / 4.008 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/7.868, allocations: 2.344 kB / 4.008 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/7.87, allocations: 272.4 kB / 4.008 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007674/7.87, allocations: 188.3 kB / 4.008 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/7.87, allocations: 30.94 kB / 4.008 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005901/7.871, allocations: 1.233 MB / 4.01 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/7.871, allocations: 0 / 4.01 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005282/7.876, allocations: 4.174 MB / 4.014 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/7.877, allocations: 0.5059 MB / 4.014 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/7.878, allocations: 21.22 kB / 4.014 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/7.879, allocations: 141.4 kB / 4.014 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/7.879, allocations: 89.81 kB / 4.014 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/7.879, allocations: 42.59 kB / 4.014 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00114/7.88, allocations: 0.8455 MB / 4.015 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/7.88, allocations: 0 / 4.015 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006758/7.887, allocations: 1.63 MB / 4.017 GB, free: 20.35 MB / 0.5261 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.007685/7.894, allocations: 1.957 MB / 4.019 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005349/7.9, allocations: 2.778 MB / 4.021 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/7.9, allocations: 11.06 kB / 4.021 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/7.902, allocations: 1.355 MB / 4.023 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/7.905, allocations: 0.6207 MB / 4.023 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/7.911, allocations: 5.394 MB / 4.029 GB, free: 17.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/7.911, allocations: 1.536 MB / 4.03 GB, free: 17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/7.912, allocations: 138.3 kB / 4.03 GB, free: 17 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/7.912, allocations: 0 / 4.03 GB, free: 17 MB / 0.5261 GB Notification: Performance of Templates: time 0.06894/7.981, allocations: 58.42 MB / 4.087 GB, free: 13.08 MB / 0.5261 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)