Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.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.TankWithEmptyingPipe2,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.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_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 10.96 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.0009942/0.0009941, allocations: 101.9 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008618/0.000862, allocations: 39.95 kB / 350 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2632, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.01628/0.2796, allocations: 22.57 MB / 422 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.2903, allocations: 10.43 MB / 432.5 MB, free: 252 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2915, allocations: 39.69 kB / 432.5 MB, free: 212 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.2924, allocations: 354.2 kB / 432.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.2954, allocations: 1.33 MB / 434.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006105/0.3015, allocations: 2.235 MB / 436.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.3059, allocations: 3.817 MB / 440.2 MB, free: 8.473 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.307, allocations: 0.5712 MB / 440.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.3086, allocations: 0.8445 MB / 441.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.3099, allocations: 0.981 MB / 442.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.31, allocations: 48 kB / 442.7 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.3131, allocations: 1.673 MB / 444.4 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003639/0.3135, allocations: 327 kB / 444.7 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000604/0.3141, allocations: 0.4897 MB / 445.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.3175, allocations: 2.419 MB / 447.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3175, allocations: 0 / 447.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3175, allocations: 0 / 447.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3175, allocations: 0 / 447.6 MB, free: 1.098 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.003038/0.3206, allocations: 1.499 MB / 449.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3206, allocations: 8.031 kB / 449.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.321, allocations: 114.7 kB / 449.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3221, allocations: 0.6825 MB / 449.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.3222, allocations: 49.3 kB / 449.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.3223, allocations: 59.98 kB / 450 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.3239, allocations: 1.064 MB / 451.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.3239, allocations: 3.984 kB / 451.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-05/0.324, allocations: 35.91 kB / 451.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/0.3241, allocations: 65.28 kB / 451.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.3257, allocations: 1.032 MB / 452.2 MB, free: 12.33 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.006355/0.332, allocations: 4.43 MB / 456.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.333, allocations: 0.5709 MB / 457.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/0.3335, allocations: 318 kB / 457.5 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002595/0.3361, allocations: 1.973 MB / 459.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.3361, allocations: 38.89 kB / 459.5 MB, free: 4.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.783e-06/0.3361, allocations: 0 / 459.5 MB, free: 4.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.004448/0.3406, allocations: 1.958 MB / 461.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.3407, allocations: 162.2 kB / 461.6 MB, free: 2.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3419, allocations: 0.9273 MB / 462.6 MB, free: 1.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.3419, allocations: 41.69 kB / 462.6 MB, free: 1.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.3423, allocations: 482.9 kB / 463.1 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3424, allocations: 165.7 kB / 463.2 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.3427, allocations: 182.5 kB / 463.4 MB, free: 448 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3428, allocations: 349.9 kB / 463.8 MB, free: 92 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005574/0.3434, allocations: 332.7 kB / 464.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/0.3441, allocations: 0.6289 MB / 464.7 MB, free: 15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.3452, allocations: 0.8812 MB / 465.6 MB, free: 14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3452, allocations: 8 kB / 465.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001805/0.347, allocations: 1.128 MB / 466.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3471, allocations: 11.94 kB / 466.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3471, allocations: 8.047 kB / 466.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/0.3494, allocations: 385.5 kB / 467.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.3501, allocations: 179.7 kB / 467.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.3512, allocations: 1.339 MB / 468.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.352, allocations: 56.03 kB / 468.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.3521, allocations: 40 kB / 468.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007559/0.3529, allocations: 0.5214 MB / 469.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007129/0.3536, allocations: 0.6189 MB / 469.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001089/0.3547, allocations: 0.8753 MB / 470.7 MB, free: 8.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.58e-06/0.3547, allocations: 4 kB / 470.7 MB, free: 8.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001667/0.3564, allocations: 1.097 MB / 471.8 MB, free: 7.383 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3564, allocations: 9.094 kB / 471.9 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3564, allocations: 8.812 kB / 471.9 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.3585, allocations: 337.3 kB / 472.2 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.3592, allocations: 187.6 kB / 472.4 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.3602, allocations: 1.308 MB / 473.7 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/0.361, allocations: 56.09 kB / 473.7 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.361, allocations: 47.98 kB / 473.8 MB, free: 5.387 MB / 346.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.0002511/0.3613, allocations: 245.6 kB / 474 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.3615, allocations: 94.88 kB / 474.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.3631, allocations: 0.7897 MB / 474.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3631, allocations: 4 kB / 474.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3631, allocations: 0 / 474.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3631, allocations: 3.984 kB / 474.9 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.3654, allocations: 1.591 MB / 476.5 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3655, allocations: 4 kB / 476.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.3658, allocations: 79.89 kB / 476.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.3672, allocations: 277.5 kB / 476.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.3673, allocations: 15.98 kB / 476.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008566/0.3681, allocations: 1.3 MB / 478.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3681, allocations: 0 / 478.2 MB, free: 0.8477 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.2204/0.5886, allocations: 16.16 MB / 494.3 MB, free: 420 kB / 362.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.