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.001774/0.001774, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002555/0.002555, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.532/1.532, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.3175/0.3175, allocations: 37.98 MB / 307.4 MB, free: 10.05 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.001398/0.001398, allocations: 70.47 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2604/0.3703, allocations: 75.98 MB / 0.4953 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03945/0.4098, allocations: 33.67 MB / 0.5282 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.4129, allocations: 56.38 kB / 0.5282 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.4167, allocations: 0.9341 MB / 0.5291 GB, free: 15.2 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.0163/0.433, allocations: 4.582 MB / 0.5336 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02032/0.4534, allocations: 5.798 MB / 0.5393 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008186/0.4616, allocations: 5.188 MB / 0.5444 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/0.4642, allocations: 1.328 MB / 0.5457 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4753, allocations: 5.276 MB / 0.5508 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.4787, allocations: 1.677 MB / 0.5524 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004889/0.4792, allocations: 196 kB / 0.5526 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/0.4944, allocations: 7.149 MB / 0.5596 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009877/0.4954, allocations: 0.7364 MB / 0.5603 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.4971, allocations: 1.109 MB / 0.5614 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.5135, allocations: 6.668 MB / 0.5679 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.5136, allocations: 0 / 0.5679 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5136, allocations: 0 / 0.5679 GB, free: 1.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.277e-05/0.5137, allocations: 0 / 0.5679 GB, free: 1.434 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.01091/0.5246, allocations: 2.802 MB / 0.5707 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5247, allocations: 11.89 kB / 0.5707 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006265/0.531, allocations: 0.8143 MB / 0.5715 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.533, allocations: 1.045 MB / 0.5725 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.5334, allocations: 461 kB / 0.5729 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/0.5337, allocations: 172.4 kB / 0.5731 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007276/0.541, allocations: 3.138 MB / 0.5762 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.826e-05/0.5411, allocations: 15.88 kB / 0.5762 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.5414, allocations: 80 kB / 0.5762 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.5415, allocations: 82.72 kB / 0.5763 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00698/0.5485, allocations: 2.699 MB / 0.579 GB, free: 5.695 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.01859/0.5671, allocations: 15.73 MB / 0.5943 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.5714, allocations: 1.379 MB / 0.5957 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.5727, allocations: 0.5414 MB / 0.5962 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.5738, allocations: 0.7025 MB / 0.5969 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.5739, allocations: 43.56 kB / 0.5969 GB, free: 2.086 MB / 462.1 MB Notification: Performance of pre-optimization done (n=101): time 2.795e-06/0.5739, allocations: 4 kB / 0.5969 GB, free: 2.082 MB / 462.1 MB Notification: Performance of matching and sorting (n=117): time 0.01609/0.59, allocations: 5.227 MB / 0.602 GB, free: 12.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/0.5901, allocations: 167.2 kB / 0.6022 GB, free: 12.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.5921, allocations: 1.461 MB / 0.6036 GB, free: 11.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.5922, allocations: 53.7 kB / 0.6037 GB, free: 11.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000628/0.5929, allocations: 0.9322 MB / 0.6046 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.5932, allocations: 418.2 kB / 0.605 GB, free: 9.688 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005107/0.5937, allocations: 455.9 kB / 0.6054 GB, free: 9.234 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5938, allocations: 309.1 kB / 0.6057 GB, free: 8.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.5953, allocations: 0.6765 MB / 0.6064 GB, free: 8.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.5977, allocations: 1.922 MB / 0.6082 GB, free: 5.719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/0.6017, allocations: 2.788 MB / 0.611 GB, free: 2.336 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/0.6017, allocations: 12 kB / 0.611 GB, free: 2.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005384/0.6071, allocations: 2.807 MB / 0.6137 GB, free: 15.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.6072, allocations: 24 kB / 0.6137 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/0.6072, allocations: 44.88 kB / 0.6138 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.6086, allocations: 447 kB / 0.6142 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.6101, allocations: 0.5264 MB / 0.6147 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.6122, allocations: 2.74 MB / 0.6174 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.6143, allocations: 199.8 kB / 0.6176 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.6145, allocations: 140 kB / 0.6177 GB, free: 11.28 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.0008719/0.6153, allocations: 0.5551 MB / 0.6183 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.6157, allocations: 173.9 kB / 0.6184 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00649/0.6222, allocations: 4.97 MB / 0.6233 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.186e-05/0.6223, allocations: 47.92 kB / 0.6233 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6223, allocations: 0 / 0.6233 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.6223, allocations: 3.984 kB / 0.6233 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2457/0.868, allocations: 7.112 MB / 0.6303 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.8681, allocations: 10.88 kB / 0.6303 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009241/0.869, allocations: 254.9 kB / 0.6305 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.8702, allocations: 442.7 kB / 0.631 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/0.8703, allocations: 27.5 kB / 0.631 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.8721, allocations: 2.788 MB / 0.6337 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8721, allocations: 7.75 kB / 0.6337 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/0.8776, allocations: 4.075 MB / 0.6377 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/0.8785, allocations: 411.9 kB / 0.6381 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/0.8787, allocations: 73.38 kB / 0.6382 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.8798, allocations: 128.1 kB / 0.6383 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.88, allocations: 114.5 kB / 0.6384 GB, free: 148.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/0.8801, allocations: 44.03 kB / 0.6384 GB, free: 148.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001388/0.8815, allocations: 1.232 MB / 0.6396 GB, free: 148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8815, allocations: 1.781 kB / 0.6396 GB, free: 148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004142/0.8857, allocations: 1.403 MB / 0.641 GB, free: 147.8 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.004275/0.89, allocations: 1.378 MB / 0.6424 GB, free: 147.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00563/0.8956, allocations: 2.509 MB / 0.6448 GB, free: 147.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.8956, allocations: 448 / 0.6448 GB, free: 147.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.8976, allocations: 1.354 MB / 0.6461 GB, free: 146.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/0.9017, allocations: 0.9498 MB / 0.6471 GB, free: 146.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/0.908, allocations: 5.603 MB / 0.6525 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008848/0.9089, allocations: 1.649 MB / 0.6541 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002081/0.911, allocations: 0.9648 MB / 0.6551 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.9113, allocations: 142.5 kB / 0.6552 GB, free: 142.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.9113, allocations: 2.938 kB / 0.6552 GB, free: 142.3 MB / 494.1 MB Notification: Performance of Templates: time 0.0978/1.009, allocations: 67.58 MB / 0.7212 GB, free: 96.43 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)