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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002043, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4008/0.4008, allocations: 38.03 MB / 308.4 MB, free: 10.36 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005516/0.0005517, allocations: 16 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1338, allocations: 57.52 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2988/0.4326, allocations: 63.4 MB / 497.3 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03026/0.4629, allocations: 28.49 MB / 0.5135 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.4657, allocations: 49.47 kB / 0.5135 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.4695, allocations: 0.9083 MB / 0.5144 GB, free: 12.51 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/TestComponents/Sensors/TestTemperature2.mo:86:3-86:124:writable] Warning: Conditional component ‘m_flow_in‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.01646/0.486, allocations: 3.995 MB / 0.5183 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01924/0.5053, allocations: 5.297 MB / 0.5235 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009222/0.5145, allocations: 2.992 MB / 0.5264 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.5172, allocations: 1.088 MB / 0.5275 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01585/0.5331, allocations: 7.19 MB / 0.5345 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.5363, allocations: 1.053 MB / 0.5355 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005263/0.5368, allocations: 101.1 kB / 0.5356 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01842/0.5553, allocations: 6.988 MB / 0.5425 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.5566, allocations: 0.5844 MB / 0.543 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.5577, allocations: 412.8 kB / 0.5434 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.5679, allocations: 4.585 MB / 0.5479 GB, free: 8.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.568, allocations: 0 / 0.5479 GB, free: 8.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.568, allocations: 0 / 0.5479 GB, free: 8.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.325e-05/0.5681, allocations: 0 / 0.5479 GB, free: 8.184 MB / 414.1 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.006523/0.5746, allocations: 2.451 MB / 0.5503 GB, free: 5.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5747, allocations: 8.031 kB / 0.5503 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/0.5809, allocations: 0.8485 MB / 0.5511 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.5836, allocations: 1.029 MB / 0.5521 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004213/0.5841, allocations: 464.4 kB / 0.5526 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003194/0.5844, allocations: 168 kB / 0.5527 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006744/0.5911, allocations: 3.181 MB / 0.5558 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.5912, allocations: 11.88 kB / 0.5559 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.5915, allocations: 83.98 kB / 0.5559 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.846e-05/0.5916, allocations: 86.72 kB / 0.556 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007771/0.5994, allocations: 2.789 MB / 0.5587 GB, free: 12.65 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02193/0.6214, allocations: 15.81 MB / 0.5742 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0045/0.6259, allocations: 1.467 MB / 0.5756 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.6272, allocations: 0.7148 MB / 0.5763 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.6273, allocations: 47.56 kB / 0.5764 GB, free: 9.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=101): time 2.935e-06/0.6273, allocations: 0 / 0.5764 GB, free: 9.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=117): time 0.01739/0.6447, allocations: 5.504 MB / 0.5817 GB, free: 3.809 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.6449, allocations: 171.2 kB / 0.5819 GB, free: 3.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.6471, allocations: 1.445 MB / 0.5833 GB, free: 2.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.6473, allocations: 49.7 kB / 0.5834 GB, free: 2.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007229/0.648, allocations: 0.9361 MB / 0.5843 GB, free: 1.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/0.6485, allocations: 414.3 kB / 0.5847 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.6486, allocations: 48 kB / 0.5847 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.6488, allocations: 398.5 kB / 0.5851 GB, free: 300 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.6505, allocations: 0.711 MB / 0.5858 GB, free: 15.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.653, allocations: 1.942 MB / 0.5877 GB, free: 13.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.6552, allocations: 1.039 MB / 0.5887 GB, free: 11.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.59e-05/0.6552, allocations: 12 kB / 0.5887 GB, free: 11.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00607/0.6613, allocations: 2.889 MB / 0.5915 GB, free: 9.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.6614, allocations: 26.97 kB / 0.5916 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.284e-05/0.6615, allocations: 40 kB / 0.5916 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.6628, allocations: 451.5 kB / 0.592 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.6646, allocations: 0.5459 MB / 0.5926 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.6667, allocations: 2.756 MB / 0.5953 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.6688, allocations: 227.7 kB / 0.5955 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.669, allocations: 140 kB / 0.5956 GB, free: 4.789 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.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],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * 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 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001103/0.6701, allocations: 0.5367 MB / 0.5961 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.6705, allocations: 170 kB / 0.5963 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007297/0.6778, allocations: 5.093 MB / 0.6013 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.634e-05/0.6779, allocations: 51.92 kB / 0.6013 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.6779, allocations: 4 kB / 0.6013 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.6779, allocations: 7.922 kB / 0.6013 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.6895, allocations: 7.209 MB / 0.6084 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.6895, allocations: 0 / 0.6084 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.6907, allocations: 307.9 kB / 0.6087 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.6921, allocations: 438.9 kB / 0.6091 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.6923, allocations: 35.92 kB / 0.6091 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.6947, allocations: 2.791 MB / 0.6118 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.6947, allocations: 4.5 kB / 0.6118 GB, free: 3.816 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007038/0.7018, allocations: 4.349 MB / 0.6161 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.7032, allocations: 0.5556 MB / 0.6166 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004858/0.7037, allocations: 28 kB / 0.6167 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.7052, allocations: 144 kB / 0.6168 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.7055, allocations: 116.7 kB / 0.6169 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.7056, allocations: 55.97 kB / 0.617 GB, free: 14.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00214/0.7078, allocations: 1.213 MB / 0.6181 GB, free: 13.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7078, allocations: 0 / 0.6181 GB, free: 13.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005693/0.7135, allocations: 1.413 MB / 0.6195 GB, free: 11.71 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.005913/0.7194, allocations: 1.366 MB / 0.6209 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005044/0.7245, allocations: 2.297 MB / 0.6231 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.577e-06/0.7245, allocations: 1.312 kB / 0.6231 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002639/0.7272, allocations: 1.397 MB / 0.6245 GB, free: 6.648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/0.732, allocations: 0.8554 MB / 0.6253 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/0.7411, allocations: 5.611 MB / 0.6308 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2071/0.9482, allocations: 1.69 MB / 0.6324 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002243/0.9505, allocations: 0.969 MB / 0.6334 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.9507, allocations: 139.5 kB / 0.6335 GB, free: 146.8 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.9508, allocations: 1.812 kB / 0.6335 GB, free: 146.8 MB / 494.1 MB Notification: Performance of Templates: time 0.09313/1.044, allocations: 65.18 MB / 0.6972 GB, free: 118.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: