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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.001317/0.001317, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.72/1.72, allocations: 205.1 MB / 222.4 MB, free: 4.434 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.4014/0.4014, allocations: 39.94 MB / 309.7 MB, free: 9.609 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.001582/0.001582, allocations: 75.88 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1421, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2955/0.4377, allocations: 75.18 MB / 0.4977 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04548/0.4832, allocations: 33.47 MB / 0.5304 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.4863, allocations: 41.78 kB / 0.5305 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003735/0.4901, allocations: 1.047 MB / 0.5315 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01652/0.5066, allocations: 5.091 MB / 0.5365 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02002/0.5267, allocations: 6.309 MB / 0.5426 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008791/0.5355, allocations: 5.173 MB / 0.5477 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.5381, allocations: 1.328 MB / 0.549 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01373/0.5518, allocations: 5.283 MB / 0.5541 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003566/0.5555, allocations: 1.58 MB / 0.5557 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006114/0.5561, allocations: 196 kB / 0.5559 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01871/0.5748, allocations: 7.094 MB / 0.5628 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.5763, allocations: 0.7285 MB / 0.5635 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002222/0.5785, allocations: 1.093 MB / 0.5646 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01894/0.5975, allocations: 6.653 MB / 0.5711 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5975, allocations: 0 / 0.5711 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5975, allocations: 0 / 0.5711 GB, free: 12.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.645e-05/0.5976, allocations: 0 / 0.5711 GB, free: 12.75 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.007163/0.6047, allocations: 2.802 MB / 0.5738 GB, free: 9.898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6048, allocations: 11.89 kB / 0.5738 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006136/0.611, allocations: 0.8182 MB / 0.5746 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.6131, allocations: 1.049 MB / 0.5756 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.6134, allocations: 458.7 kB / 0.5761 GB, free: 7.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.6137, allocations: 172.4 kB / 0.5762 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006716/0.6204, allocations: 3.142 MB / 0.5793 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.674e-05/0.6205, allocations: 11.88 kB / 0.5793 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.6207, allocations: 87.92 kB / 0.5794 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.811e-05/0.6208, allocations: 90.7 kB / 0.5795 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006604/0.6275, allocations: 2.691 MB / 0.5821 GB, free: 1.008 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.01868/0.6462, allocations: 15.77 MB / 0.5975 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.6506, allocations: 1.38 MB / 0.5989 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.6519, allocations: 0.5336 MB / 0.5994 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.6531, allocations: 0.7025 MB / 0.6001 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.6532, allocations: 47.56 kB / 0.6001 GB, free: 13.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=101): time 2.916e-06/0.6532, allocations: 0 / 0.6001 GB, free: 13.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=117): time 0.01637/0.6696, allocations: 5.221 MB / 0.6052 GB, free: 8.059 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.6697, allocations: 171.2 kB / 0.6054 GB, free: 7.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.6716, allocations: 1.461 MB / 0.6068 GB, free: 6.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.6718, allocations: 49.7 kB / 0.6068 GB, free: 6.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006873/0.6725, allocations: 0.936 MB / 0.6078 GB, free: 5.379 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.6728, allocations: 418.3 kB / 0.6082 GB, free: 4.965 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005553/0.6734, allocations: 451.9 kB / 0.6086 GB, free: 4.516 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6735, allocations: 309.1 kB / 0.6089 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.675, allocations: 0.6798 MB / 0.6096 GB, free: 3.527 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.6774, allocations: 1.926 MB / 0.6114 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004202/0.6816, allocations: 2.783 MB / 0.6142 GB, free: 13.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.6817, allocations: 12 kB / 0.6142 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005569/0.6872, allocations: 2.804 MB / 0.6169 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.6873, allocations: 24 kB / 0.6169 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/0.6874, allocations: 44.08 kB / 0.617 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.6887, allocations: 450.9 kB / 0.6174 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.6903, allocations: 0.5264 MB / 0.6179 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.6926, allocations: 2.744 MB / 0.6206 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.6944, allocations: 140.1 kB / 0.6207 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.6946, allocations: 140 kB / 0.6209 GB, free: 6.609 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.0009057/0.6955, allocations: 0.5395 MB / 0.6214 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.6959, allocations: 177.9 kB / 0.6216 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00684/0.7027, allocations: 4.958 MB / 0.6264 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/0.7028, allocations: 55.86 kB / 0.6264 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7028, allocations: 0 / 0.6264 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.7028, allocations: 3.984 kB / 0.6265 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2668/0.9696, allocations: 7.115 MB / 0.6334 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.9697, allocations: 6.531 kB / 0.6334 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009621/0.9706, allocations: 249.2 kB / 0.6336 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.9719, allocations: 448.8 kB / 0.6341 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.972, allocations: 29.19 kB / 0.6341 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.9738, allocations: 2.783 MB / 0.6368 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9738, allocations: 4.375 kB / 0.6368 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00582/0.9796, allocations: 4.092 MB / 0.6408 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.9807, allocations: 405 kB / 0.6412 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.981, allocations: 77.55 kB / 0.6413 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009943/0.982, allocations: 88.16 kB / 0.6414 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.9822, allocations: 109.8 kB / 0.6415 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.9823, allocations: 50.39 kB / 0.6415 GB, free: 145.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001582/0.9839, allocations: 1.232 MB / 0.6427 GB, free: 145.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9839, allocations: 0 / 0.6427 GB, free: 145.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005342/0.9893, allocations: 1.406 MB / 0.6441 GB, free: 145 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.004917/0.9942, allocations: 1.367 MB / 0.6454 GB, free: 144.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006169/1, allocations: 2.513 MB / 0.6479 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1, allocations: 3.188 kB / 0.6479 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.003, allocations: 1.358 MB / 0.6492 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004688/1.007, allocations: 0.9477 MB / 0.6501 GB, free: 143.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/1.014, allocations: 4.691 MB / 0.6547 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.016, allocations: 1.656 MB / 0.6563 GB, free: 140.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002569/1.018, allocations: 0.9657 MB / 0.6573 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/1.019, allocations: 141.3 kB / 0.6574 GB, free: 140.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/1.019, allocations: 0 / 0.6574 GB, free: 140.3 MB / 494.1 MB Notification: Performance of Templates: time 0.1018/1.12, allocations: 67.99 MB / 0.7238 GB, free: 90.53 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)