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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001676/0.001676, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.604/1.604, allocations: 205.1 MB / 222 MB, free: 4.984 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.3463/0.3463, allocations: 37.98 MB / 307.3 MB, free: 9.871 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.00146/0.00146, allocations: 71.06 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1358, allocations: 56.46 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3204/0.4563, allocations: 76.86 MB / 0.496 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04969/0.506, allocations: 34.77 MB / 0.5299 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003717/0.5098, allocations: 55.91 kB / 0.53 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004338/0.5142, allocations: 0.9245 MB / 0.5309 GB, free: 14.09 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.0179/0.5321, allocations: 4.303 MB / 0.5351 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02151/0.5537, allocations: 5.578 MB / 0.5405 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01316/0.5669, allocations: 7.231 MB / 0.5476 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/0.5703, allocations: 1.157 MB / 0.5487 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01555/0.5859, allocations: 5.04 MB / 0.5537 GB, free: 152 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004346/0.5903, allocations: 1.642 MB / 0.5553 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000703/0.591, allocations: 104 kB / 0.5554 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01741/0.6084, allocations: 7.094 MB / 0.5623 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.61, allocations: 0.6388 MB / 0.5629 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00226/0.6123, allocations: 1.019 MB / 0.5639 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.63, allocations: 6.575 MB / 0.5703 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6301, allocations: 0 / 0.5703 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.6301, allocations: 0 / 0.5703 GB, free: 15.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.381e-05/0.6302, allocations: 3.938 kB / 0.5703 GB, free: 15.04 MB / 446.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.006525/0.6367, allocations: 2.802 MB / 0.5731 GB, free: 12.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6367, allocations: 8.031 kB / 0.5731 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006243/0.643, allocations: 0.8143 MB / 0.5739 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.6452, allocations: 1.049 MB / 0.5749 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.6456, allocations: 457 kB / 0.5753 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.6459, allocations: 173.2 kB / 0.5755 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006873/0.6528, allocations: 3.142 MB / 0.5786 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.6529, allocations: 15.88 kB / 0.5786 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.6531, allocations: 80 kB / 0.5787 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.6532, allocations: 82.72 kB / 0.5787 GB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006688/0.6599, allocations: 2.699 MB / 0.5814 GB, free: 3.301 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.01682/0.6768, allocations: 15.73 MB / 0.5967 GB, free: 2.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.681, allocations: 1.379 MB / 0.5981 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.6823, allocations: 0.5414 MB / 0.5986 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.6836, allocations: 0.7025 MB / 0.5993 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.6837, allocations: 43.56 kB / 0.5993 GB, free: 15.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=101): time 3.827e-06/0.6837, allocations: 0 / 0.5993 GB, free: 15.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=117): time 0.01665/0.7003, allocations: 5.223 MB / 0.6044 GB, free: 10.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.7005, allocations: 171.2 kB / 0.6046 GB, free: 10.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.7024, allocations: 1.457 MB / 0.606 GB, free: 8.715 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.7025, allocations: 49.7 kB / 0.6061 GB, free: 8.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/0.7031, allocations: 0.936 MB / 0.607 GB, free: 7.711 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.7035, allocations: 414.3 kB / 0.6074 GB, free: 7.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005115/0.704, allocations: 459.9 kB / 0.6078 GB, free: 6.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.7041, allocations: 305.1 kB / 0.6081 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.7056, allocations: 0.6759 MB / 0.6088 GB, free: 5.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.7079, allocations: 1.93 MB / 0.6107 GB, free: 3.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.7119, allocations: 2.777 MB / 0.6134 GB, free: 15.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.712, allocations: 14.81 kB / 0.6134 GB, free: 15.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005311/0.7173, allocations: 2.808 MB / 0.6161 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.7174, allocations: 27.94 kB / 0.6162 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/0.7174, allocations: 48.16 kB / 0.6162 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.7187, allocations: 447 kB / 0.6166 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.7203, allocations: 0.5264 MB / 0.6171 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.7222, allocations: 2.736 MB / 0.6198 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.7242, allocations: 203.6 kB / 0.62 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.7243, allocations: 140 kB / 0.6201 GB, free: 8.887 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.0007894/0.7251, allocations: 0.5521 MB / 0.6207 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.7255, allocations: 173.9 kB / 0.6208 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/0.7318, allocations: 4.963 MB / 0.6257 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/0.7318, allocations: 56.09 kB / 0.6257 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7318, allocations: 4 kB / 0.6257 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.7319, allocations: 15.97 kB / 0.6258 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2463/0.9782, allocations: 7.103 MB / 0.6327 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.9782, allocations: 0 / 0.6327 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/0.9792, allocations: 262 kB / 0.6329 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.9804, allocations: 435.6 kB / 0.6334 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.9805, allocations: 29.41 kB / 0.6334 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.9822, allocations: 2.784 MB / 0.6361 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9822, allocations: 8.484 kB / 0.6361 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/0.9879, allocations: 4.084 MB / 0.6401 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.9892, allocations: 406.5 kB / 0.6405 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/0.9895, allocations: 69 kB / 0.6406 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.9906, allocations: 134.6 kB / 0.6407 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.9909, allocations: 112.7 kB / 0.6408 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.9909, allocations: 45.16 kB / 0.6408 GB, free: 147.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.9924, allocations: 1.232 MB / 0.642 GB, free: 147 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9924, allocations: 0 / 0.642 GB, free: 147 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00466/0.9971, allocations: 1.404 MB / 0.6434 GB, free: 146.9 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.004396/1.002, allocations: 1.372 MB / 0.6448 GB, free: 146.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004062/1.006, allocations: 2.239 MB / 0.6469 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.006, allocations: 2.219 kB / 0.6469 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/1.008, allocations: 1.345 MB / 0.6483 GB, free: 145.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004285/1.012, allocations: 0.9008 MB / 0.6491 GB, free: 145.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007506/1.02, allocations: 5.596 MB / 0.6546 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.021, allocations: 1.653 MB / 0.6562 GB, free: 141.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002812/1.024, allocations: 0.9652 MB / 0.6572 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/1.024, allocations: 142 kB / 0.6573 GB, free: 141.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/1.024, allocations: 0 / 0.6573 GB, free: 141.4 MB / 494.1 MB Notification: Performance of Templates: time 0.08434/1.108, allocations: 66.01 MB / 0.7218 GB, free: 96 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)