Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") 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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 110.6 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3152/0.3152, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.0011, allocations: 59.91 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3381, allocations: 60.8 MB / 0.5064 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01392/0.3521, allocations: 17.22 MB / 0.5232 GB, free: 26.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.3626, allocations: 7.276 MB / 0.5303 GB, free: 21.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.364, allocations: 27.59 kB / 0.5303 GB, free: 21.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.365, allocations: 347.1 kB / 0.5307 GB, free: 20.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.3674, allocations: 0.9555 MB / 0.5316 GB, free: 20.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.3717, allocations: 1.673 MB / 0.5332 GB, free: 19.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00297/0.3747, allocations: 3.079 MB / 0.5362 GB, free: 18.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.3757, allocations: 0.5734 MB / 0.5368 GB, free: 18.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.3772, allocations: 0.741 MB / 0.5375 GB, free: 18.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.3786, allocations: 0.8399 MB / 0.5383 GB, free: 17.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.3788, allocations: 45.72 kB / 0.5384 GB, free: 17.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.3813, allocations: 1.281 MB / 0.5396 GB, free: 17.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.3816, allocations: 306.4 kB / 0.5399 GB, free: 17.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005455/0.3822, allocations: 463.7 kB / 0.5404 GB, free: 17.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.3846, allocations: 1.943 MB / 0.5423 GB, free: 16.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3846, allocations: 0 / 0.5423 GB, free: 16.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3846, allocations: 0 / 0.5423 GB, free: 16.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3846, allocations: 0 / 0.5423 GB, free: 16.52 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00263/0.3872, allocations: 1.383 MB / 0.5436 GB, free: 15.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3873, allocations: 13.22 kB / 0.5436 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.3877, allocations: 110 kB / 0.5437 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009442/0.3886, allocations: 0.6254 MB / 0.5443 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.3887, allocations: 110.5 kB / 0.5445 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3889, allocations: 56.84 kB / 0.5445 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.3904, allocations: 1.019 MB / 0.5455 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.3905, allocations: 0.75 kB / 0.5455 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.3906, allocations: 25.38 kB / 0.5455 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/0.3906, allocations: 48.05 kB / 0.5456 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.3922, allocations: 0.9151 MB / 0.5465 GB, free: 14.24 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.006142/0.3984, allocations: 4.081 MB / 0.5505 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.3996, allocations: 0.6454 MB / 0.5511 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.4002, allocations: 403.5 kB / 0.5515 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003122/0.4034, allocations: 2.339 MB / 0.5538 GB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007747/0.4042, allocations: 0.4986 MB / 0.5542 GB, free: 9.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.194e-06/0.4042, allocations: 0 / 0.5542 GB, free: 9.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.005528/0.4097, allocations: 2.616 MB / 0.5568 GB, free: 7.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.4098, allocations: 245 kB / 0.557 GB, free: 7.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.411, allocations: 0.843 MB / 0.5579 GB, free: 7.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.4111, allocations: 37.89 kB / 0.5579 GB, free: 7.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.4114, allocations: 419 kB / 0.5583 GB, free: 6.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.4115, allocations: 178.9 kB / 0.5585 GB, free: 6.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.4118, allocations: 169.2 kB / 0.5586 GB, free: 6.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.412, allocations: 336.7 kB / 0.5589 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.4126, allocations: 378.6 kB / 0.5593 GB, free: 6.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/0.4134, allocations: 0.6177 MB / 0.5599 GB, free: 5.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.4147, allocations: 0.9599 MB / 0.5608 GB, free: 4.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4147, allocations: 2.219 kB / 0.5608 GB, free: 4.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00219/0.4169, allocations: 1.279 MB / 0.5621 GB, free: 4.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.417, allocations: 46.28 kB / 0.5621 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.417, allocations: 5.562 kB / 0.5621 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.4181, allocations: 359.6 kB / 0.5625 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.4188, allocations: 148.6 kB / 0.5626 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.4199, allocations: 1.461 MB / 0.5641 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.4207, allocations: 38.89 kB / 0.5641 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.4208, allocations: 40.55 kB / 0.5641 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008577/0.4216, allocations: 0.5693 MB / 0.5647 GB, free: 2.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007997/0.4224, allocations: 0.6164 MB / 0.5653 GB, free: 1.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001247/0.4237, allocations: 0.9606 MB / 0.5662 GB, free: 1.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/0.4237, allocations: 5.375 kB / 0.5662 GB, free: 1.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.001909/0.4256, allocations: 1.267 MB / 0.5675 GB, free: 200 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.4257, allocations: 41.69 kB / 0.5675 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.4257, allocations: 8 kB / 0.5675 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/0.4264, allocations: 337.8 kB / 0.5678 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.427, allocations: 155.7 kB / 0.568 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.4282, allocations: 1.436 MB / 0.5694 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.4289, allocations: 47.83 kB / 0.5694 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.429, allocations: 35.98 kB / 0.5695 GB, free: 14.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003378/0.4293, allocations: 275.5 kB / 0.5697 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4295, allocations: 90.95 kB / 0.5698 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.4315, allocations: 1.103 MB / 0.5709 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4315, allocations: 4 kB / 0.5709 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4316, allocations: 3.984 kB / 0.5709 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4316, allocations: 4 kB / 0.5709 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.4345, allocations: 1.952 MB / 0.5728 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4345, allocations: 0 / 0.5728 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.435, allocations: 87.83 kB / 0.5729 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008784/0.4358, allocations: 357.4 kB / 0.5732 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.4359, allocations: 8 kB / 0.5732 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.4372, allocations: 1.44 MB / 0.5747 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4372, allocations: 4.031 kB / 0.5747 GB, free: 8.609 MB / 394.7 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.16/0.5972, allocations: 20.18 MB / 0.5944 GB, free: 4.141 MB / 410.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.