Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.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.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.h|tank.aboveLevel.1.|tank.aboveLevel.2.|tank.aboveLevel.3.|tank.aboveLevel.4.|tank.ports_m_flow_out.1.|tank.ports_m_flow_out.2.|tank.ports_m_flow_out.3.|tank.ports_m_flow_out.4.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003887/0.003892, allocations: 351.5 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.401/3.401, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.003504/0.003504, allocations: 229.2 kB / 397.9 MB, free: 4.902 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.5013/0.5013, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005968/0.000597, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1077, allocations: 48.71 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.3305/0.4383, allocations: 54.76 MB / 0.6602 GB, free: 55.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02468/0.463, allocations: 15.27 MB / 0.6751 GB, free: 43.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.4643, allocations: 31.75 kB / 0.6752 GB, free: 43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.4659, allocations: 357.8 kB / 0.6755 GB, free: 42.65 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Examples/AST_BatchPlant.mo:1515:62-1515:67: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/Examples/AST_BatchPlant.mo:1515:48-1515:55: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/Examples/AST_BatchPlant.mo:1529:40-1529:47: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.02701/0.4929, allocations: 3.942 MB / 0.6794 GB, free: 38.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01433/0.5073, allocations: 1.803 MB / 0.6811 GB, free: 36.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004843/0.5122, allocations: 3.225 MB / 0.6843 GB, free: 33.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.5138, allocations: 0.6841 MB / 0.6849 GB, free: 33.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.5252, allocations: 3.675 MB / 0.6885 GB, free: 29.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.5359, allocations: 3.566 MB / 0.692 GB, free: 25.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004323/0.5364, allocations: 56 kB / 0.6921 GB, free: 25.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02383/0.5602, allocations: 6.774 MB / 0.6987 GB, free: 18.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005026/0.5608, allocations: 271.1 kB / 0.6989 GB, free: 18.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.5612, allocations: 229.2 kB / 0.6992 GB, free: 18.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007739/0.569, allocations: 3.715 MB / 0.7028 GB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.569, allocations: 4 kB / 0.7028 GB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5691, allocations: 0 / 0.7028 GB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.5691, allocations: 0 / 0.7028 GB, free: 14.71 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.006257/0.5753, allocations: 1.692 MB / 0.7044 GB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5754, allocations: 8.031 kB / 0.7044 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/0.5786, allocations: 314.5 kB / 0.7047 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.5802, allocations: 0.6446 MB / 0.7054 GB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.5804, allocations: 299.6 kB / 0.7057 GB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.5806, allocations: 85.81 kB / 0.7057 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/0.5853, allocations: 1.527 MB / 0.7072 GB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.5854, allocations: 3.938 kB / 0.7072 GB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.5856, allocations: 40 kB / 0.7073 GB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/0.5857, allocations: 37.98 kB / 0.7073 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005142/0.5908, allocations: 1.377 MB / 0.7087 GB, free: 8.48 MB / 362.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.01169/0.6026, allocations: 6.396 MB / 0.7149 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/0.607, allocations: 0.9962 MB / 0.7159 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.6085, allocations: 451.1 kB / 0.7163 GB, free: 160 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07265/0.6812, allocations: 18.8 MB / 0.7347 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/0.6813, allocations: 43.12 kB / 0.7347 GB, free: 11.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=59): time 5.25e-06/0.6814, allocations: 3.938 kB / 0.7347 GB, free: 11.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.02027/0.7017, allocations: 3.021 MB / 0.7377 GB, free: 7.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.7018, allocations: 166.7 kB / 0.7378 GB, free: 7.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.7039, allocations: 0.7894 MB / 0.7386 GB, free: 6.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002754/0.7043, allocations: 53.7 kB / 0.7386 GB, free: 6.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/0.7049, allocations: 447.1 kB / 0.7391 GB, free: 6.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.7054, allocations: 221 kB / 0.7393 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.7055, allocations: 16 kB / 0.7393 GB, free: 6.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.7058, allocations: 402.7 kB / 0.7397 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/0.7083, allocations: 465.7 kB / 0.7401 GB, free: 5.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/0.7111, allocations: 0.7253 MB / 0.7408 GB, free: 4.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.7136, allocations: 494.8 kB / 0.7413 GB, free: 4.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.7137, allocations: 3.984 kB / 0.7413 GB, free: 4.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.006464/0.7201, allocations: 1.289 MB / 0.7426 GB, free: 2.738 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.7202, allocations: 8 kB / 0.7426 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.7203, allocations: 11.44 kB / 0.7426 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.721, allocations: 109.1 kB / 0.7427 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008913/0.7299, allocations: 355.4 kB / 0.743 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.7409, allocations: 6.371 MB / 0.7492 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.7429, allocations: 136 kB / 0.7494 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.7431, allocations: 47.94 kB / 0.7494 GB, free: 11.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 21 (tank.heatTransfer.states[1].phase,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[4],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],$PRE.tank.aboveLevel[2],tank.aboveLevel[2],$PRE.tank.aboveLevel[3],tank.aboveLevel[3],$PRE.tank.aboveLevel[4],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008871/0.744, allocations: 343.6 kB / 0.7497 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.7444, allocations: 86.97 kB / 0.7498 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006047/0.7504, allocations: 2.207 MB / 0.752 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.7505, allocations: 3.984 kB / 0.752 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7505, allocations: 7.953 kB / 0.752 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/0.7512, allocations: 307 kB / 0.7523 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/0.7517, allocations: 24 kB / 0.7523 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.7535, allocations: 147.7 kB / 0.7525 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004488/0.754, allocations: 112.4 kB / 0.7526 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009738/0.7637, allocations: 1.637 MB / 0.7542 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006184/0.77, allocations: 2.121 MB / 0.7562 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002/0.772, allocations: 0.6024 MB / 0.7568 GB, free: 3.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.7738, allocations: 0.7774 MB / 0.7576 GB, free: 2.73 MB / 410.7 MB Notification: Performance of Backend: time 7.31e-07/0.7738, allocations: 0 / 0.7576 GB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01743/0.7913, allocations: 2.328 MB / 0.7598 GB, free: 452 kB / 410.7 MB Notification: Performance of SimCode: time 0.274/1.065, allocations: 3.248 MB / 0.763 GB, free: 126.3 MB / 410.7 MB Notification: Performance of Templates: time 0.1212/1.186, allocations: 56.36 MB / 0.8181 GB, free: 89.66 MB / 410.7 MB