Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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.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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003937/0.003942, allocations: 348.4 kB / 15.94 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.519/3.519, 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.003527/0.003527, allocations: 225.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.6097/0.6097, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005174/0.0005178, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 48.71 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.3903/0.4996, allocations: 15.59 MB / 0.622 GB, free: 84.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.5165, allocations: 6.486 MB / 0.6283 GB, free: 79.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.5181, allocations: 28.25 kB / 0.6283 GB, free: 79.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.52, allocations: 321.5 kB / 0.6286 GB, free: 79.79 MB / 362.7 MB [/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. Notification: Performance of NFTyping.typeBindings: time 0.004867/0.5249, allocations: 0.976 MB / 0.6296 GB, free: 79.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009157/0.5341, allocations: 1.505 MB / 0.6311 GB, free: 78.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01966/0.5538, allocations: 2.516 MB / 0.6335 GB, free: 77.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.5556, allocations: 0.5357 MB / 0.634 GB, free: 77.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.5583, allocations: 0.7124 MB / 0.6347 GB, free: 77.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01141/0.5698, allocations: 0.7717 MB / 0.6355 GB, free: 77.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.5703, allocations: 44.03 kB / 0.6355 GB, free: 77.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005091/0.5754, allocations: 1.121 MB / 0.6366 GB, free: 76.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.5765, allocations: 285.1 kB / 0.6369 GB, free: 76.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.5771, allocations: 189.3 kB / 0.6371 GB, free: 76.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004158/0.5813, allocations: 1.363 MB / 0.6384 GB, free: 75.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5813, allocations: 0 / 0.6384 GB, free: 75.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5814, allocations: 0 / 0.6384 GB, free: 75.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.5814, allocations: 0 / 0.6384 GB, free: 75.74 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.005004/0.5864, allocations: 1.212 MB / 0.6396 GB, free: 74.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.5865, allocations: 7.75 kB / 0.6396 GB, free: 74.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.5874, allocations: 108 kB / 0.6397 GB, free: 74.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.5895, allocations: 0.604 MB / 0.6403 GB, free: 74.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.5897, allocations: 112.6 kB / 0.6404 GB, free: 74.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.5899, allocations: 50.25 kB / 0.6405 GB, free: 74.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.5932, allocations: 0.9902 MB / 0.6414 GB, free: 73.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.5933, allocations: 6.25 kB / 0.6414 GB, free: 73.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.5935, allocations: 27.42 kB / 0.6415 GB, free: 73.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.5936, allocations: 56.94 kB / 0.6415 GB, free: 73.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.5968, allocations: 0.8981 MB / 0.6424 GB, free: 73.03 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.01317/0.61, allocations: 4.06 MB / 0.6463 GB, free: 69.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.6125, allocations: 0.6161 MB / 0.6469 GB, free: 69.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.6141, allocations: 376.1 kB / 0.6473 GB, free: 69.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007108/0.6212, allocations: 2.307 MB / 0.6496 GB, free: 67.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.6227, allocations: 428 kB / 0.65 GB, free: 66.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 6.422e-06/0.6228, allocations: 1.875 kB / 0.65 GB, free: 66.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.009963/0.6328, allocations: 2.475 MB / 0.6524 GB, free: 65.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.6329, allocations: 160.8 kB / 0.6525 GB, free: 65.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.6343, allocations: 0.7805 MB / 0.6533 GB, free: 64.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.6345, allocations: 33.7 kB / 0.6533 GB, free: 64.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.6349, allocations: 443.2 kB / 0.6538 GB, free: 64.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.6351, allocations: 169.6 kB / 0.6539 GB, free: 63.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.6351, allocations: 16 kB / 0.6539 GB, free: 63.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6353, allocations: 386.8 kB / 0.6543 GB, free: 63.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/0.6361, allocations: 349.8 kB / 0.6546 GB, free: 63.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009754/0.6371, allocations: 0.6315 MB / 0.6553 GB, free: 62.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000972/0.6381, allocations: 447.6 kB / 0.6557 GB, free: 62.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.6382, allocations: 4 kB / 0.6557 GB, free: 62.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003179/0.6413, allocations: 1.251 MB / 0.6569 GB, free: 60.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.6416, allocations: 386.6 kB / 0.6573 GB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.6416, allocations: 8 kB / 0.6573 GB, free: 60.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.6431, allocations: 357.2 kB / 0.6576 GB, free: 59.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.6443, allocations: 167.7 kB / 0.6578 GB, free: 59.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.6462, allocations: 1.451 MB / 0.6592 GB, free: 58.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.6475, allocations: 57.64 kB / 0.6593 GB, free: 58.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.6477, allocations: 39.98 kB / 0.6593 GB, free: 58.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6477, allocations: 4 kB / 0.6593 GB, free: 58.15 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002732/0.6504, allocations: 1.086 MB / 0.6604 GB, free: 57.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.6505, allocations: 12 kB / 0.6604 GB, free: 57.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.6516, allocations: 275.6 kB / 0.6606 GB, free: 56.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.6528, allocations: 159.7 kB / 0.6608 GB, free: 56.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.6555, allocations: 2.359 MB / 0.6631 GB, free: 54.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.6567, allocations: 51.92 kB / 0.6631 GB, free: 54.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.6569, allocations: 39.98 kB / 0.6632 GB, free: 54.02 MB / 362.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: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * 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.0007648/0.6577, allocations: 404.4 kB / 0.6636 GB, free: 53.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.6579, allocations: 79.06 kB / 0.6636 GB, free: 53.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.6609, allocations: 1.031 MB / 0.6646 GB, free: 52.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.6609, allocations: 7.984 kB / 0.6646 GB, free: 52.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6609, allocations: 1.781 kB / 0.6647 GB, free: 52.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/0.6615, allocations: 239.9 kB / 0.6649 GB, free: 52.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.6618, allocations: 19.95 kB / 0.6649 GB, free: 52.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/0.6626, allocations: 39.88 kB / 0.6649 GB, free: 52.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.6629, allocations: 44.38 kB / 0.665 GB, free: 52.11 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002966/0.6658, allocations: 1.078 MB / 0.666 GB, free: 51.01 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002802/0.6687, allocations: 1.4 MB / 0.6674 GB, free: 49.59 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007482/0.6695, allocations: 355.4 kB / 0.6677 GB, free: 49.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.6705, allocations: 0.5224 MB / 0.6682 GB, free: 48.73 MB / 362.7 MB Notification: Performance of Backend: time 5.92e-07/0.6706, allocations: 0 / 0.6682 GB, free: 48.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005898/0.6765, allocations: 1.767 MB / 0.67 GB, free: 46.93 MB / 362.7 MB Notification: Performance of SimCode: time 0.004379/0.6809, allocations: 2.519 MB / 0.6724 GB, free: 44.38 MB / 362.7 MB Notification: Performance of Templates: time 0.048/0.7289, allocations: 20.84 MB / 0.6928 GB, free: 23.93 MB / 362.7 MB