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.00167/0.00167, allocations: 181.1 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001751/0.001751, allocations: 112 kB / 247.4 MB, free: 6.191 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.203/0.203, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.7e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.506/6.613, allocations: 2.601 GB / 3.038 GB, free: 66.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/6.613, allocations: 86 kB / 3.038 GB, free: 66.16 MB / 474.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.658/9.271, allocations: 0.7296 GB / 3.768 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.643e-06/9.271, allocations: 0 / 3.768 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.96e-05/9.272, allocations: 39.42 kB / 3.768 GB, free: 46.83 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.008873/9.28, allocations: 2.664 MB / 3.771 GB, free: 45.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/9.281, allocations: 15.3 kB / 3.771 GB, free: 45.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005821/9.286, allocations: 0.7426 MB / 3.771 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/9.289, allocations: 0.9743 MB / 3.772 GB, free: 45.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/9.289, allocations: 187.1 kB / 3.772 GB, free: 44.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/9.289, allocations: 72.28 kB / 3.772 GB, free: 44.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002078/9.291, allocations: 1.31 MB / 3.774 GB, free: 44.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/9.293, allocations: 1.626 MB / 3.775 GB, free: 44.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/9.294, allocations: 6.531 kB / 3.775 GB, free: 44.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/9.294, allocations: 3.844 kB / 3.775 GB, free: 44.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/9.294, allocations: 61.44 kB / 3.775 GB, free: 44.46 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.1785/9.472, allocations: 81.4 MB / 3.855 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/9.474, allocations: 0.6354 MB / 3.856 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/9.474, allocations: 338.1 kB / 3.856 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3472/9.821, allocations: 14.63 MB / 3.87 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/9.821, allocations: 43.34 kB / 3.87 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009195/9.822, allocations: 101.5 kB / 3.87 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/9.822, allocations: 1.844 kB / 3.87 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.0116/9.834, allocations: 3.129 MB / 3.873 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/9.834, allocations: 164.8 kB / 3.873 GB, free: 59.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009896/9.835, allocations: 0.7274 MB / 3.874 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/9.835, allocations: 25.7 kB / 3.874 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/9.836, allocations: 0.7171 MB / 3.875 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/9.836, allocations: 301.2 kB / 3.875 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/9.836, allocations: 0 / 3.875 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001366/9.836, allocations: 418.1 kB / 3.876 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/9.837, allocations: 368.7 kB / 3.876 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/9.837, allocations: 1.04 MB / 3.877 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/9.84, allocations: 0.7684 MB / 3.878 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/9.84, allocations: 7.344 kB / 3.878 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003688/9.843, allocations: 1.654 MB / 3.879 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001612/9.845, allocations: 8.962 MB / 3.888 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/9.845, allocations: 28.48 kB / 3.888 GB, free: 47.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/9.845, allocations: 123.1 kB / 3.888 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/9.847, allocations: 406.4 kB / 3.889 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006499/9.847, allocations: 1.218 MB / 3.89 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/9.849, allocations: 147.3 kB / 3.89 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/9.849, allocations: 89.61 kB / 3.89 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/9.849, allocations: 3.406 kB / 3.89 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002958/9.852, allocations: 1.396 MB / 3.891 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/9.852, allocations: 20.5 kB / 3.891 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/9.852, allocations: 123.6 kB / 3.892 GB, free: 46.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/9.854, allocations: 406.1 kB / 3.892 GB, free: 46.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005706/9.854, allocations: 1.227 MB / 3.893 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/9.855, allocations: 125.7 kB / 3.893 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/9.856, allocations: 87.69 kB / 3.893 GB, free: 45.79 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 (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 (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.0004022/9.856, allocations: 181.7 kB / 3.894 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/9.856, allocations: 114.1 kB / 3.894 GB, free: 45.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/9.861, allocations: 4.129 MB / 3.898 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.856e-05/9.861, allocations: 67.33 kB / 3.898 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/9.861, allocations: 0.5625 kB / 3.898 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/9.862, allocations: 6.062 kB / 3.898 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/9.868, allocations: 5.803 MB / 3.903 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/9.868, allocations: 7.062 kB / 3.903 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/9.869, allocations: 208.5 kB / 3.904 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/9.869, allocations: 160.6 kB / 3.904 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/9.869, allocations: 12.5 kB / 3.904 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006258/9.87, allocations: 1.285 MB / 3.905 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/9.87, allocations: 0 / 3.905 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/9.874, allocations: 3.605 MB / 3.909 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/9.875, allocations: 369.8 kB / 3.909 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/9.875, allocations: 6.047 kB / 3.909 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/9.876, allocations: 87.8 kB / 3.909 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/9.876, allocations: 85.11 kB / 3.909 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/9.876, allocations: 38.02 kB / 3.909 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006449/9.877, allocations: 0.5026 MB / 3.91 GB, free: 42.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/9.877, allocations: 0 / 3.91 GB, free: 42.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006668/9.883, allocations: 1.477 MB / 3.911 GB, free: 42.65 MB / 0.5105 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.007689/9.891, allocations: 2.137 MB / 3.913 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003993/9.895, allocations: 2.293 MB / 3.915 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/9.895, allocations: 5.344 kB / 3.915 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/9.897, allocations: 1.137 MB / 3.916 GB, free: 42.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/9.899, allocations: 458.2 kB / 3.917 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/9.904, allocations: 3.046 MB / 3.92 GB, free: 41.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/9.905, allocations: 1.482 MB / 3.921 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003319/9.909, allocations: 1.756 MB / 3.923 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/9.909, allocations: 111.5 kB / 3.923 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/9.909, allocations: 2.812 kB / 3.923 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.06244/9.971, allocations: 45.94 MB / 3.968 GB, free: 38.38 MB / 0.5105 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)