Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 105.9 kB / 16.5 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 51.91 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1059, allocations: 46.64 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.02039/0.1263, allocations: 21.23 MB / 347.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.1378, allocations: 7.32 MB / 354.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.1395, allocations: 31.75 kB / 354.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1406, allocations: 330.2 kB / 354.9 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.1433, allocations: 1.023 MB / 355.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.1473, allocations: 1.555 MB / 357.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.1504, allocations: 3.134 MB / 360.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006671/0.1511, allocations: 0.5028 MB / 361.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1521, allocations: 0.7198 MB / 361.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009024/0.1531, allocations: 0.759 MB / 362.6 MB, free: 140 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.1532, allocations: 51.92 kB / 362.6 MB, free: 88 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.1555, allocations: 1.221 MB / 363.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.1558, allocations: 259.1 kB / 364.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.1563, allocations: 429.9 kB / 364.5 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.1585, allocations: 1.851 MB / 366.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1585, allocations: 0 / 366.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1585, allocations: 0 / 366.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1585, allocations: 0 / 366.4 MB, free: 12.33 MB / 318.1 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.0025/0.161, allocations: 1.278 MB / 367.6 MB, free: 11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1611, allocations: 8.031 kB / 367.6 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.1615, allocations: 103.9 kB / 367.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/0.1623, allocations: 0.5932 MB / 368.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.1624, allocations: 45.3 kB / 368.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.1625, allocations: 63.98 kB / 368.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1638, allocations: 0.8867 MB / 369.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1638, allocations: 3.906 kB / 369.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.1639, allocations: 24 kB / 369.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.767e-05/0.164, allocations: 45.28 kB / 369.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.1653, allocations: 0.8091 MB / 370.2 MB, free: 8.336 MB / 318.1 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.004826/0.1701, allocations: 3.834 MB / 374 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/0.1711, allocations: 0.5353 MB / 374.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.1715, allocations: 274 kB / 374.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00037/0.1719, allocations: 0.5034 MB / 375.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1719, allocations: 47 kB / 375.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.1719, allocations: 0 / 375.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=52): time 0.004518/0.1765, allocations: 2.124 MB / 377.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.1766, allocations: 141 kB / 377.7 MB, free: 384 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1427/0.3193, allocations: 0.7225 MB / 378.4 MB, free: 55.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.3194, allocations: 37.2 kB / 378.4 MB, free: 55.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3197, allocations: 376.8 kB / 378.8 MB, free: 55.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.3198, allocations: 188.2 kB / 379 MB, free: 55.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.3201, allocations: 150.1 kB / 379.1 MB, free: 55.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.3202, allocations: 392.2 kB / 379.5 MB, free: 55.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/0.3207, allocations: 310 kB / 379.8 MB, free: 55.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.3213, allocations: 0.5098 MB / 380.3 MB, free: 55.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.3224, allocations: 0.7747 MB / 381.1 MB, free: 54.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3224, allocations: 2.031 kB / 381.1 MB, free: 54.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001496/0.3239, allocations: 0.9952 MB / 382.1 MB, free: 54.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3239, allocations: 8.734 kB / 382.1 MB, free: 54.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.324, allocations: 5.438 kB / 382.1 MB, free: 54.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.3256, allocations: 298.3 kB / 382.4 MB, free: 54.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.3261, allocations: 152.6 kB / 382.5 MB, free: 54.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008372/0.3269, allocations: 1.302 MB / 383.8 MB, free: 53.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.3275, allocations: 49.88 kB / 383.9 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.3276, allocations: 41.67 kB / 383.9 MB, free: 53.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006588/0.3283, allocations: 478.3 kB / 384.4 MB, free: 52.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005818/0.3289, allocations: 0.5054 MB / 384.9 MB, free: 52.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009614/0.3298, allocations: 0.7533 MB / 385.7 MB, free: 51.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.3299, allocations: 2.031 kB / 385.7 MB, free: 51.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001547/0.3314, allocations: 0.9476 MB / 386.6 MB, free: 51.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3314, allocations: 10.16 kB / 386.6 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3314, allocations: 5.812 kB / 386.6 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.3325, allocations: 180.1 kB / 386.8 MB, free: 51.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.3332, allocations: 168.3 kB / 387 MB, free: 51.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005463/0.3338, allocations: 1.189 MB / 388.2 MB, free: 50.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.3343, allocations: 46.45 kB / 388.2 MB, free: 50.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.3344, allocations: 33.36 kB / 388.2 MB, free: 50.4 MB / 318.1 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.0002288/0.3346, allocations: 237.4 kB / 388.5 MB, free: 50.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3348, allocations: 81.53 kB / 388.5 MB, free: 50.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.3365, allocations: 0.971 MB / 389.5 MB, free: 49.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.3365, allocations: 18.77 kB / 389.5 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3366, allocations: 0 / 389.5 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3366, allocations: 4.703 kB / 389.5 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.3391, allocations: 1.753 MB / 391.3 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3391, allocations: 1.094 kB / 391.3 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.3396, allocations: 104.1 kB / 391.4 MB, free: 48.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.3406, allocations: 239.2 kB / 391.6 MB, free: 48.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.3407, allocations: 17.81 kB / 391.6 MB, free: 48.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007055/0.3414, allocations: 1.27 MB / 392.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3414, allocations: 1.156 kB / 392.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.3431, allocations: 1.311 MB / 394.2 MB, free: 47.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3433, allocations: 163.1 kB / 394.4 MB, free: 46.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.3434, allocations: 25.12 kB / 394.4 MB, free: 46.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.3439, allocations: 39 kB / 394.4 MB, free: 46.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.344, allocations: 53.25 kB / 394.5 MB, free: 46.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.3441, allocations: 33.7 kB / 394.5 MB, free: 46.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005669/0.3447, allocations: 0.5086 MB / 395 MB, free: 46.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3447, allocations: 5.312 kB / 395 MB, free: 46.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001506/0.3462, allocations: 0.5954 MB / 395.6 MB, free: 46.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009691/0.3472, allocations: 0.4937 MB / 396.1 MB, free: 46.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.3491, allocations: 1.201 MB / 397.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3491, allocations: 3.938 kB / 397.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.3497, allocations: 400.9 kB / 397.7 MB, free: 45.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.3514, allocations: 398.6 kB / 398.1 MB, free: 45.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3535, allocations: 1.88 MB / 400 MB, free: 44.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3538, allocations: 0.9902 MB / 401 MB, free: 43.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009011/0.3547, allocations: 328.5 kB / 401.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3549, allocations: 75.42 kB / 401.4 MB, free: 43.23 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3549, allocations: 0 / 401.4 MB, free: 43.23 MB / 318.1 MB Notification: Performance of Templates: time 0.02499/0.3799, allocations: 21.9 MB / 423.3 MB, free: 21.32 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1)