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.001421/0.001421, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.444/1.444, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001771/0.001771, allocations: 107.4 kB / 218 MB, free: 8.406 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.1857/0.1857, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.435e-05, allocations: 3.719 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09877, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.187/6.285, allocations: 2.49 GB / 2.879 GB, free: 22.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/6.286, allocations: 83.95 kB / 2.879 GB, free: 22.72 MB / 426.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 3.24/9.526, allocations: 0.7109 GB / 3.59 GB, free: 37.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/9.526, allocations: 2.906 kB / 3.59 GB, free: 37.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001122/9.526, allocations: 37 kB / 3.59 GB, free: 37.41 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.01058/9.536, allocations: 2.585 MB / 3.593 GB, free: 36.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/9.537, allocations: 8.875 kB / 3.593 GB, free: 36.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005668/9.542, allocations: 0.6931 MB / 3.593 GB, free: 36.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/9.544, allocations: 0.9753 MB / 3.594 GB, free: 35.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/9.544, allocations: 187 kB / 3.595 GB, free: 35.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/9.545, allocations: 70.66 kB / 3.595 GB, free: 35.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002148/9.547, allocations: 1.31 MB / 3.596 GB, free: 35.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/9.549, allocations: 1.622 MB / 3.598 GB, free: 35.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/9.549, allocations: 6.062 kB / 3.598 GB, free: 35.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/9.549, allocations: 12.95 kB / 3.598 GB, free: 35.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/9.549, allocations: 53.61 kB / 3.598 GB, free: 35.3 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.186/9.735, allocations: 81.14 MB / 3.677 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/9.737, allocations: 0.6359 MB / 3.677 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/9.738, allocations: 338.5 kB / 3.678 GB, free: 13.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03371/9.771, allocations: 14.62 MB / 3.692 GB, free: 21.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.518e-05/9.771, allocations: 47.56 kB / 3.692 GB, free: 21.23 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/9.773, allocations: 103.9 kB / 3.692 GB, free: 21.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 8.175e-06/9.773, allocations: 3.188 kB / 3.692 GB, free: 21.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=86): time 0.01308/9.786, allocations: 3.133 MB / 3.695 GB, free: 20.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/9.786, allocations: 166.8 kB / 3.695 GB, free: 20.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/9.788, allocations: 0.7206 MB / 3.696 GB, free: 20.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/9.788, allocations: 28.92 kB / 3.696 GB, free: 20.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/9.788, allocations: 0.7191 MB / 3.697 GB, free: 19.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/9.789, allocations: 304.2 kB / 3.697 GB, free: 19.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/9.789, allocations: 0 / 3.697 GB, free: 19.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00032/9.789, allocations: 416 kB / 3.698 GB, free: 19.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/9.79, allocations: 368.2 kB / 3.698 GB, free: 19.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/9.791, allocations: 1.044 MB / 3.699 GB, free: 18.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/9.794, allocations: 0.7658 MB / 3.7 GB, free: 18.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/9.794, allocations: 7.188 kB / 3.7 GB, free: 18.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004391/9.798, allocations: 1.66 MB / 3.701 GB, free: 18.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004654/9.803, allocations: 8.969 MB / 3.71 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.401e-05/9.803, allocations: 25.92 kB / 3.71 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004406/9.803, allocations: 126.8 kB / 3.71 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/9.805, allocations: 400.2 kB / 3.711 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/9.806, allocations: 1.221 MB / 3.712 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/9.808, allocations: 131.2 kB / 3.712 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/9.808, allocations: 93.48 kB / 3.712 GB, free: 7.746 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/9.808, allocations: 3.406 kB / 3.712 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003404/9.812, allocations: 1.397 MB / 3.713 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.828e-05/9.812, allocations: 24.75 kB / 3.713 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/9.812, allocations: 124.9 kB / 3.713 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/9.813, allocations: 401.4 kB / 3.714 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/9.815, allocations: 1.219 MB / 3.715 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/9.816, allocations: 132.9 kB / 3.715 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/9.816, allocations: 88.92 kB / 3.715 GB, free: 6.617 MB / 490.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 (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.0005233/9.817, allocations: 173.4 kB / 3.715 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/9.817, allocations: 121.7 kB / 3.716 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005967/9.823, allocations: 4.135 MB / 3.72 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-05/9.823, allocations: 61.66 kB / 3.72 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/9.823, allocations: 3.281 kB / 3.72 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/9.823, allocations: 3 kB / 3.72 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008545/9.832, allocations: 5.793 MB / 3.725 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/9.832, allocations: 0 / 3.725 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008304/9.833, allocations: 214.3 kB / 3.726 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/9.833, allocations: 166 kB / 3.726 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/9.833, allocations: 13.86 kB / 3.726 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/9.835, allocations: 1.283 MB / 3.727 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/9.835, allocations: 0 / 3.727 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/9.84, allocations: 3.608 MB / 3.73 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/9.841, allocations: 368.9 kB / 3.731 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003645/9.841, allocations: 7.953 kB / 3.731 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/9.842, allocations: 88.17 kB / 3.731 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/9.843, allocations: 82.19 kB / 3.731 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.69e-05/9.843, allocations: 39.64 kB / 3.731 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008816/9.844, allocations: 0.5031 MB / 3.732 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.535e-06/9.844, allocations: 0 / 3.732 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009252/9.853, allocations: 1.466 MB / 3.733 GB, free: 13.7 MB / 0.4948 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.01131/9.864, allocations: 2.123 MB / 3.735 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005162/9.869, allocations: 2.287 MB / 3.737 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/9.869, allocations: 4.25 kB / 3.737 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/9.871, allocations: 1.14 MB / 3.738 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/9.874, allocations: 464 kB / 3.739 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/9.88, allocations: 3.049 MB / 3.742 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/9.881, allocations: 1.482 MB / 3.743 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003714/9.885, allocations: 1.749 MB / 3.745 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/9.886, allocations: 106.3 kB / 3.745 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/9.886, allocations: 0 / 3.745 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.4302/10.32, allocations: 46.12 MB / 3.79 GB, free: 78.97 MB / 0.4948 GB 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)