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.001324/0.001324, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.001181, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.825/1.825, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3864/0.3864, allocations: 38 MB / 307.8 MB, free: 9.938 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.001604/0.001604, allocations: 72.73 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1587, allocations: 56.47 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3305/0.4892, allocations: 75.17 MB / 0.495 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04258/0.5318, allocations: 33.48 MB / 0.5277 GB, free: 444 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.5347, allocations: 46.12 kB / 0.5277 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00412/0.5389, allocations: 1.043 MB / 0.5288 GB, free: 15.8 MB / 414.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.01762/0.5565, allocations: 5.089 MB / 0.5337 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02554/0.5821, allocations: 6.318 MB / 0.5399 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.593, allocations: 5.174 MB / 0.545 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/0.5964, allocations: 1.325 MB / 0.5463 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.611, allocations: 5.276 MB / 0.5514 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004163/0.6152, allocations: 1.589 MB / 0.553 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007332/0.616, allocations: 196 kB / 0.5531 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01861/0.6346, allocations: 7.095 MB / 0.5601 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001729/0.6364, allocations: 0.7208 MB / 0.5608 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.6387, allocations: 1.093 MB / 0.5618 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02242/0.6612, allocations: 6.657 MB / 0.5683 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6612, allocations: 0 / 0.5683 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6613, allocations: 0 / 0.5683 GB, free: 1.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.867e-05/0.6613, allocations: 0 / 0.5683 GB, free: 1.066 MB / 430.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.007335/0.6687, allocations: 2.803 MB / 0.5711 GB, free: 14.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6687, allocations: 11.89 kB / 0.5711 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006198/0.6749, allocations: 0.8066 MB / 0.5719 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.6771, allocations: 1.057 MB / 0.5729 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000508/0.6777, allocations: 461 kB / 0.5733 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/0.6779, allocations: 176.2 kB / 0.5735 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008443/0.6864, allocations: 3.138 MB / 0.5766 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.6866, allocations: 15.88 kB / 0.5766 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006085/0.6872, allocations: 79.98 kB / 0.5767 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.6874, allocations: 82.66 kB / 0.5768 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008443/0.6959, allocations: 2.699 MB / 0.5794 GB, free: 5.324 MB / 446.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.0236/0.7195, allocations: 15.76 MB / 0.5948 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004836/0.7244, allocations: 1.376 MB / 0.5961 GB, free: 3.086 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.7259, allocations: 0.5492 MB / 0.5967 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.7272, allocations: 0.6908 MB / 0.5973 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.076e-05/0.7273, allocations: 55.55 kB / 0.5974 GB, free: 1.676 MB / 462.1 MB Notification: Performance of pre-optimization done (n=101): time 3.176e-06/0.7274, allocations: 0 / 0.5974 GB, free: 1.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=117): time 0.01835/0.7457, allocations: 5.23 MB / 0.6025 GB, free: 12.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.7459, allocations: 167.2 kB / 0.6027 GB, free: 12.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.7485, allocations: 1.461 MB / 0.6041 GB, free: 10.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.7487, allocations: 45.7 kB / 0.6041 GB, free: 10.65 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.7495, allocations: 0.9438 MB / 0.605 GB, free: 9.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/0.75, allocations: 418.2 kB / 0.6054 GB, free: 9.277 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007382/0.7507, allocations: 455.9 kB / 0.6059 GB, free: 8.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7509, allocations: 309.1 kB / 0.6062 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.7526, allocations: 0.6837 MB / 0.6068 GB, free: 7.832 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.7554, allocations: 1.922 MB / 0.6087 GB, free: 5.301 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004684/0.76, allocations: 2.782 MB / 0.6114 GB, free: 1.918 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-05/0.7601, allocations: 12 kB / 0.6114 GB, free: 1.906 MB / 478.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00643/0.7666, allocations: 2.811 MB / 0.6142 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.7667, allocations: 24 kB / 0.6142 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.154e-05/0.7668, allocations: 43.94 kB / 0.6143 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.7682, allocations: 447.8 kB / 0.6147 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.77, allocations: 0.5264 MB / 0.6152 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.7724, allocations: 2.744 MB / 0.6179 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.7745, allocations: 135.9 kB / 0.618 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/0.7748, allocations: 140.1 kB / 0.6181 GB, free: 10.92 MB / 494.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,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.001207/0.7761, allocations: 0.5396 MB / 0.6187 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/0.7767, allocations: 177.9 kB / 0.6188 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00765/0.7843, allocations: 4.965 MB / 0.6237 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.614e-05/0.7844, allocations: 47.92 kB / 0.6237 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7844, allocations: 0 / 0.6237 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.7844, allocations: 11.97 kB / 0.6237 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2547/1.039, allocations: 7.108 MB / 0.6307 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.039, allocations: 2.656 kB / 0.6307 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009639/1.04, allocations: 259.9 kB / 0.6309 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/1.041, allocations: 441.5 kB / 0.6314 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/1.041, allocations: 26.86 kB / 0.6314 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/1.043, allocations: 2.782 MB / 0.6341 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.043, allocations: 8.875 kB / 0.6341 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/1.049, allocations: 4.086 MB / 0.6381 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.05, allocations: 407.1 kB / 0.6385 GB, free: 148.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004876/1.051, allocations: 80.25 kB / 0.6386 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.052, allocations: 86.88 kB / 0.6386 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/1.052, allocations: 109.3 kB / 0.6388 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/1.052, allocations: 48.05 kB / 0.6388 GB, free: 148.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001579/1.054, allocations: 1.232 MB / 0.64 GB, free: 147.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.054, allocations: 0 / 0.64 GB, free: 147.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004421/1.058, allocations: 1.406 MB / 0.6414 GB, free: 147.7 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 (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.004515/1.063, allocations: 1.381 MB / 0.6427 GB, free: 147.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005853/1.068, allocations: 2.506 MB / 0.6452 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.069, allocations: 1.719 kB / 0.6452 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/1.071, allocations: 1.357 MB / 0.6465 GB, free: 146.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/1.075, allocations: 0.9405 MB / 0.6474 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/1.081, allocations: 4.681 MB / 0.652 GB, free: 143.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009082/1.082, allocations: 1.651 MB / 0.6536 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002076/1.084, allocations: 0.9709 MB / 0.6545 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/1.084, allocations: 138.7 kB / 0.6547 GB, free: 143 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/1.084, allocations: 1.531 kB / 0.6547 GB, free: 143 MB / 494.1 MB Notification: Performance of Templates: time 0.09022/1.175, allocations: 67.99 MB / 0.7211 GB, free: 96.45 MB / 494.1 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)