Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004304/0.00431, allocations: 355.6 kB / 15.95 MB, free: 6.215 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.628/3.628, allocations: 341.5 MB / 358.2 MB, free: 28.77 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003442/0.003442, allocations: 224.4 kB / 397.9 MB, free: 6.164 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5065/0.5065, allocations: 76.1 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006664/0.0006667, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1166, allocations: 48.71 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.4761/0.5928, allocations: 69.71 MB / 0.6748 GB, free: 13.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05221/0.6451, allocations: 31.07 MB / 0.7052 GB, free: 7.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.6479, allocations: 56.59 kB / 0.7052 GB, free: 7.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.6521, allocations: 0.8388 MB / 0.706 GB, free: 6.324 MB / 330.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. [/var/lib/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.01944/0.6716, allocations: 4.272 MB / 0.7102 GB, free: 2.664 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02255/0.6942, allocations: 4.985 MB / 0.7151 GB, free: 13.69 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.7047, allocations: 5.983 MB / 0.7209 GB, free: 7.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.7075, allocations: 1.06 MB / 0.722 GB, free: 6.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0194/0.727, allocations: 7.245 MB / 0.729 GB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004116/0.7312, allocations: 1.549 MB / 0.7305 GB, free: 13.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.7323, allocations: 100 kB / 0.7306 GB, free: 13.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02217/0.7545, allocations: 6.536 MB / 0.737 GB, free: 7.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.7562, allocations: 0.6194 MB / 0.7376 GB, free: 6.539 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.7575, allocations: 408.8 kB / 0.738 GB, free: 6.133 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.7694, allocations: 4.552 MB / 0.7425 GB, free: 1.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.7695, allocations: 0 / 0.7425 GB, free: 1.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.7695, allocations: 3.938 kB / 0.7425 GB, free: 1.566 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001134/0.7696, allocations: 0 / 0.7425 GB, free: 1.566 MB / 362.7 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.01053/0.7801, allocations: 2.447 MB / 0.7449 GB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.7802, allocations: 8.031 kB / 0.7449 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009232/0.7895, allocations: 0.7823 MB / 0.7456 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.7929, allocations: 1.057 MB / 0.7467 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006286/0.7936, allocations: 460.3 kB / 0.7471 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006112/0.7942, allocations: 172 kB / 0.7473 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/0.8063, allocations: 3.185 MB / 0.7504 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.325e-05/0.8065, allocations: 19.88 kB / 0.7504 GB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005152/0.807, allocations: 80 kB / 0.7505 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.8072, allocations: 78.66 kB / 0.7505 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.8205, allocations: 2.793 MB / 0.7533 GB, free: 6.074 MB / 378.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.02913/0.8497, allocations: 15.54 MB / 0.7685 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006035/0.8558, allocations: 1.297 MB / 0.7697 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.8577, allocations: 495.3 kB / 0.7702 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08098/0.9387, allocations: 18.48 MB / 0.7882 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.186e-05/0.9388, allocations: 59.5 kB / 0.7883 GB, free: 15.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=101): time 4.188e-06/0.9388, allocations: 0 / 0.7883 GB, free: 15.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=117): time 0.02481/0.9636, allocations: 4.923 MB / 0.7931 GB, free: 10.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.9638, allocations: 171.2 kB / 0.7933 GB, free: 10.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.966, allocations: 1.211 MB / 0.7945 GB, free: 9.164 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.9661, allocations: 49.7 kB / 0.7945 GB, free: 9.109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009371/0.9671, allocations: 0.9703 MB / 0.7954 GB, free: 8.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004762/0.9676, allocations: 426.1 kB / 0.7959 GB, free: 7.699 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.9677, allocations: 48 kB / 0.7959 GB, free: 7.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003022/0.968, allocations: 455.5 kB / 0.7963 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.9704, allocations: 0.6449 MB / 0.797 GB, free: 6.551 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/0.9739, allocations: 1.945 MB / 0.7989 GB, free: 3.957 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.977, allocations: 0.998 MB / 0.7998 GB, free: 2.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/0.977, allocations: 16 kB / 0.7999 GB, free: 2.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008415/0.9854, allocations: 2.781 MB / 0.8026 GB, free: 144 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.9855, allocations: 24 kB / 0.8026 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.45e-05/0.9856, allocations: 44 kB / 0.8026 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.9875, allocations: 415.2 kB / 0.803 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/0.9908, allocations: 0.542 MB / 0.8036 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.9937, allocations: 2.724 MB / 0.8062 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.9965, allocations: 195.8 kB / 0.8064 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/0.9968, allocations: 151.9 kB / 0.8066 GB, free: 11.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.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 (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001222/0.9981, allocations: 0.5448 MB / 0.8071 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.9984, allocations: 150.2 kB / 0.8072 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.009, allocations: 4.69 MB / 0.8118 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/1.009, allocations: 7.984 kB / 0.8118 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.009, allocations: 3.984 kB / 0.8118 GB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.01, allocations: 429.6 kB / 0.8122 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/1.01, allocations: 24.05 kB / 0.8123 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/1.012, allocations: 163.7 kB / 0.8124 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.013, allocations: 85.17 kB / 0.8125 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008557/1.021, allocations: 2.725 MB / 0.8151 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2954/1.317, allocations: 3.554 MB / 0.8186 GB, free: 162.7 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00277/1.319, allocations: 1.091 MB / 0.8197 GB, free: 162.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001772/1.321, allocations: 0.8148 MB / 0.8205 GB, free: 162.6 MB / 442.7 MB Notification: Performance of Backend: time 1.022e-06/1.321, allocations: 2.438 kB / 0.8205 GB, free: 162.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01455/1.336, allocations: 2.978 MB / 0.8234 GB, free: 162.2 MB / 442.7 MB Notification: Performance of SimCode: time 0.01075/1.347, allocations: 5.098 MB / 0.8284 GB, free: 159.4 MB / 442.7 MB Notification: Performance of Templates: time 0.127/1.474, allocations: 60.54 MB / 0.8875 GB, free: 108.9 MB / 442.7 MB