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.001544/0.001544, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001943/0.001943, allocations: 194.2 kB / 16.26 MB, free: 6.617 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.784/1.784, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3906/0.3906, allocations: 39.93 MB / 309.4 MB, free: 9.652 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.001436/0.001436, allocations: 71.89 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1544, allocations: 56.88 MB / 434 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3496/0.504, allocations: 75.99 MB / 0.498 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0509/0.555, allocations: 33.65 MB / 0.5309 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003958/0.5591, allocations: 56.53 kB / 0.531 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004561/0.5637, allocations: 0.944 MB / 0.5319 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02133/0.585, allocations: 4.575 MB / 0.5363 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02268/0.6078, allocations: 5.795 MB / 0.542 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009053/0.6168, allocations: 5.193 MB / 0.5471 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003481/0.6203, allocations: 1.32 MB / 0.5484 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01405/0.6344, allocations: 5.288 MB / 0.5535 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.6385, allocations: 1.674 MB / 0.5552 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006963/0.6393, allocations: 196 kB / 0.5553 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01874/0.658, allocations: 7.149 MB / 0.5623 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.6597, allocations: 0.7286 MB / 0.563 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.662, allocations: 1.101 MB / 0.5641 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01859/0.6806, allocations: 6.676 MB / 0.5706 GB, free: 13.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.6806, allocations: 4 kB / 0.5706 GB, free: 13.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6806, allocations: 0 / 0.5706 GB, free: 13.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.708e-05/0.6807, allocations: 0 / 0.5706 GB, free: 13.33 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.007902/0.6886, allocations: 2.796 MB / 0.5734 GB, free: 10.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.6887, allocations: 19.83 kB / 0.5734 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006565/0.6952, allocations: 0.8105 MB / 0.5742 GB, free: 9.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.6976, allocations: 1.045 MB / 0.5752 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.698, allocations: 465 kB / 0.5756 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.6983, allocations: 172.3 kB / 0.5758 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007468/0.7058, allocations: 3.138 MB / 0.5789 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.249e-05/0.7059, allocations: 11.88 kB / 0.5789 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.7062, allocations: 84 kB / 0.579 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.7063, allocations: 86.64 kB / 0.579 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006686/0.713, allocations: 2.695 MB / 0.5817 GB, free: 1.59 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.01832/0.7313, allocations: 15.73 MB / 0.597 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/0.7355, allocations: 1.383 MB / 0.5984 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.7368, allocations: 0.5453 MB / 0.5989 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.7379, allocations: 0.6947 MB / 0.5996 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.7379, allocations: 51.55 kB / 0.5996 GB, free: 13.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=101): time 3.186e-06/0.7379, allocations: 3.938 kB / 0.5997 GB, free: 13.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=117): time 0.01616/0.7541, allocations: 5.22 MB / 0.6048 GB, free: 8.672 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.7543, allocations: 167.2 kB / 0.6049 GB, free: 8.473 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.7561, allocations: 1.465 MB / 0.6063 GB, free: 6.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.7563, allocations: 49.7 kB / 0.6064 GB, free: 6.941 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/0.7569, allocations: 0.936 MB / 0.6073 GB, free: 5.992 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.7572, allocations: 414.2 kB / 0.6077 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005433/0.7578, allocations: 459.9 kB / 0.6081 GB, free: 5.125 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.7579, allocations: 309.1 kB / 0.6084 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.7594, allocations: 0.6759 MB / 0.6091 GB, free: 4.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.7619, allocations: 1.93 MB / 0.611 GB, free: 1.598 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/0.7659, allocations: 2.772 MB / 0.6137 GB, free: 14.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.7659, allocations: 15.83 kB / 0.6137 GB, free: 14.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00537/0.7713, allocations: 2.812 MB / 0.6164 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.7714, allocations: 24 kB / 0.6165 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/0.7714, allocations: 40 kB / 0.6165 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.7727, allocations: 448.2 kB / 0.6169 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.7743, allocations: 0.5225 MB / 0.6174 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.7763, allocations: 2.746 MB / 0.6201 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.7783, allocations: 203.9 kB / 0.6203 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.7785, allocations: 140 kB / 0.6205 GB, free: 7.164 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.000861/0.7794, allocations: 0.5434 MB / 0.621 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.7797, allocations: 173.9 kB / 0.6211 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006415/0.7861, allocations: 4.97 MB / 0.626 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.466e-05/0.7862, allocations: 47.92 kB / 0.626 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.7862, allocations: 0 / 0.626 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.7863, allocations: 7.969 kB / 0.6261 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3064/1.093, allocations: 7.12 MB / 0.633 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.093, allocations: 3.125 kB / 0.633 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009386/1.094, allocations: 257 kB / 0.6333 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/1.095, allocations: 432.8 kB / 0.6337 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/1.095, allocations: 29.09 kB / 0.6337 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/1.097, allocations: 2.787 MB / 0.6364 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.097, allocations: 7.719 kB / 0.6364 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/1.102, allocations: 4.086 MB / 0.6404 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.103, allocations: 409.2 kB / 0.6408 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003636/1.104, allocations: 72.22 kB / 0.6409 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.105, allocations: 131.3 kB / 0.641 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/1.105, allocations: 105.4 kB / 0.6411 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/1.105, allocations: 49.59 kB / 0.6411 GB, free: 145.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001487/1.107, allocations: 1.234 MB / 0.6424 GB, free: 145.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.107, allocations: 0 / 0.6424 GB, free: 145.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005319/1.112, allocations: 1.404 MB / 0.6437 GB, free: 145.1 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.0057/1.118, allocations: 1.382 MB / 0.6451 GB, free: 144.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006158/1.124, allocations: 2.513 MB / 0.6475 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.124, allocations: 448 / 0.6475 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.126, allocations: 1.355 MB / 0.6489 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/1.131, allocations: 0.9407 MB / 0.6498 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00702/1.138, allocations: 5.598 MB / 0.6552 GB, free: 140.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.139, allocations: 1.655 MB / 0.6569 GB, free: 139.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002534/1.141, allocations: 0.9604 MB / 0.6578 GB, free: 139.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/1.142, allocations: 144.8 kB / 0.6579 GB, free: 139.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/1.142, allocations: 0 / 0.6579 GB, free: 139.5 MB / 494.1 MB Notification: Performance of Templates: time 0.0934/1.235, allocations: 67.58 MB / 0.7239 GB, free: 90.3 MB / 494.1 MB 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)