Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001116, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 97.67 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3161/0.3161, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009997/0.0009999, allocations: 47.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1009, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01553/0.1165, allocations: 17.22 MB / 0.4924 GB, free: 11.26 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008703/0.1252, allocations: 7.243 MB / 0.4995 GB, free: 3.996 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008063/0.1261, allocations: 31.75 kB / 0.4995 GB, free: 3.965 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008677/0.127, allocations: 346.3 kB / 0.4998 GB, free: 3.625 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.1289, allocations: 0.9374 MB / 0.5008 GB, free: 2.684 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.133, allocations: 1.668 MB / 0.5024 GB, free: 1.012 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.197/0.3301, allocations: 3.075 MB / 0.5054 GB, free: 38.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.3314, allocations: 0.5725 MB / 0.5059 GB, free: 38.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.3332, allocations: 0.7497 MB / 0.5067 GB, free: 38.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.3348, allocations: 0.836 MB / 0.5075 GB, free: 38.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.335, allocations: 45.25 kB / 0.5075 GB, free: 38.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.3374, allocations: 1.28 MB / 0.5088 GB, free: 38.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.3378, allocations: 300.6 kB / 0.5091 GB, free: 38.31 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.3384, allocations: 458.9 kB / 0.5095 GB, free: 38.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.3408, allocations: 1.93 MB / 0.5114 GB, free: 38.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3408, allocations: 0 / 0.5114 GB, free: 38.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3409, allocations: 0 / 0.5114 GB, free: 38.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3409, allocations: 0 / 0.5114 GB, free: 38.04 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.002391/0.3433, allocations: 1.404 MB / 0.5128 GB, free: 37.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3433, allocations: 11.53 kB / 0.5128 GB, free: 37.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.3437, allocations: 108.2 kB / 0.5129 GB, free: 37.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.3445, allocations: 0.6227 MB / 0.5135 GB, free: 36.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.3446, allocations: 110.3 kB / 0.5136 GB, free: 36.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.3447, allocations: 53.62 kB / 0.5136 GB, free: 36.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.346, allocations: 1.011 MB / 0.5146 GB, free: 36.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.346, allocations: 4.219 kB / 0.5146 GB, free: 36.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.3461, allocations: 27.38 kB / 0.5147 GB, free: 36.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/0.3461, allocations: 52.22 kB / 0.5147 GB, free: 36.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.3474, allocations: 0.9148 MB / 0.5156 GB, free: 36.68 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.004977/0.3524, allocations: 4.063 MB / 0.5196 GB, free: 34.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.3532, allocations: 0.6519 MB / 0.5202 GB, free: 34.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.3537, allocations: 404.5 kB / 0.5206 GB, free: 34.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002539/0.3563, allocations: 2.346 MB / 0.5229 GB, free: 33.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006324/0.3569, allocations: 0.5078 MB / 0.5234 GB, free: 33.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.3569, allocations: 1.688 kB / 0.5234 GB, free: 33.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.004644/0.3616, allocations: 2.607 MB / 0.5259 GB, free: 32.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.3617, allocations: 242.5 kB / 0.5262 GB, free: 31.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.3625, allocations: 0.8451 MB / 0.527 GB, free: 31.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.3626, allocations: 39.83 kB / 0.527 GB, free: 31.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.3628, allocations: 418.6 kB / 0.5274 GB, free: 31.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3629, allocations: 170.7 kB / 0.5276 GB, free: 31.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.3632, allocations: 168.3 kB / 0.5278 GB, free: 30.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.3632, allocations: 342.1 kB / 0.5281 GB, free: 30.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.3637, allocations: 379.3 kB / 0.5284 GB, free: 30.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.3643, allocations: 0.6076 MB / 0.529 GB, free: 30.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/0.3653, allocations: 0.9722 MB / 0.53 GB, free: 29.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3653, allocations: 1.375 kB / 0.53 GB, free: 29.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001852/0.3672, allocations: 1.274 MB / 0.5312 GB, free: 29.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.3672, allocations: 41.86 kB / 0.5313 GB, free: 29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3672, allocations: 5.875 kB / 0.5313 GB, free: 29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009919/0.3682, allocations: 365.9 kB / 0.5316 GB, free: 28.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.3688, allocations: 152.2 kB / 0.5318 GB, free: 28.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.37, allocations: 1.457 MB / 0.5332 GB, free: 27.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.3708, allocations: 47.53 kB / 0.5332 GB, free: 27.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.3708, allocations: 37.5 kB / 0.5333 GB, free: 27.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007236/0.3716, allocations: 0.5665 MB / 0.5338 GB, free: 27.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006673/0.3722, allocations: 0.6176 MB / 0.5344 GB, free: 27.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00106/0.3733, allocations: 0.9685 MB / 0.5354 GB, free: 26.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.3733, allocations: 3.031 kB / 0.5354 GB, free: 26.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.001761/0.3751, allocations: 1.261 MB / 0.5366 GB, free: 25.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3751, allocations: 42.22 kB / 0.5366 GB, free: 25.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3752, allocations: 6.156 kB / 0.5367 GB, free: 25.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/0.3758, allocations: 343.2 kB / 0.537 GB, free: 25.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.3763, allocations: 152.6 kB / 0.5371 GB, free: 25.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009393/0.3773, allocations: 1.441 MB / 0.5385 GB, free: 24.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.378, allocations: 43.89 kB / 0.5386 GB, free: 24.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.3781, allocations: 38.95 kB / 0.5386 GB, free: 24.62 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.0003248/0.3785, allocations: 274 kB / 0.5389 GB, free: 24.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3786, allocations: 89.88 kB / 0.539 GB, free: 24.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.3803, allocations: 1.089 MB / 0.54 GB, free: 23.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3803, allocations: 6.625 kB / 0.54 GB, free: 23.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3804, allocations: 7.328 kB / 0.54 GB, free: 23.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3804, allocations: 2.344 kB / 0.54 GB, free: 23.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.3828, allocations: 1.951 MB / 0.5419 GB, free: 23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3829, allocations: 7.922 kB / 0.542 GB, free: 22.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.3832, allocations: 85.48 kB / 0.542 GB, free: 22.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007382/0.384, allocations: 349.2 kB / 0.5424 GB, free: 22.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.384, allocations: 25.17 kB / 0.5424 GB, free: 22.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00092/0.385, allocations: 1.437 MB / 0.5438 GB, free: 21.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.385, allocations: 3.219 kB / 0.5438 GB, free: 21.7 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.1481/0.5331, allocations: 20.18 MB / 0.5635 GB, free: 14.91 MB / 394.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.