Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 209.2 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2306, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.02392/0.2545, allocations: 20.17 MB / 452.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.2683, allocations: 9.032 MB / 461.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006533/0.269, allocations: 39.62 kB / 461.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009941/0.27, allocations: 389.5 kB / 462 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.2732, allocations: 1.469 MB / 463.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007084/0.2802, allocations: 2.71 MB / 466.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.2836, allocations: 2.713 MB / 468.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007846/0.2844, allocations: 0.5784 MB / 469.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.2859, allocations: 1.036 MB / 470.5 MB, free: 472 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.2873, allocations: 1.059 MB / 471.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.2875, allocations: 92 kB / 471.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.2902, allocations: 1.431 MB / 473 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.2906, allocations: 378.8 kB / 473.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000533/0.2912, allocations: 458.1 kB / 473.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.2944, allocations: 2.43 MB / 476.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2944, allocations: 3.938 kB / 476.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2944, allocations: 4 kB / 476.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2944, allocations: 0 / 476.3 MB, free: 10.61 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.003102/0.2975, allocations: 1.468 MB / 477.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2975, allocations: 8.031 kB / 477.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.298, allocations: 127.3 kB / 477.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.2993, allocations: 0.6577 MB / 478.6 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.2993, allocations: 49.3 kB / 478.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2995, allocations: 63.94 kB / 478.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.3015, allocations: 1.444 MB / 480.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3016, allocations: 3.938 kB / 480.1 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.3017, allocations: 31.92 kB / 480.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-05/0.3018, allocations: 73.2 kB / 480.2 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.3038, allocations: 1.028 MB / 481.2 MB, free: 5.453 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.006587/0.3104, allocations: 3.377 MB / 484.6 MB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3115, allocations: 0.5248 MB / 485.1 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.312, allocations: 302 kB / 485.4 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/0.3142, allocations: 1.064 MB / 486.5 MB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.3142, allocations: 38.89 kB / 486.5 MB, free: 32 kB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.3142, allocations: 0 / 486.5 MB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.004681/0.3189, allocations: 1.731 MB / 488.3 MB, free: 14.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.319, allocations: 166.2 kB / 488.4 MB, free: 14.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.3201, allocations: 0.7932 MB / 489.2 MB, free: 13.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.3201, allocations: 41.7 kB / 489.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.3205, allocations: 0.4995 MB / 489.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.3207, allocations: 174.6 kB / 489.9 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.321, allocations: 182.6 kB / 490.1 MB, free: 12.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.3212, allocations: 390.7 kB / 490.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.3219, allocations: 332.7 kB / 490.8 MB, free: 11.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.3228, allocations: 0.7216 MB / 491.5 MB, free: 10.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.3242, allocations: 0.8943 MB / 492.4 MB, free: 9.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3242, allocations: 4 kB / 492.4 MB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002028/0.3262, allocations: 1.111 MB / 493.6 MB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3262, allocations: 8 kB / 493.6 MB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3262, allocations: 8 kB / 493.6 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/0.3289, allocations: 385.7 kB / 494 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/0.3296, allocations: 179.7 kB / 494.1 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.3309, allocations: 1.343 MB / 495.5 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.3315, allocations: 39.92 kB / 495.5 MB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/0.3316, allocations: 47.98 kB / 495.6 MB, free: 6.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000835/0.3325, allocations: 0.5254 MB / 496.1 MB, free: 6.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008951/0.3334, allocations: 0.7154 MB / 496.8 MB, free: 5.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0013/0.3347, allocations: 0.8782 MB / 497.7 MB, free: 4.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.3347, allocations: 0 / 497.7 MB, free: 4.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001925/0.3366, allocations: 1.077 MB / 498.8 MB, free: 3.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3366, allocations: 12.03 kB / 498.8 MB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3366, allocations: 12 kB / 498.8 MB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.339, allocations: 341.5 kB / 499.1 MB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.3397, allocations: 175.7 kB / 499.3 MB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.341, allocations: 1.319 MB / 0.4889 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.3417, allocations: 51.91 kB / 0.4889 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.3418, allocations: 47.98 kB / 0.489 GB, free: 1.043 MB / 398.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.0002458/0.342, allocations: 242.1 kB / 0.4892 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.3422, allocations: 87.47 kB / 0.4893 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.3439, allocations: 0.7603 MB / 0.49 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.344, allocations: 7.922 kB / 0.49 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.344, allocations: 0 / 0.49 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3441, allocations: 83.36 kB / 0.4901 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.3443, allocations: 23.94 kB / 0.4901 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.3448, allocations: 23.98 kB / 0.4902 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3449, allocations: 48.41 kB / 0.4902 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001858/0.3467, allocations: 0.7681 MB / 0.4909 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001579/0.3483, allocations: 1.045 MB / 0.492 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004044/0.3487, allocations: 239.8 kB / 0.4922 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007145/0.3494, allocations: 0.542 MB / 0.4927 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Backend: time 4.11e-07/0.3494, allocations: 0 / 0.4927 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004004/0.3534, allocations: 1.635 MB / 0.4943 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 0.003466/0.3569, allocations: 2.347 MB / 0.4966 GB, free: 9.121 MB / 414.1 MB Notification: Performance of Templates: time 0.04315/0.4, allocations: 28.66 MB / 0.5246 GB, free: 12.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.472525680001127] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank1.aboveLevel[1]', 'tank1.aboveLevel[2]'] 0.4102749900048366 0.577264509 0.13100424400000002 Calling exit ...