Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001393/0.001393, allocations: 176.7 kB / 12.73 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.589/1.589, allocations: 194.3 MB / 207.5 MB, free: 3.445 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00164/0.001641, allocations: 110.7 kB / 252.6 MB, free: 4.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.22/0.22, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.472e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 54.87 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.802/6.913, allocations: 2.601 GB / 3.046 GB, free: 66.65 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/6.913, allocations: 86.39 kB / 3.046 GB, free: 66.61 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.734/9.647, allocations: 0.7364 GB / 3.782 GB, free: 40.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.442e-06/9.647, allocations: 2.906 kB / 3.782 GB, free: 40.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.604e-05/9.647, allocations: 40.25 kB / 3.782 GB, free: 40.92 MB / 0.4948 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.01022/9.658, allocations: 2.67 MB / 3.785 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/9.658, allocations: 7.906 kB / 3.785 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/9.664, allocations: 0.742 MB / 3.786 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/9.666, allocations: 0.9836 MB / 3.787 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/9.666, allocations: 226.9 kB / 3.787 GB, free: 39.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/9.666, allocations: 120.8 kB / 3.787 GB, free: 39.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/9.671, allocations: 2.254 MB / 3.789 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/9.671, allocations: 14.84 kB / 3.789 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/9.671, allocations: 54.56 kB / 3.789 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/9.671, allocations: 58.28 kB / 3.789 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/9.674, allocations: 1.882 MB / 3.791 GB, free: 38.54 MB / 0.4948 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.009078/9.684, allocations: 10.52 MB / 3.801 GB, free: 31.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/9.686, allocations: 1.112 MB / 3.802 GB, free: 31.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/9.687, allocations: 397 kB / 3.803 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03642/9.723, allocations: 19.24 MB / 3.822 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/9.723, allocations: 47.34 kB / 3.822 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008426/9.724, allocations: 114.2 kB / 3.822 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 2.515e-06/9.724, allocations: 0 / 3.822 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.009065/9.733, allocations: 3.368 MB / 3.825 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/9.733, allocations: 172.6 kB / 3.825 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/9.734, allocations: 0.7563 MB / 3.826 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/9.734, allocations: 46.17 kB / 3.826 GB, free: 19.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/9.734, allocations: 0.6816 MB / 3.827 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/9.735, allocations: 347.8 kB / 3.827 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/9.735, allocations: 31.12 kB / 3.827 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001209/9.735, allocations: 419.2 kB / 3.827 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/9.735, allocations: 400.3 kB / 3.828 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/9.736, allocations: 1.088 MB / 3.829 GB, free: 17.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/9.737, allocations: 0.5807 MB / 3.829 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/9.737, allocations: 10.09 kB / 3.829 GB, free: 17.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.002157/9.739, allocations: 1.621 MB / 3.831 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002418/9.742, allocations: 8.967 MB / 3.84 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/9.742, allocations: 24.59 kB / 3.84 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/9.742, allocations: 128.3 kB / 3.84 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/9.743, allocations: 404.9 kB / 3.84 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008882/9.744, allocations: 1.21 MB / 3.841 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/9.746, allocations: 155.6 kB / 3.842 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/9.746, allocations: 89.7 kB / 3.842 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/9.746, allocations: 3.938 kB / 3.842 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002001/9.748, allocations: 1.486 MB / 3.843 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/9.748, allocations: 25.94 kB / 3.843 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/9.748, allocations: 127.9 kB / 3.843 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/9.749, allocations: 406.4 kB / 3.844 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007233/9.75, allocations: 1.212 MB / 3.845 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/9.751, allocations: 150.4 kB / 3.845 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/9.752, allocations: 95.78 kB / 3.845 GB, free: 20.49 MB / 0.5105 GB 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 () * 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.000429/9.752, allocations: 236.1 kB / 3.845 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/9.752, allocations: 116.6 kB / 3.845 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/9.757, allocations: 4.839 MB / 3.85 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/9.757, allocations: 62.66 kB / 3.85 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/9.757, allocations: 0 / 3.85 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/9.757, allocations: 10.09 kB / 3.85 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006159/9.763, allocations: 6.778 MB / 3.857 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/9.763, allocations: 0 / 3.857 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009359/9.764, allocations: 238.7 kB / 3.857 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005612/9.765, allocations: 178.4 kB / 3.857 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/9.765, allocations: 27.61 kB / 3.857 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006992/9.765, allocations: 1.225 MB / 3.858 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/9.765, allocations: 0 / 3.858 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/9.769, allocations: 3.776 MB / 3.862 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/9.77, allocations: 445 kB / 3.863 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/9.77, allocations: 24 kB / 3.863 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/9.771, allocations: 105.6 kB / 3.863 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/9.771, allocations: 96.12 kB / 3.863 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.641e-05/9.771, allocations: 39.56 kB / 3.863 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009916/9.772, allocations: 0.6072 MB / 3.863 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/9.772, allocations: 0 / 3.863 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007671/9.78, allocations: 1.609 MB / 3.865 GB, free: 7.012 MB / 0.5105 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,$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 () * 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.008276/9.788, allocations: 1.95 MB / 3.867 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004493/9.792, allocations: 2.498 MB / 3.869 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/9.792, allocations: 8.062 kB / 3.869 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/9.794, allocations: 1.264 MB / 3.871 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/9.797, allocations: 0.5078 MB / 3.871 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5592/10.36, allocations: 142.5 MB / 4.01 GB, free: 56.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007983/10.36, allocations: 1.557 MB / 4.012 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002974/10.36, allocations: 1.609 MB / 4.013 GB, free: 56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/10.36, allocations: 113.8 kB / 4.013 GB, free: 56 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/10.36, allocations: 0.5 kB / 4.013 GB, free: 56 MB / 0.5261 GB Notification: Performance of Templates: time 0.07308/10.43, allocations: 58.3 MB / 4.07 GB, free: 17.62 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)