Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 110.2 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009018/0.0009019, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2202, allocations: 50.46 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.01604/0.2363, allocations: 22.61 MB / 429.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.2489, allocations: 10.46 MB / 440.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.2504, allocations: 43.69 kB / 440.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.2516, allocations: 346.1 kB / 440.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.255, allocations: 1.342 MB / 441.9 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005723/0.2607, allocations: 2.197 MB / 444.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00468/0.2654, allocations: 3.84 MB / 447.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.2666, allocations: 0.5595 MB / 448.5 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.2684, allocations: 0.8601 MB / 449.3 MB, free: 1.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.2699, allocations: 0.9732 MB / 450.3 MB, free: 468 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.2701, allocations: 48 kB / 450.3 MB, free: 420 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.2735, allocations: 1.7 MB / 452 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.2739, allocations: 319 kB / 452.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006439/0.2746, allocations: 497.6 kB / 452.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.278, allocations: 2.423 MB / 455.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.278, allocations: 0 / 455.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.278, allocations: 0 / 455.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.278, allocations: 0 / 455.3 MB, free: 11.47 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.003199/0.2812, allocations: 1.507 MB / 456.8 MB, free: 9.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2813, allocations: 8.031 kB / 456.8 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.2817, allocations: 114.8 kB / 456.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.2828, allocations: 0.6825 MB / 457.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.2829, allocations: 49.3 kB / 457.6 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.283, allocations: 59.98 kB / 457.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.2846, allocations: 1.064 MB / 458.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2846, allocations: 0 / 458.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.2847, allocations: 31.92 kB / 458.8 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-05/0.2848, allocations: 69.27 kB / 458.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.2863, allocations: 1.035 MB / 459.9 MB, free: 6.703 MB / 330.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.006253/0.2926, allocations: 4.426 MB / 464.3 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009657/0.2936, allocations: 0.5793 MB / 464.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.2941, allocations: 325.9 kB / 465.2 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002467/0.2965, allocations: 1.969 MB / 467.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2966, allocations: 42.89 kB / 467.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.2966, allocations: 0 / 467.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.004573/0.3012, allocations: 1.954 MB / 469.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3013, allocations: 162.2 kB / 469.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3026, allocations: 0.9312 MB / 470.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.3026, allocations: 37.7 kB / 470.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.303, allocations: 478.9 kB / 470.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.3031, allocations: 169.7 kB / 470.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.3034, allocations: 178.5 kB / 471.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3036, allocations: 345.9 kB / 471.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/0.3041, allocations: 332.6 kB / 471.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.3048, allocations: 0.6328 MB / 472.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3059, allocations: 0.8851 MB / 473.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3059, allocations: 0 / 473.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001825/0.3077, allocations: 1.132 MB / 474.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3077, allocations: 14.75 kB / 474.4 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3078, allocations: 8 kB / 474.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/0.3101, allocations: 377.8 kB / 474.8 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.3108, allocations: 175.7 kB / 475 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.3119, allocations: 1.351 MB / 476.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/0.3127, allocations: 47.95 kB / 476.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.3128, allocations: 51.97 kB / 476.4 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007791/0.3136, allocations: 0.5175 MB / 476.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007083/0.3143, allocations: 0.6229 MB / 477.6 MB, free: 3.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001114/0.3154, allocations: 0.8753 MB / 478.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.96e-06/0.3154, allocations: 7.938 kB / 478.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001686/0.3171, allocations: 1.093 MB / 479.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3172, allocations: 8 kB / 479.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3172, allocations: 8 kB / 479.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.3193, allocations: 337.4 kB / 479.9 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.3199, allocations: 179.7 kB / 480.1 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.321, allocations: 1.311 MB / 481.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/0.3218, allocations: 60.09 kB / 481.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/0.3218, allocations: 40 kB / 481.5 MB, free: 15.75 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: 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 (104): * Single equations (assignments): 102 * 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,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002748/0.3221, allocations: 241.5 kB / 481.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.3223, allocations: 98.88 kB / 481.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.3239, allocations: 0.7958 MB / 482.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3239, allocations: 4.234 kB / 482.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3239, allocations: 0 / 482.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3239, allocations: 4 kB / 482.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.3264, allocations: 1.591 MB / 484.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3264, allocations: 0 / 484.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.3267, allocations: 79.89 kB / 484.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.3282, allocations: 281.5 kB / 484.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.3282, allocations: 8 kB / 484.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008893/0.3291, allocations: 1.308 MB / 485.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3291, allocations: 0 / 485.9 MB, free: 11.22 MB / 362.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.2465/0.5756, allocations: 16.41 MB / 0.4905 GB, free: 10.52 MB / 378.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.