Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001677/0.001677, allocations: 166.8 kB / 7.636 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.585/1.585, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001648/0.001648, allocations: 115.5 kB / 218 MB, free: 8.398 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.196/0.196, allocations: 37.99 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.766e-05, allocations: 2.125 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09536, allocations: 48.73 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.571/6.666, allocations: 2.485 GB / 2.875 GB, free: 76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/6.667, allocations: 86.5 kB / 2.875 GB, free: 76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.14/9.806, allocations: 0.7747 GB / 3.65 GB, free: 23.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/9.806, allocations: 4 kB / 3.65 GB, free: 23.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002248/9.806, allocations: 54.69 kB / 3.65 GB, free: 23.3 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01395/9.82, allocations: 2.894 MB / 3.652 GB, free: 20.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/9.82, allocations: 8.031 kB / 3.652 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007024/9.827, allocations: 0.7901 MB / 3.653 GB, free: 19.56 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/9.831, allocations: 1.148 MB / 3.654 GB, free: 18.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004622/9.831, allocations: 400.4 kB / 3.655 GB, free: 17.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007685/9.832, allocations: 96 kB / 3.655 GB, free: 17.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004175/9.836, allocations: 1.854 MB / 3.657 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/9.841, allocations: 2.364 MB / 3.659 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.281e-05/9.842, allocations: 11.88 kB / 3.659 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004487/9.842, allocations: 12 kB / 3.659 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/9.842, allocations: 86.7 kB / 3.659 GB, free: 13.25 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.04206/9.884, allocations: 24.27 MB / 3.683 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/9.886, allocations: 0.6711 MB / 3.683 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/9.887, allocations: 355 kB / 3.684 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5279/10.41, allocations: 18.34 MB / 3.702 GB, free: 39.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/10.41, allocations: 48.75 kB / 3.702 GB, free: 39.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 5.069e-06/10.41, allocations: 0 / 3.702 GB, free: 39.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.01298/10.43, allocations: 3.32 MB / 3.705 GB, free: 38.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/10.43, allocations: 173.8 kB / 3.705 GB, free: 38.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/10.43, allocations: 1.001 MB / 3.706 GB, free: 38.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/10.43, allocations: 25.7 kB / 3.706 GB, free: 38.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009745/10.43, allocations: 0.993 MB / 3.707 GB, free: 37.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004479/10.43, allocations: 389.2 kB / 3.707 GB, free: 37.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/10.43, allocations: 3.281 kB / 3.707 GB, free: 37.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/10.43, allocations: 448.7 kB / 3.708 GB, free: 37.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/10.43, allocations: 0.4901 MB / 3.708 GB, free: 37.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/10.44, allocations: 1.778 MB / 3.71 GB, free: 35.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/10.44, allocations: 0.8824 MB / 3.711 GB, free: 35.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.63e-05/10.44, allocations: 12.03 kB / 3.711 GB, free: 35.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.005267/10.44, allocations: 2.296 MB / 3.713 GB, free: 35.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/10.44, allocations: 25.78 kB / 3.713 GB, free: 35.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.66e-05/10.44, allocations: 49.94 kB / 3.713 GB, free: 35.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/10.44, allocations: 391.7 kB / 3.714 GB, free: 35.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/10.45, allocations: 0.5218 MB / 3.714 GB, free: 35.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/10.45, allocations: 2.775 MB / 3.717 GB, free: 33.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/10.45, allocations: 157 kB / 3.717 GB, free: 33.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/10.45, allocations: 158.7 kB / 3.717 GB, free: 33.45 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007708/10.45, allocations: 235 kB / 3.717 GB, free: 33.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005906/10.45, allocations: 149 kB / 3.718 GB, free: 33.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005111/10.46, allocations: 3.982 MB / 3.721 GB, free: 32.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/10.46, allocations: 41.78 kB / 3.721 GB, free: 32.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/10.46, allocations: 0 / 3.721 GB, free: 32.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/10.46, allocations: 6.422 kB / 3.721 GB, free: 32.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0091/10.47, allocations: 5.866 MB / 3.727 GB, free: 32.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/10.47, allocations: 5.25 kB / 3.727 GB, free: 32.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/10.47, allocations: 207.2 kB / 3.727 GB, free: 32.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009945/10.47, allocations: 386.5 kB / 3.728 GB, free: 32.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-05/10.47, allocations: 16.34 kB / 3.728 GB, free: 32.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/10.47, allocations: 2.869 MB / 3.731 GB, free: 30.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/10.47, allocations: 7.797 kB / 3.731 GB, free: 30.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/10.48, allocations: 3.56 MB / 3.734 GB, free: 29.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/10.48, allocations: 428.1 kB / 3.734 GB, free: 28.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/10.48, allocations: 10.44 kB / 3.734 GB, free: 28.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/10.48, allocations: 97.47 kB / 3.735 GB, free: 28.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/10.48, allocations: 97.03 kB / 3.735 GB, free: 28.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/10.48, allocations: 42.64 kB / 3.735 GB, free: 28.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001685/10.48, allocations: 0.7358 MB / 3.735 GB, free: 28.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/10.48, allocations: 0 / 3.735 GB, free: 28.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009379/10.49, allocations: 1.34 MB / 3.737 GB, free: 28.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01174/10.5, allocations: 2.238 MB / 3.739 GB, free: 28.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004649/10.51, allocations: 1.819 MB / 3.741 GB, free: 28.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/10.51, allocations: 0 / 3.741 GB, free: 28.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/10.51, allocations: 1.108 MB / 3.742 GB, free: 28.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/10.51, allocations: 0.575 MB / 3.742 GB, free: 28.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7489/11.26, allocations: 209.7 MB / 3.947 GB, free: 58.42 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/11.26, allocations: 1.618 MB / 3.949 GB, free: 57.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002451/11.27, allocations: 0.9789 MB / 3.95 GB, free: 57.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/11.27, allocations: 123.6 kB / 3.95 GB, free: 57.6 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/11.27, allocations: 0 / 3.95 GB, free: 57.6 MB / 490.7 MB Notification: Performance of Templates: time 0.08148/11.35, allocations: 49.29 MB / 3.998 GB, free: 46.25 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)