Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002665/0.00267, allocations: 368.3 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.732/3.732, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005244/0.005242, allocations: 228.8 kB / 451 MB, free: 3.031 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8378/0.8378, allocations: 80.01 MB / 0.5627 GB, free: 6.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006632/0.0006634, allocations: 16 kB / 0.6265 GB, free: 4.824 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1217, allocations: 54.89 MB / 0.6801 GB, free: 13.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.3267/0.4486, allocations: 15.61 MB / 0.6954 GB, free: 71.56 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.4611, allocations: 6.505 MB / 0.7017 GB, free: 71.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.4625, allocations: 29.56 kB / 0.7017 GB, free: 71.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.464, allocations: 320 kB / 0.702 GB, free: 71.17 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+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.2+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.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003913/0.4679, allocations: 0.9737 MB / 0.703 GB, free: 70.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006425/0.4744, allocations: 1.504 MB / 0.7045 GB, free: 70.78 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004036/0.4785, allocations: 2.529 MB / 0.7069 GB, free: 70.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.4799, allocations: 0.519 MB / 0.7074 GB, free: 70.24 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.482, allocations: 0.7185 MB / 0.7081 GB, free: 70.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.4845, allocations: 0.7861 MB / 0.7089 GB, free: 69.83 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004926/0.485, allocations: 39.88 kB / 0.709 GB, free: 69.83 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005681/0.4907, allocations: 1.118 MB / 0.71 GB, free: 69.57 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.4919, allocations: 287.4 kB / 0.7103 GB, free: 69.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007607/0.4927, allocations: 188.3 kB / 0.7105 GB, free: 69.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.4975, allocations: 1.363 MB / 0.7118 GB, free: 69.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.4976, allocations: 3.375 kB / 0.7118 GB, free: 69.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4976, allocations: 0.7188 kB / 0.7118 GB, free: 69.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.184e-05/0.4977, allocations: 0.9688 kB / 0.7118 GB, free: 69.14 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.005911/0.5036, allocations: 1.204 MB / 0.713 GB, free: 68.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.5037, allocations: 8.562 kB / 0.713 GB, free: 68.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.5047, allocations: 114.6 kB / 0.7131 GB, free: 68.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.5071, allocations: 0.615 MB / 0.7137 GB, free: 67.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.5074, allocations: 107.5 kB / 0.7138 GB, free: 67.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.5077, allocations: 59.09 kB / 0.7139 GB, free: 67.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.5117, allocations: 0.9962 MB / 0.7149 GB, free: 67.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.5119, allocations: 2.844 kB / 0.7149 GB, free: 67.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/0.5121, allocations: 24.36 kB / 0.7149 GB, free: 67.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.5123, allocations: 56.08 kB / 0.7149 GB, free: 67.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/0.5164, allocations: 0.9028 MB / 0.7158 GB, free: 67.05 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.01664/0.5331, allocations: 4.078 MB / 0.7198 GB, free: 64.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.536, allocations: 0.6201 MB / 0.7204 GB, free: 64.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.5379, allocations: 385 kB / 0.7208 GB, free: 64.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008311/0.5463, allocations: 2.317 MB / 0.723 GB, free: 62.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001775/0.5481, allocations: 430 kB / 0.7234 GB, free: 62.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 8.205e-06/0.5482, allocations: 1.281 kB / 0.7234 GB, free: 62.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.01445/0.5627, allocations: 2.459 MB / 0.7259 GB, free: 60.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.5628, allocations: 167.7 kB / 0.726 GB, free: 60.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.5654, allocations: 0.7767 MB / 0.7268 GB, free: 60.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.5657, allocations: 32.7 kB / 0.7268 GB, free: 60.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006162/0.5664, allocations: 445.2 kB / 0.7272 GB, free: 59.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.5668, allocations: 180.1 kB / 0.7274 GB, free: 59.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.567, allocations: 15.03 kB / 0.7274 GB, free: 59.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.5673, allocations: 395.6 kB / 0.7278 GB, free: 59.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.569, allocations: 348 kB / 0.7281 GB, free: 59.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.5711, allocations: 0.6329 MB / 0.7287 GB, free: 58.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.5731, allocations: 452.5 kB / 0.7292 GB, free: 58.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/0.5732, allocations: 2.75 kB / 0.7292 GB, free: 58.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006003/0.5792, allocations: 1.221 MB / 0.7304 GB, free: 58.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003554/0.5796, allocations: 395 kB / 0.7307 GB, free: 57.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.5797, allocations: 12.59 kB / 0.7308 GB, free: 57.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/0.5821, allocations: 357.8 kB / 0.7311 GB, free: 57.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.5842, allocations: 165.1 kB / 0.7313 GB, free: 57.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.5874, allocations: 1.45 MB / 0.7327 GB, free: 56.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.5896, allocations: 47.7 kB / 0.7327 GB, free: 56.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/0.59, allocations: 44.2 kB / 0.7328 GB, free: 56.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.59, allocations: 4.031 kB / 0.7328 GB, free: 56.27 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004774/0.5948, allocations: 1.065 MB / 0.7338 GB, free: 55.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-05/0.5949, allocations: 12.2 kB / 0.7338 GB, free: 55.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/0.5967, allocations: 276.9 kB / 0.7341 GB, free: 55.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.5993, allocations: 163.7 kB / 0.7342 GB, free: 55.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/0.6039, allocations: 2.359 MB / 0.7365 GB, free: 53.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6053, allocations: 46.34 kB / 0.7366 GB, free: 53.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.6054, allocations: 39.06 kB / 0.7366 GB, free: 53.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008706/0.6063, allocations: 407.9 kB / 0.737 GB, free: 53.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.6066, allocations: 86.3 kB / 0.7371 GB, free: 53.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/0.61, allocations: 1.013 MB / 0.7381 GB, free: 52.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.6101, allocations: 2.672 kB / 0.7381 GB, free: 52.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.6101, allocations: 0 / 0.7381 GB, free: 52.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000846/0.611, allocations: 243.8 kB / 0.7383 GB, free: 52.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.6113, allocations: 13.62 kB / 0.7383 GB, free: 52.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.6122, allocations: 51.48 kB / 0.7384 GB, free: 52.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.6125, allocations: 49.86 kB / 0.7384 GB, free: 52.68 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003746/0.6162, allocations: 1.061 MB / 0.7395 GB, free: 52.19 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003487/0.6198, allocations: 1.387 MB / 0.7408 GB, free: 51.53 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009622/0.6208, allocations: 379.6 kB / 0.7412 GB, free: 51.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001164/0.622, allocations: 0.5221 MB / 0.7417 GB, free: 51.19 MB / 394.7 MB Notification: Performance of Backend: time 1.052e-06/0.622, allocations: 0 / 0.7417 GB, free: 51.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007054/0.6291, allocations: 1.822 MB / 0.7435 GB, free: 50.38 MB / 394.7 MB Notification: Performance of SimCode: time 0.005346/0.6345, allocations: 2.537 MB / 0.7459 GB, free: 48.56 MB / 394.7 MB Notification: Performance of Templates: time 0.05021/0.6847, allocations: 21 MB / 0.7665 GB, free: 30.53 MB / 394.7 MB