Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.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) 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(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_4.0.0_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_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.001042/0.001042, allocations: 93.67 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008692/0.0008692, allocations: 35.95 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2252, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.01576/0.241, allocations: 21.24 MB / 420.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008315/0.2493, allocations: 7.386 MB / 428.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.2508, allocations: 35.69 kB / 428.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.2519, allocations: 318.3 kB / 428.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.2545, allocations: 1.019 MB / 429.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.2583, allocations: 1.565 MB / 431 MB, free: 1.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.2614, allocations: 3.131 MB / 434.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008686/0.2623, allocations: 0.5066 MB / 434.7 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.2637, allocations: 0.7199 MB / 435.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.2648, allocations: 0.7706 MB / 436.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.2649, allocations: 44 kB / 436.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.2677, allocations: 1.221 MB / 437.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.2681, allocations: 259.1 kB / 437.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006659/0.2688, allocations: 433.8 kB / 438.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.2719, allocations: 1.852 MB / 440 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.272, allocations: 0 / 440 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.272, allocations: 7.938 kB / 440 MB, free: 8.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.272, allocations: 4 kB / 440 MB, free: 8.77 MB / 314.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.002686/0.2747, allocations: 1.266 MB / 441.2 MB, free: 7.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2748, allocations: 16.02 kB / 441.2 MB, free: 7.434 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/0.2751, allocations: 99.91 kB / 441.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009253/0.276, allocations: 0.5973 MB / 441.9 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.2761, allocations: 45.3 kB / 442 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.2762, allocations: 52 kB / 442 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2775, allocations: 0.8906 MB / 442.9 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.2775, allocations: 7.844 kB / 442.9 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.2776, allocations: 27.98 kB / 443 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/0.2777, allocations: 45.28 kB / 443 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.2789, allocations: 0.8169 MB / 443.8 MB, free: 4.766 MB / 314.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.004923/0.2838, allocations: 3.807 MB / 447.6 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/0.2848, allocations: 0.556 MB / 448.2 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.2852, allocations: 278 kB / 448.5 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/0.2856, allocations: 0.4991 MB / 449 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.2856, allocations: 43 kB / 449 MB, free: 15.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 2.745e-06/0.2857, allocations: 0 / 449 MB, free: 15.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.004548/0.2902, allocations: 2.124 MB / 451.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.2903, allocations: 133 kB / 451.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.2912, allocations: 0.7309 MB / 452 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.2913, allocations: 37.7 kB / 452 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.2915, allocations: 387.8 kB / 452.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.2917, allocations: 185.4 kB / 452.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.2919, allocations: 150.6 kB / 452.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2921, allocations: 386.8 kB / 453.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.2926, allocations: 312.7 kB / 453.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/0.2932, allocations: 0.5032 MB / 453.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.2943, allocations: 0.7817 MB / 454.7 MB, free: 9.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2943, allocations: 0 / 454.7 MB, free: 9.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001635/0.2959, allocations: 0.9991 MB / 455.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.296, allocations: 8 kB / 455.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.296, allocations: 12 kB / 455.7 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.2977, allocations: 294 kB / 456 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.2983, allocations: 151.7 kB / 456.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.2994, allocations: 1.304 MB / 457.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.3, allocations: 47.81 kB / 457.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.3001, allocations: 35.98 kB / 457.5 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007699/0.3008, allocations: 485.9 kB / 458 MB, free: 5.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005974/0.3015, allocations: 0.504 MB / 458.5 MB, free: 5.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009791/0.3025, allocations: 0.7513 MB / 459.3 MB, free: 4.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.566e-06/0.3025, allocations: 7.938 kB / 459.3 MB, free: 4.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001556/0.304, allocations: 0.9411 MB / 460.2 MB, free: 3.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3041, allocations: 12.16 kB / 460.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3041, allocations: 8 kB / 460.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.3052, allocations: 185.5 kB / 460.4 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.3059, allocations: 171.8 kB / 460.6 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007663/0.3067, allocations: 1.179 MB / 461.8 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.3073, allocations: 47.91 kB / 461.8 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.3074, allocations: 35.98 kB / 461.8 MB, free: 1.707 MB / 330.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.000269/0.3077, allocations: 232.1 kB / 462.1 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3079, allocations: 82.97 kB / 462.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.3097, allocations: 0.9787 MB / 463.1 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3098, allocations: 8 kB / 463.1 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3098, allocations: 0 / 463.1 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3098, allocations: 3.984 kB / 463.1 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.3126, allocations: 1.755 MB / 464.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3126, allocations: 0 / 464.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.3131, allocations: 103.8 kB / 465 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.3141, allocations: 241.5 kB / 465.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.3142, allocations: 24 kB / 465.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008691/0.3151, allocations: 1.265 MB / 466.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3151, allocations: 0 / 466.5 MB, free: 12.89 MB / 346.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.1278/0.4429, allocations: 11.18 MB / 477.7 MB, free: 1.438 MB / 346.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.