Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.007158/0.007158, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.00142/0.00142, allocations: 193.3 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3147/0.3147, allocations: 39.95 MB / 309.8 MB, free: 9.414 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.2. 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.001562/0.001562, allocations: 67.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 56.88 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07109/0.3521, allocations: 75.19 MB / 0.5545 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03697/0.3891, allocations: 33.49 MB / 0.5872 GB, free: 3.383 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.3919, allocations: 43.75 kB / 0.5873 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.3953, allocations: 1.037 MB / 0.5883 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01761/0.4129, allocations: 5.101 MB / 0.5933 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02182/0.4348, allocations: 6.292 MB / 0.5994 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007226/0.442, allocations: 5.18 MB / 0.6045 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.4445, allocations: 1.324 MB / 0.6058 GB, free: 328 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.4564, allocations: 5.286 MB / 0.6109 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.4596, allocations: 1.584 MB / 0.6125 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006538/0.4603, allocations: 196 kB / 0.6127 GB, free: 9.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0157/0.476, allocations: 7.227 MB / 0.6197 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.4773, allocations: 0.713 MB / 0.6204 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.479, allocations: 1.097 MB / 0.6215 GB, free: 148 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.4966, allocations: 6.672 MB / 0.628 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4967, allocations: 0 / 0.628 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.856e-06/0.4967, allocations: 4 kB / 0.628 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.905e-05/0.4968, allocations: 0 / 0.628 GB, free: 9.453 MB / 0.4981 GB 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.008191/0.505, allocations: 2.81 MB / 0.6308 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.505, allocations: 19.83 kB / 0.6308 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006718/0.5118, allocations: 0.8065 MB / 0.6316 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.5145, allocations: 1.108 MB / 0.6326 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/0.5149, allocations: 465 kB / 0.6331 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.5153, allocations: 168.1 kB / 0.6333 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.5222, allocations: 3.135 MB / 0.6363 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/0.5223, allocations: 11.88 kB / 0.6363 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.5226, allocations: 84 kB / 0.6364 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.23e-05/0.5227, allocations: 82.7 kB / 0.6365 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2845/0.8072, allocations: 2.693 MB / 0.6391 GB, free: 133.8 MB / 0.4981 GB 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.01949/0.8267, allocations: 15.71 MB / 0.6545 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005492/0.8323, allocations: 1.387 MB / 0.6558 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.8337, allocations: 0.5436 MB / 0.6563 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.8348, allocations: 0.7039 MB / 0.657 GB, free: 120 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.8348, allocations: 46 kB / 0.6571 GB, free: 120 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=101): time 3.226e-06/0.8349, allocations: 2.969 kB / 0.6571 GB, free: 120 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117): time 0.01735/0.8522, allocations: 5.22 MB / 0.6622 GB, free: 118 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.8523, allocations: 175.5 kB / 0.6623 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.8544, allocations: 1.461 MB / 0.6638 GB, free: 117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.8546, allocations: 48.64 kB / 0.6638 GB, free: 117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/0.8551, allocations: 0.9361 MB / 0.6647 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.8555, allocations: 414.4 kB / 0.6651 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000592/0.8561, allocations: 460.9 kB / 0.6656 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.8561, allocations: 301.9 kB / 0.6658 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.8577, allocations: 0.6804 MB / 0.6665 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.8599, allocations: 1.926 MB / 0.6684 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004766/0.8647, allocations: 2.777 MB / 0.6711 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.743e-05/0.8647, allocations: 15.34 kB / 0.6711 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006811/0.8715, allocations: 2.813 MB / 0.6739 GB, free: 109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.8716, allocations: 25.94 kB / 0.6739 GB, free: 109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.154e-05/0.8717, allocations: 41.84 kB / 0.6739 GB, free: 109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.8731, allocations: 448.1 kB / 0.6744 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.8748, allocations: 0.5203 MB / 0.6749 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.8768, allocations: 2.745 MB / 0.6775 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.8793, allocations: 139.6 kB / 0.6777 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.8796, allocations: 144.5 kB / 0.6778 GB, free: 106.1 MB / 0.4981 GB 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,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.8808, allocations: 0.5338 MB / 0.6783 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/0.8813, allocations: 177.7 kB / 0.6785 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007571/0.8889, allocations: 4.945 MB / 0.6833 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.889, allocations: 50.38 kB / 0.6834 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.889, allocations: 0 / 0.6834 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.889, allocations: 10.69 kB / 0.6834 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008912/0.8979, allocations: 7.105 MB / 0.6903 GB, free: 98.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.898, allocations: 3.875 kB / 0.6903 GB, free: 98.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/0.899, allocations: 259.1 kB / 0.6906 GB, free: 98.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.9002, allocations: 446.9 kB / 0.691 GB, free: 98.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.9002, allocations: 25.88 kB / 0.691 GB, free: 98.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.9019, allocations: 2.781 MB / 0.6938 GB, free: 95.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9019, allocations: 3.375 kB / 0.6938 GB, free: 95.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005859/0.9078, allocations: 4.089 MB / 0.6977 GB, free: 91.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.9088, allocations: 413.8 kB / 0.6981 GB, free: 91.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.9091, allocations: 71.31 kB / 0.6982 GB, free: 91.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/0.9101, allocations: 95.19 kB / 0.6983 GB, free: 91.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.9103, allocations: 108.8 kB / 0.6984 GB, free: 91.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.9104, allocations: 43.98 kB / 0.6984 GB, free: 91.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001389/0.9118, allocations: 1.229 MB / 0.6996 GB, free: 89.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.01e-07/0.9118, allocations: 0 / 0.6996 GB, free: 89.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004725/0.9165, allocations: 1.406 MB / 0.701 GB, free: 88.58 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004444/0.921, allocations: 1.372 MB / 0.7024 GB, free: 87.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004314/0.9253, allocations: 2.245 MB / 0.7046 GB, free: 85.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.9254, allocations: 8.5 kB / 0.7046 GB, free: 85.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.9274, allocations: 1.349 MB / 0.7059 GB, free: 83.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/0.932, allocations: 0.9511 MB / 0.7068 GB, free: 82.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/0.9378, allocations: 4.641 MB / 0.7113 GB, free: 78.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.9386, allocations: 1.66 MB / 0.713 GB, free: 76.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001749/0.9404, allocations: 0.9602 MB / 0.7139 GB, free: 75.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.9407, allocations: 139.4 kB / 0.714 GB, free: 75.39 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.9407, allocations: 0 / 0.714 GB, free: 75.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.08059/1.021, allocations: 68.47 MB / 0.7809 GB, free: 6.859 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)