Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.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.TankWithEmptyingPipe1,tolerance=1e-07,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.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-07,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.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, 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.375/1.375, 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.001059/0.001059, allocations: 115.4 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 47.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2225, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.01629/0.2388, allocations: 21.29 MB / 428.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009712/0.2486, allocations: 7.395 MB / 435.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.2499, allocations: 35.69 kB / 435.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.2512, allocations: 326.2 kB / 436.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.254, allocations: 1.031 MB / 437.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.2581, allocations: 1.557 MB / 438.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003345/0.2615, allocations: 3.146 MB / 441.8 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.2623, allocations: 0.4989 MB / 442.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.2637, allocations: 0.716 MB / 443 MB, free: 7.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.2649, allocations: 0.7745 MB / 443.8 MB, free: 6.953 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.265, allocations: 44 kB / 443.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.2677, allocations: 1.24 MB / 445.1 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.268, allocations: 255.2 kB / 445.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005849/0.2686, allocations: 429.9 kB / 445.8 MB, free: 4.996 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.2715, allocations: 1.868 MB / 447.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2715, allocations: 0 / 447.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2715, allocations: 4 kB / 447.6 MB, free: 3.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.2715, allocations: 0 / 447.6 MB, free: 3.121 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.002357/0.2739, allocations: 1.274 MB / 448.9 MB, free: 1.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.274, allocations: 16.02 kB / 448.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.2743, allocations: 103.8 kB / 449 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.2752, allocations: 0.5934 MB / 449.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.2753, allocations: 41.31 kB / 449.7 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-05/0.2754, allocations: 63.89 kB / 449.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.2767, allocations: 0.8868 MB / 450.6 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.2768, allocations: 3.938 kB / 450.6 MB, free: 0 / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.2768, allocations: 28.05 kB / 450.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.2769, allocations: 49.28 kB / 450.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2782, allocations: 0.8091 MB / 451.5 MB, free: 15.11 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.00492/0.2831, allocations: 3.831 MB / 455.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/0.284, allocations: 0.5382 MB / 455.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.2844, allocations: 278 kB / 456.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.2848, allocations: 0.5034 MB / 456.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2848, allocations: 43 kB / 456.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 1.854e-06/0.2848, allocations: 0 / 456.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.004297/0.2891, allocations: 2.124 MB / 458.8 MB, free: 7.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.2892, allocations: 137 kB / 458.9 MB, free: 7.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.29, allocations: 0.7269 MB / 459.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.2901, allocations: 37.7 kB / 459.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.2904, allocations: 387.9 kB / 460.1 MB, free: 6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.2905, allocations: 181.4 kB / 460.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.2907, allocations: 150.6 kB / 460.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2909, allocations: 382.8 kB / 460.8 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.2914, allocations: 316.7 kB / 461.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.2921, allocations: 0.5148 MB / 461.6 MB, free: 4.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.2932, allocations: 0.77 MB / 462.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2932, allocations: 0 / 462.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001601/0.2948, allocations: 0.9989 MB / 463.4 MB, free: 2.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2948, allocations: 10.97 kB / 463.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2949, allocations: 4.781 kB / 463.4 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.2965, allocations: 297.3 kB / 463.7 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.2971, allocations: 143.8 kB / 463.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.2982, allocations: 1.308 MB / 465.1 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.2988, allocations: 51.75 kB / 465.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.2989, allocations: 35.98 kB / 465.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007207/0.2996, allocations: 483.6 kB / 465.7 MB, free: 140 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006249/0.3002, allocations: 0.5079 MB / 466.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009971/0.3013, allocations: 0.7514 MB / 467 MB, free: 14.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.182e-06/0.3013, allocations: 0 / 467 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001557/0.3028, allocations: 0.9488 MB / 467.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3029, allocations: 11.98 kB / 467.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.3029, allocations: 8 kB / 467.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.3039, allocations: 181.6 kB / 468.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.3046, allocations: 167.7 kB / 468.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007359/0.3054, allocations: 1.179 MB / 469.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.306, allocations: 47.91 kB / 469.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.306, allocations: 39.98 kB / 469.5 MB, free: 12.05 MB / 346.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.0002314/0.3063, allocations: 232.1 kB / 469.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.3064, allocations: 82.97 kB / 469.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.3082, allocations: 0.9797 MB / 470.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.3082, allocations: 8 kB / 470.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3083, allocations: 0 / 470.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3083, allocations: 3.984 kB / 470.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.3111, allocations: 1.751 MB / 472.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3111, allocations: 0 / 472.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.3115, allocations: 103.9 kB / 472.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.3126, allocations: 241.6 kB / 472.9 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.3127, allocations: 12 kB / 472.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008785/0.3136, allocations: 1.276 MB / 474.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3136, allocations: 3.938 kB / 474.2 MB, free: 7.242 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.1263/0.4399, allocations: 11.33 MB / 485.5 MB, free: 11.64 MB / 362.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.