Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001049/0.001049, allocations: 170.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.161/1.161, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001617/0.001617, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1838/0.1838, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.957e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09601, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.588/5.684, allocations: 2.49 GB / 2.887 GB, free: 98.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/5.685, allocations: 85.23 kB / 2.887 GB, free: 98.66 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.482/8.167, allocations: 0.7175 GB / 3.604 GB, free: 36.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.212e-06/8.167, allocations: 0 / 3.604 GB, free: 36.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.014e-05/8.167, allocations: 40.39 kB / 3.604 GB, free: 36.23 MB / 458.7 MB 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.009511/8.176, allocations: 2.589 MB / 3.607 GB, free: 34.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/8.176, allocations: 8.375 kB / 3.607 GB, free: 34.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005709/8.182, allocations: 0.6931 MB / 3.607 GB, free: 34.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/8.185, allocations: 0.9749 MB / 3.608 GB, free: 34.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/8.185, allocations: 228.4 kB / 3.609 GB, free: 34.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/8.185, allocations: 122.9 kB / 3.609 GB, free: 34.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004242/8.189, allocations: 2.25 MB / 3.611 GB, free: 33.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/8.189, allocations: 13.41 kB / 3.611 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/8.189, allocations: 55.75 kB / 3.611 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/8.189, allocations: 57.38 kB / 3.611 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/8.193, allocations: 1.883 MB / 3.613 GB, free: 33.88 MB / 458.7 MB 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.009368/8.203, allocations: 10.53 MB / 3.623 GB, free: 26.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/8.205, allocations: 1.129 MB / 3.624 GB, free: 26.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/8.206, allocations: 386.2 kB / 3.625 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03733/8.243, allocations: 19.16 MB / 3.643 GB, free: 16.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.229e-05/8.243, allocations: 48.97 kB / 3.643 GB, free: 16.04 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001133/8.244, allocations: 120.1 kB / 3.644 GB, free: 15.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 2.976e-06/8.244, allocations: 0 / 3.644 GB, free: 15.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.009531/8.254, allocations: 3.365 MB / 3.647 GB, free: 15.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/8.254, allocations: 163.6 kB / 3.647 GB, free: 15.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/8.255, allocations: 0.7589 MB / 3.648 GB, free: 15.06 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/8.255, allocations: 45.48 kB / 3.648 GB, free: 15.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/8.255, allocations: 0.6849 MB / 3.648 GB, free: 14.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/8.256, allocations: 345.1 kB / 3.649 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/8.256, allocations: 32.59 kB / 3.649 GB, free: 14.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/8.256, allocations: 417.7 kB / 3.649 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/8.256, allocations: 403.1 kB / 3.65 GB, free: 14.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/8.257, allocations: 1.083 MB / 3.651 GB, free: 13.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/8.258, allocations: 0.5821 MB / 3.651 GB, free: 13.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/8.258, allocations: 15.36 kB / 3.651 GB, free: 13.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.002273/8.26, allocations: 1.623 MB / 3.653 GB, free: 12.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004634/8.265, allocations: 8.967 MB / 3.662 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.306e-05/8.265, allocations: 22.66 kB / 3.662 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/8.266, allocations: 132.7 kB / 3.662 GB, free: 19.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/8.267, allocations: 406.5 kB / 3.662 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008331/8.268, allocations: 1.206 MB / 3.663 GB, free: 18.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/8.269, allocations: 159 kB / 3.663 GB, free: 18.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/8.27, allocations: 88.89 kB / 3.664 GB, free: 18.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/8.27, allocations: 3.719 kB / 3.664 GB, free: 18.33 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001972/8.272, allocations: 1.483 MB / 3.665 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/8.272, allocations: 24.06 kB / 3.665 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/8.272, allocations: 135.7 kB / 3.665 GB, free: 18.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/8.273, allocations: 410 kB / 3.666 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007087/8.274, allocations: 1.208 MB / 3.667 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/8.275, allocations: 155.6 kB / 3.667 GB, free: 17.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/8.275, allocations: 89.36 kB / 3.667 GB, free: 17.02 MB / 474.7 MB 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.0003321/8.276, allocations: 227.4 kB / 3.667 GB, free: 16.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/8.276, allocations: 124.8 kB / 3.667 GB, free: 16.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/8.28, allocations: 4.846 MB / 3.672 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-05/8.28, allocations: 67.06 kB / 3.672 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/8.28, allocations: 0 / 3.672 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/8.28, allocations: 7.078 kB / 3.672 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006022/8.286, allocations: 6.792 MB / 3.679 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/8.286, allocations: 0 / 3.679 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/8.287, allocations: 232.9 kB / 3.679 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005708/8.288, allocations: 163.6 kB / 3.679 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/8.288, allocations: 27.47 kB / 3.679 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000704/8.289, allocations: 1.233 MB / 3.68 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/8.289, allocations: 0 / 3.68 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/8.293, allocations: 3.769 MB / 3.684 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/8.293, allocations: 446 kB / 3.684 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/8.293, allocations: 24 kB / 3.684 GB, free: 4.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/8.294, allocations: 117 kB / 3.685 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/8.294, allocations: 85.66 kB / 3.685 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/8.295, allocations: 39.03 kB / 3.685 GB, free: 4.559 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008734/8.295, allocations: 0.6089 MB / 3.685 GB, free: 3.996 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/8.295, allocations: 0 / 3.685 GB, free: 3.996 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006305/8.302, allocations: 1.591 MB / 3.687 GB, free: 2.434 MB / 474.7 MB 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.006474/8.308, allocations: 1.955 MB / 3.689 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004269/8.313, allocations: 2.498 MB / 3.691 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/8.313, allocations: 4 kB / 3.691 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/8.314, allocations: 1.262 MB / 3.692 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/8.317, allocations: 0.506 MB / 3.693 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5245/8.841, allocations: 140.1 MB / 3.83 GB, free: 48.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/8.842, allocations: 1.559 MB / 3.831 GB, free: 47.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003021/8.845, allocations: 1.611 MB / 3.833 GB, free: 46.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/8.846, allocations: 114 kB / 3.833 GB, free: 46.43 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/8.846, allocations: 0 / 3.833 GB, free: 46.43 MB / 490.7 MB Notification: Performance of Templates: time 0.3733/9.219, allocations: 58.14 MB / 3.89 GB, free: 58.48 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)