Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003879/0.003879, allocations: 347 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.867/3.867, allocations: 341.5 MB / 358.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003556/0.003556, allocations: 217.2 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4911/0.4911, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006911/0.0006915, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1009, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.3556/0.4566, allocations: 66.76 MB / 0.6719 GB, free: 46.28 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03947/0.4961, allocations: 26.52 MB / 0.6978 GB, free: 19.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.4983, allocations: 55.56 kB / 0.6979 GB, free: 19.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003004/0.5013, allocations: 0.6641 MB / 0.6985 GB, free: 19 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01967/0.5211, allocations: 4.732 MB / 0.7032 GB, free: 14.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01365/0.5347, allocations: 3.548 MB / 0.7066 GB, free: 10.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.5408, allocations: 4.273 MB / 0.7108 GB, free: 6.469 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.5425, allocations: 0.8058 MB / 0.7116 GB, free: 5.664 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008603/0.5511, allocations: 4.037 MB / 0.7155 GB, free: 1.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.5535, allocations: 1.123 MB / 0.7166 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.5538, allocations: 72 kB / 0.7167 GB, free: 436 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/0.574, allocations: 6.516 MB / 0.7231 GB, free: 9.902 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000865/0.5749, allocations: 402.6 kB / 0.7234 GB, free: 9.508 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007209/0.5757, allocations: 324.9 kB / 0.7237 GB, free: 9.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009841/0.5855, allocations: 3.983 MB / 0.7276 GB, free: 5.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5856, allocations: 0 / 0.7276 GB, free: 5.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5856, allocations: 0 / 0.7276 GB, free: 5.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.102e-05/0.5856, allocations: 0 / 0.7276 GB, free: 5.191 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.008287/0.5939, allocations: 2.102 MB / 0.7297 GB, free: 3.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.594, allocations: 8.031 kB / 0.7297 GB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008052/0.6021, allocations: 0.7124 MB / 0.7304 GB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.6046, allocations: 0.8606 MB / 0.7312 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.605, allocations: 237.2 kB / 0.7315 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.6054, allocations: 128 kB / 0.7316 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008372/0.6138, allocations: 2.271 MB / 0.7338 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/0.6139, allocations: 11.88 kB / 0.7338 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/0.6142, allocations: 59.91 kB / 0.7339 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.6143, allocations: 66.03 kB / 0.7339 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009322/0.6237, allocations: 2.04 MB / 0.7359 GB, free: 12.39 MB / 394.7 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.01899/0.6427, allocations: 10.59 MB / 0.7463 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006013/0.6488, allocations: 1.159 MB / 0.7474 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.6507, allocations: 468.1 kB / 0.7478 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3519/1.003, allocations: 19.36 MB / 0.7667 GB, free: 124.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.003, allocations: 43.69 kB / 0.7668 GB, free: 124.5 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009173/1.004, allocations: 110.4 kB / 0.7669 GB, free: 124.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 4.268e-06/1.004, allocations: 2.734 kB / 0.7669 GB, free: 124.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.02099/1.025, allocations: 3.842 MB / 0.7706 GB, free: 124.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/1.025, allocations: 169.5 kB / 0.7708 GB, free: 123.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.026, allocations: 0.878 MB / 0.7717 GB, free: 123.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/1.027, allocations: 40.02 kB / 0.7717 GB, free: 123.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006658/1.027, allocations: 0.6958 MB / 0.7724 GB, free: 123.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/1.028, allocations: 336.8 kB / 0.7727 GB, free: 123.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.028, allocations: 33.03 kB / 0.7727 GB, free: 123.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/1.028, allocations: 430.4 kB / 0.7731 GB, free: 122.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/1.03, allocations: 477.7 kB / 0.7736 GB, free: 122.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/1.033, allocations: 1.165 MB / 0.7747 GB, free: 121.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/1.035, allocations: 0.6596 MB / 0.7754 GB, free: 121.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/1.036, allocations: 6.062 kB / 0.7754 GB, free: 121.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006428/1.042, allocations: 1.788 MB / 0.7771 GB, free: 121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004978/1.043, allocations: 0.7539 MB / 0.7779 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/1.043, allocations: 23.09 kB / 0.7779 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/1.043, allocations: 137.1 kB / 0.778 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.046, allocations: 433.7 kB / 0.7784 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/1.047, allocations: 1.212 MB / 0.7796 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.05, allocations: 150.5 kB / 0.7798 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/1.05, allocations: 98.11 kB / 0.7799 GB, free: 118.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.05, allocations: 4.219 kB / 0.7799 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005733/1.056, allocations: 1.642 MB / 0.7815 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/1.056, allocations: 24.53 kB / 0.7815 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/1.057, allocations: 141.8 kB / 0.7816 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.06, allocations: 430 kB / 0.782 GB, free: 118 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000918/1.061, allocations: 1.201 MB / 0.7832 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/1.063, allocations: 161.9 kB / 0.7834 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/1.063, allocations: 96.33 kB / 0.7835 GB, free: 116.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001089/1.064, allocations: 461.7 kB / 0.7839 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/1.065, allocations: 116 kB / 0.784 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.075, allocations: 4.841 MB / 0.7887 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.512e-05/1.075, allocations: 5.906 kB / 0.7887 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.075, allocations: 1.125 kB / 0.7887 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.076, allocations: 441.8 kB / 0.7892 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/1.076, allocations: 21.41 kB / 0.7892 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.078, allocations: 143.6 kB / 0.7893 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/1.078, allocations: 89.06 kB / 0.7894 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007747/1.086, allocations: 2.642 MB / 0.792 GB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008783/1.095, allocations: 3.77 MB / 0.7957 GB, free: 111.1 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002496/1.098, allocations: 1.192 MB / 0.7968 GB, free: 110.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00116/1.099, allocations: 0.6213 MB / 0.7974 GB, free: 110.3 MB / 410.7 MB Notification: Performance of Backend: time 1.102e-06/1.099, allocations: 0 / 0.7974 GB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01522/1.114, allocations: 3.316 MB / 0.8007 GB, free: 109.2 MB / 410.7 MB Notification: Performance of SimCode: time 0.008303/1.122, allocations: 4.353 MB / 0.8049 GB, free: 105.2 MB / 410.7 MB Notification: Performance of Templates: time 0.1239/1.246, allocations: 60.46 MB / 0.864 GB, free: 45.22 MB / 410.7 MB