Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.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) 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(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 183 kB / 17.91 MB, free: 3.855 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.253/1.253, allocations: 205.1 MB / 223.8 MB, free: 8.496 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.001002/0.001002, allocations: 107.5 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007651/0.0007651, allocations: 43.92 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2047, allocations: 46.62 MB / 373.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.01507/0.2198, allocations: 21.23 MB / 395.1 MB, free: 28.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007163/0.227, allocations: 7.328 MB / 402.4 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008815/0.2279, allocations: 31.75 kB / 402.4 MB, free: 20.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.2288, allocations: 330.2 kB / 402.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.2306, allocations: 1.019 MB / 403.8 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.2335, allocations: 1.559 MB / 405.3 MB, free: 17.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.2354, allocations: 3.134 MB / 408.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.2362, allocations: 0.5158 MB / 409 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.2374, allocations: 0.7199 MB / 409.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009513/0.2383, allocations: 0.7628 MB / 410.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.2385, allocations: 47.98 kB / 410.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.2402, allocations: 1.217 MB / 411.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.2405, allocations: 259.1 kB / 412 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.2409, allocations: 429.9 kB / 412.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.2428, allocations: 1.854 MB / 414.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2428, allocations: 0 / 414.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2428, allocations: 0 / 414.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.2428, allocations: 0 / 414.2 MB, free: 9.012 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002234/0.2451, allocations: 1.278 MB / 415.5 MB, free: 7.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2451, allocations: 12.03 kB / 415.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.2454, allocations: 99.91 kB / 415.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007587/0.2462, allocations: 0.5971 MB / 416.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.2462, allocations: 41.31 kB / 416.3 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.2463, allocations: 63.92 kB / 416.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2473, allocations: 0.8867 MB / 417.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.2474, allocations: 4 kB / 417.2 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.2474, allocations: 24 kB / 417.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.2475, allocations: 45.28 kB / 417.3 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009635/0.2485, allocations: 0.8091 MB / 418.1 MB, free: 5.016 MB / 298.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.003684/0.2522, allocations: 3.839 MB / 421.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.2528, allocations: 0.5431 MB / 422.5 MB, free: 380 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.2532, allocations: 278 kB / 422.7 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.2535, allocations: 0.4995 MB / 423.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2535, allocations: 39 kB / 423.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 1.482e-06/0.2535, allocations: 0 / 423.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.003926/0.2575, allocations: 2.128 MB / 425.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.2575, allocations: 137 kB / 425.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.2583, allocations: 0.7269 MB / 426.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.2583, allocations: 37.7 kB / 426.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.2586, allocations: 380 kB / 426.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.2587, allocations: 185.4 kB / 426.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.259, allocations: 150.6 kB / 427 MB, free: 11.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2591, allocations: 394.8 kB / 427.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.2596, allocations: 308.7 kB / 427.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/0.2603, allocations: 0.5109 MB / 428.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.2614, allocations: 0.7739 MB / 429 MB, free: 9.414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2614, allocations: 0 / 429 MB, free: 9.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001473/0.2629, allocations: 0.9994 MB / 430 MB, free: 8.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2629, allocations: 8 kB / 430 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2629, allocations: 4 kB / 430 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.2644, allocations: 293.8 kB / 430.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.2649, allocations: 151.7 kB / 430.4 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009514/0.2658, allocations: 1.307 MB / 431.7 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.2664, allocations: 48.09 kB / 431.8 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.2665, allocations: 31.98 kB / 431.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006344/0.2671, allocations: 481.9 kB / 432.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005618/0.2677, allocations: 0.5118 MB / 432.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009374/0.2686, allocations: 0.7513 MB / 433.5 MB, free: 4.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.2687, allocations: 0 / 433.5 MB, free: 4.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001424/0.2701, allocations: 0.9443 MB / 434.5 MB, free: 3.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2701, allocations: 12.06 kB / 434.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2701, allocations: 11.92 kB / 434.5 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009819/0.2711, allocations: 181.5 kB / 434.7 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.2717, allocations: 167.7 kB / 434.9 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007629/0.2725, allocations: 1.191 MB / 436 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.273, allocations: 55.91 kB / 436.1 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.2731, allocations: 31.98 kB / 436.1 MB, free: 1.941 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 6 (tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002911/0.2734, allocations: 224.7 kB / 436.4 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2735, allocations: 83.06 kB / 436.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.2754, allocations: 0.9907 MB / 437.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.2755, allocations: 4 kB / 437.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2755, allocations: 0 / 437.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.2755, allocations: 3.984 kB / 437.4 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.2782, allocations: 1.755 MB / 439.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2782, allocations: 0 / 439.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.2786, allocations: 103.8 kB / 439.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009516/0.2796, allocations: 241.6 kB / 439.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.2796, allocations: 16 kB / 439.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008094/0.2804, allocations: 1.272 MB / 440.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2804, allocations: 0 / 440.8 MB, free: 13.11 MB / 330.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.113/0.3935, allocations: 11.2 MB / 452 MB, free: 1.602 MB / 330.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.