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.01162/0.01162, allocations: 105.9 kB / 15.73 MB, free: 6.047 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.002408/0.002408, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.694/1.694, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.3186/0.3186, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.002651/0.002651, allocations: 68.5 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.294, allocations: 56.47 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07567/0.3698, allocations: 75.19 MB / 0.5514 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04133/0.4111, allocations: 33.49 MB / 0.5841 GB, free: 6.578 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.4143, allocations: 43.75 kB / 0.5842 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.4178, allocations: 1.048 MB / 0.5852 GB, free: 5.48 MB / 462.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.01848/0.4363, allocations: 5.117 MB / 0.5902 GB, free: 352 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02051/0.4569, allocations: 6.323 MB / 0.5964 GB, free: 9.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007901/0.4648, allocations: 5.185 MB / 0.6014 GB, free: 4.797 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.4674, allocations: 1.32 MB / 0.6027 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0129/0.4804, allocations: 5.332 MB / 0.6079 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.4836, allocations: 1.573 MB / 0.6095 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009601/0.4846, allocations: 199.9 kB / 0.6097 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01691/0.5015, allocations: 7.219 MB / 0.6167 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.5031, allocations: 0.7247 MB / 0.6174 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.5055, allocations: 1.093 MB / 0.6185 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.5215, allocations: 6.68 MB / 0.625 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5216, allocations: 0 / 0.625 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.33e-06/0.5216, allocations: 0 / 0.625 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.00012/0.5217, allocations: 7.938 kB / 0.625 GB, free: 12.54 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.008113/0.5298, allocations: 2.794 MB / 0.6277 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5299, allocations: 11.89 kB / 0.6277 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00665/0.5366, allocations: 0.8182 MB / 0.6285 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.5391, allocations: 1.1 MB / 0.6296 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004812/0.5396, allocations: 461 kB / 0.6301 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004891/0.5401, allocations: 172.1 kB / 0.6302 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007626/0.5477, allocations: 3.135 MB / 0.6333 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-05/0.5478, allocations: 11.88 kB / 0.6333 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/0.5482, allocations: 87.98 kB / 0.6334 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.5483, allocations: 74.72 kB / 0.6335 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00684/0.5552, allocations: 2.699 MB / 0.6361 GB, free: 0.7539 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.2417/0.7969, allocations: 15.72 MB / 0.6514 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004395/0.8013, allocations: 1.381 MB / 0.6528 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.8026, allocations: 0.539 MB / 0.6533 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.8037, allocations: 0.6957 MB / 0.654 GB, free: 121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.8037, allocations: 53.78 kB / 0.654 GB, free: 121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=101): time 2.785e-06/0.8038, allocations: 0 / 0.654 GB, free: 121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117): time 0.01676/0.8205, allocations: 5.216 MB / 0.6591 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.8206, allocations: 172.3 kB / 0.6593 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.8227, allocations: 1.46 MB / 0.6607 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.8228, allocations: 52.61 kB / 0.6608 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.8234, allocations: 0.9294 MB / 0.6617 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.8237, allocations: 422 kB / 0.6621 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005692/0.8243, allocations: 462 kB / 0.6625 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.8243, allocations: 307.9 kB / 0.6628 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.8259, allocations: 0.6803 MB / 0.6635 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.828, allocations: 1.927 MB / 0.6654 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.8316, allocations: 2.78 MB / 0.6681 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.69e-05/0.8317, allocations: 15 kB / 0.6681 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005271/0.837, allocations: 2.813 MB / 0.6708 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.837, allocations: 24.12 kB / 0.6709 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.635e-05/0.8371, allocations: 43.64 kB / 0.6709 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.8384, allocations: 438.4 kB / 0.6713 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.84, allocations: 0.522 MB / 0.6718 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.8416, allocations: 2.747 MB / 0.6745 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.8435, allocations: 142.6 kB / 0.6747 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.8437, allocations: 140.4 kB / 0.6748 GB, free: 108.7 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.0008449/0.8446, allocations: 0.5354 MB / 0.6753 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.845, allocations: 178.1 kB / 0.6755 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006489/0.8515, allocations: 4.945 MB / 0.6803 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.8516, allocations: 49.88 kB / 0.6804 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.8516, allocations: 7.938 kB / 0.6804 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.8516, allocations: 9.094 kB / 0.6804 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009064/0.8607, allocations: 7.113 MB / 0.6873 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.8607, allocations: 2.156 kB / 0.6873 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009413/0.8617, allocations: 252.5 kB / 0.6876 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.8629, allocations: 446.2 kB / 0.688 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.151e-05/0.8629, allocations: 23.94 kB / 0.688 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.8645, allocations: 2.79 MB / 0.6907 GB, free: 98.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8645, allocations: 0 / 0.6907 GB, free: 98.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00522/0.8697, allocations: 4.081 MB / 0.6947 GB, free: 96.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007815/0.8705, allocations: 414.9 kB / 0.6951 GB, free: 95.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.8709, allocations: 74 kB / 0.6952 GB, free: 95.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.872, allocations: 86.91 kB / 0.6953 GB, free: 95.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.8722, allocations: 120.5 kB / 0.6954 GB, free: 95.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.192e-05/0.8723, allocations: 44.45 kB / 0.6954 GB, free: 95.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001402/0.8737, allocations: 1.231 MB / 0.6966 GB, free: 94.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8738, allocations: 0 / 0.6966 GB, free: 94.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003914/0.8777, allocations: 1.401 MB / 0.698 GB, free: 94.77 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.00427/0.882, allocations: 1.378 MB / 0.6993 GB, free: 93.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.8857, allocations: 2.238 MB / 0.7015 GB, free: 91.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8857, allocations: 1.438 kB / 0.7015 GB, free: 91.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.8876, allocations: 1.354 MB / 0.7029 GB, free: 90.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/0.8914, allocations: 0.9429 MB / 0.7038 GB, free: 89.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005651/0.8971, allocations: 4.637 MB / 0.7083 GB, free: 84.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008324/0.898, allocations: 1.652 MB / 0.7099 GB, free: 82.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001575/0.8995, allocations: 0.9719 MB / 0.7109 GB, free: 81.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.8998, allocations: 139.4 kB / 0.711 GB, free: 81.75 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.8998, allocations: 0 / 0.711 GB, free: 81.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.08224/0.9821, allocations: 68.48 MB / 0.7779 GB, free: 13.23 MB / 0.4981 GB 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)