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.001012/0.001012, allocations: 94.88 kB / 16.3 MB, free: 5.531 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.001151/0.001151, allocations: 180.9 kB / 17.2 MB, free: 5.465 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.472/1.472, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004918/0.000492, allocations: 8 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09767, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.0203/0.118, allocations: 17.73 MB / 345.4 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00898/0.127, allocations: 6.223 MB / 351.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009292/0.128, allocations: 31.75 kB / 351.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009559/0.129, allocations: 310.4 kB / 352 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.1313, allocations: 0.9035 MB / 352.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.1351, allocations: 1.419 MB / 354.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.137, allocations: 1.211 MB / 355.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.1377, allocations: 0.4941 MB / 356 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.1388, allocations: 0.6387 MB / 356.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.1395, allocations: 0.4943 MB / 357.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1396, allocations: 40 kB / 357.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.1417, allocations: 1.112 MB / 358.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.142, allocations: 227.3 kB / 358.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1422, allocations: 185.3 kB / 358.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.1437, allocations: 1.337 MB / 360 MB, free: 3.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1437, allocations: 0 / 360 MB, free: 3.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1438, allocations: 4 kB / 360 MB, free: 3.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1438, allocations: 0 / 360 MB, free: 3.652 MB / 302.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.002139/0.1459, allocations: 1.118 MB / 361.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.146, allocations: 8.031 kB / 361.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.1463, allocations: 106.9 kB / 361.3 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.1472, allocations: 0.5778 MB / 361.8 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.1473, allocations: 41.31 kB / 361.9 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.1474, allocations: 55.98 kB / 361.9 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1487, allocations: 0.8751 MB / 362.8 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1487, allocations: 3.938 kB / 362.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/0.1488, allocations: 27.98 kB / 362.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/0.1489, allocations: 49.25 kB / 362.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1501, allocations: 0.8092 MB / 363.7 MB, free: 15.84 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.005008/0.1551, allocations: 3.846 MB / 367.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009349/0.1561, allocations: 0.5363 MB / 368.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/0.1565, allocations: 0.5069 MB / 368.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1565, allocations: 42.94 kB / 368.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.1566, allocations: 0 / 368.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=52): time 0.00429/0.1608, allocations: 2.121 MB / 370.8 MB, free: 8.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.161, allocations: 140.9 kB / 370.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/0.1619, allocations: 0.723 MB / 371.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.1619, allocations: 41.69 kB / 371.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1622, allocations: 380 kB / 372 MB, free: 6.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.1624, allocations: 181.4 kB / 372.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1624, allocations: 16 kB / 372.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1626, allocations: 394.7 kB / 372.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.1631, allocations: 289.8 kB / 372.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.1637, allocations: 0.4992 MB / 373.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.1642, allocations: 354 kB / 373.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1642, allocations: 4 kB / 373.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001593/0.1658, allocations: 0.9878 MB / 374.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009618/0.1668, allocations: 2.27 MB / 377 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.1668, allocations: 4 kB / 377 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.1685, allocations: 301.4 kB / 377.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.169, allocations: 155.7 kB / 377.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1773/0.3464, allocations: 1.296 MB / 378.7 MB, free: 53.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009721/0.3474, allocations: 52.17 kB / 378.8 MB, free: 53.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.3475, allocations: 35.52 kB / 378.8 MB, free: 53.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3475, allocations: 5.016 kB / 378.8 MB, free: 53.18 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001547/0.3491, allocations: 0.8411 MB / 379.7 MB, free: 53.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3491, allocations: 7.531 kB / 379.7 MB, free: 53.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.3503, allocations: 184.1 kB / 379.9 MB, free: 53.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.3511, allocations: 171.9 kB / 380 MB, free: 53.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006281/0.3517, allocations: 1.179 MB / 381.2 MB, free: 52.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.3523, allocations: 51.88 kB / 381.3 MB, free: 52.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/0.3524, allocations: 32.97 kB / 381.3 MB, free: 52.11 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 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005084/0.3529, allocations: 333.3 kB / 381.6 MB, free: 51.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.3531, allocations: 80.3 kB / 381.7 MB, free: 51.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.3551, allocations: 0.982 MB / 382.7 MB, free: 51.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.3551, allocations: 11.38 kB / 382.7 MB, free: 51.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3551, allocations: 0 / 382.7 MB, free: 51.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.3551, allocations: 4.281 kB / 382.7 MB, free: 51.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.3579, allocations: 1.759 MB / 384.4 MB, free: 51.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3579, allocations: 2.078 kB / 384.5 MB, free: 51.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.3584, allocations: 99.16 kB / 384.5 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.3595, allocations: 256.4 kB / 384.8 MB, free: 51.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.3595, allocations: 20.17 kB / 384.8 MB, free: 51.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/0.3603, allocations: 1.267 MB / 386.1 MB, free: 50.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3603, allocations: 4.625 kB / 386.1 MB, free: 50.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.3622, allocations: 1.343 MB / 387.4 MB, free: 49.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.3624, allocations: 173.2 kB / 387.6 MB, free: 49.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3625, allocations: 14.58 kB / 387.6 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.363, allocations: 40.88 kB / 387.7 MB, free: 49.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3632, allocations: 57.91 kB / 387.7 MB, free: 49.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.3633, allocations: 39.19 kB / 387.8 MB, free: 49.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006754/0.3639, allocations: 0.5036 MB / 388.3 MB, free: 49 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.364, allocations: 0 / 388.3 MB, free: 49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001812/0.3658, allocations: 0.5893 MB / 388.8 MB, free: 48.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.3669, allocations: 0.4962 MB / 389.3 MB, free: 48.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.3693, allocations: 1.195 MB / 390.5 MB, free: 48.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3693, allocations: 1.188 kB / 390.5 MB, free: 48.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007071/0.37, allocations: 390.7 kB / 390.9 MB, free: 48.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.3719, allocations: 382.1 kB / 391.3 MB, free: 48.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.3745, allocations: 1.9 MB / 393.2 MB, free: 47.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.375, allocations: 1.001 MB / 394.2 MB, free: 46.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001106/0.3761, allocations: 327 kB / 394.5 MB, free: 46.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.3763, allocations: 81.16 kB / 394.6 MB, free: 46.44 MB / 318.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3763, allocations: 0 / 394.6 MB, free: 46.44 MB / 318.1 MB Notification: Performance of Templates: time 0.02732/0.4036, allocations: 21.16 MB / 415.7 MB, free: 27.91 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: