Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001813/0.001813, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.84 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2097, allocations: 53.31 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.02444/0.2342, allocations: 22.3 MB / 454.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.248, allocations: 10.07 MB / 464.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.2485, allocations: 27.81 kB / 464.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.2495, allocations: 405.4 kB / 464.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.2524, allocations: 1.45 MB / 466.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.258, allocations: 2.638 MB / 468.9 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.2609, allocations: 2.58 MB / 471.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007939/0.2617, allocations: 0.5625 MB / 472.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.2631, allocations: 1.005 MB / 473.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.2646, allocations: 1.055 MB / 474.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.2648, allocations: 96 kB / 474.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.2679, allocations: 1.771 MB / 476 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.2683, allocations: 370.9 kB / 476.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.2688, allocations: 0.5366 MB / 476.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.272, allocations: 2.519 MB / 479.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.272, allocations: 0 / 479.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.272, allocations: 7.922 kB / 479.4 MB, free: 7.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.272, allocations: 4 kB / 479.4 MB, free: 7.875 MB / 382.1 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.003051/0.275, allocations: 1.539 MB / 481 MB, free: 6.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2751, allocations: 8.031 kB / 481 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.2755, allocations: 123.3 kB / 481.1 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.2768, allocations: 0.726 MB / 481.8 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.2768, allocations: 57.28 kB / 481.9 MB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.277, allocations: 59.98 kB / 481.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.2787, allocations: 1.06 MB / 483 MB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.2787, allocations: 3.938 kB / 483 MB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2788, allocations: 31.92 kB / 483 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.2789, allocations: 69.27 kB / 483.1 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.2807, allocations: 1.039 MB / 484.1 MB, free: 3.008 MB / 382.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.007024/0.2877, allocations: 4.435 MB / 488.6 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2888, allocations: 0.5441 MB / 489.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.2893, allocations: 294 kB / 489.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002707/0.292, allocations: 1.973 MB / 491.4 MB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.2921, allocations: 42.88 kB / 491.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.165e-06/0.2921, allocations: 0 / 491.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.004689/0.2967, allocations: 1.973 MB / 493.4 MB, free: 9.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.2968, allocations: 158.2 kB / 493.5 MB, free: 8.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.2981, allocations: 0.9314 MB / 494.5 MB, free: 8.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.2981, allocations: 41.64 kB / 494.5 MB, free: 7.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.2985, allocations: 496 kB / 495 MB, free: 7.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.2987, allocations: 170.6 kB / 495.2 MB, free: 7.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.299, allocations: 186.5 kB / 495.4 MB, free: 7.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2992, allocations: 341.9 kB / 495.7 MB, free: 6.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.2998, allocations: 332.7 kB / 496 MB, free: 6.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008556/0.3006, allocations: 0.6251 MB / 496.6 MB, free: 5.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3019, allocations: 0.8929 MB / 497.5 MB, free: 4.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.302, allocations: 4 kB / 497.5 MB, free: 4.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001985/0.3039, allocations: 1.125 MB / 498.7 MB, free: 3.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.304, allocations: 18.73 kB / 498.7 MB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.304, allocations: 12 kB / 498.7 MB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.3065, allocations: 369.3 kB / 499 MB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.3072, allocations: 183.7 kB / 499.2 MB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3084, allocations: 1.339 MB / 0.4888 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.3091, allocations: 39.98 kB / 0.4889 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.3092, allocations: 47.98 kB / 0.4889 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008364/0.31, allocations: 0.5176 MB / 0.4894 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008226/0.3109, allocations: 0.6228 MB / 0.49 GB, free: 204 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001277/0.3121, allocations: 0.8793 MB / 0.4909 GB, free: 15.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.3121, allocations: 0 / 0.4909 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.00191/0.314, allocations: 1.098 MB / 0.492 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3141, allocations: 11.94 kB / 0.492 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.3141, allocations: 8 kB / 0.492 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.3164, allocations: 341.4 kB / 0.4923 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.317, allocations: 179.7 kB / 0.4925 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.3183, allocations: 1.311 MB / 0.4938 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/0.3189, allocations: 52.09 kB / 0.4938 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.319, allocations: 47.98 kB / 0.4939 GB, free: 12.08 MB / 414.1 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.0002623/0.3193, allocations: 239.9 kB / 0.4941 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.3195, allocations: 103.4 kB / 0.4942 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.3212, allocations: 0.7761 MB / 0.4949 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3212, allocations: 7.984 kB / 0.4949 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3212, allocations: 0 / 0.4949 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.3214, allocations: 176.4 kB / 0.4951 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.3216, allocations: 15.94 kB / 0.4951 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.3221, allocations: 27.92 kB / 0.4952 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3222, allocations: 48.5 kB / 0.4952 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001847/0.324, allocations: 0.7777 MB / 0.496 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001585/0.3256, allocations: 1.057 MB / 0.497 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004181/0.326, allocations: 248.3 kB / 0.4972 GB, free: 8.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008952/0.3269, allocations: 0.6559 MB / 0.4979 GB, free: 7.895 MB / 414.1 MB Notification: Performance of Backend: time 2.41e-07/0.3269, allocations: 0 / 0.4979 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.331, allocations: 1.643 MB / 0.4995 GB, free: 6.258 MB / 414.1 MB Notification: Performance of SimCode: time 0.003802/0.3348, allocations: 2.447 MB / 0.5019 GB, free: 3.762 MB / 414.1 MB Notification: Performance of Templates: time 0.04784/0.3827, allocations: 29.16 MB / 0.5303 GB, free: 6.773 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.300868117250502] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank1.aboveLevel[1]', 'tank1.aboveLevel[2]'] 0.3907978739589453 0.5411107230000001 0.26665529800000004 Calling exit ...