Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.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.001753/0.001753, allocations: 110.8 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.001984/0.001984, allocations: 211.6 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.TanksWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.|tank2.aboveLevel.1.|tank2.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.|tank2.aboveLevel.1.|tank2.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2096, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.03345/0.243, allocations: 28.58 MB / 460.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01928/0.2623, allocations: 12.88 MB / 473.8 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008421/0.2632, allocations: 59.5 kB / 473.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.2645, allocations: 0.5705 MB / 474.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.2692, allocations: 2.244 MB / 476.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00824/0.2774, allocations: 3.792 MB / 480.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004908/0.2823, allocations: 4.179 MB / 484.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.2835, allocations: 0.8741 MB / 485.5 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.2857, allocations: 1.577 MB / 487.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.2879, allocations: 1.647 MB / 488.7 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.2882, allocations: 148 kB / 488.9 MB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.2917, allocations: 1.884 MB / 490.8 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006072/0.2923, allocations: 0.5686 MB / 491.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008245/0.2931, allocations: 0.6925 MB / 492 MB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004592/0.2977, allocations: 3.555 MB / 495.6 MB, free: 7.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2977, allocations: 4 kB / 495.6 MB, free: 7.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2977, allocations: 0 / 495.6 MB, free: 7.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.2977, allocations: 0 / 495.6 MB, free: 7.297 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004516/0.3023, allocations: 2.097 MB / 497.7 MB, free: 5.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3023, allocations: 8.031 kB / 497.7 MB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/0.3029, allocations: 183 kB / 497.9 MB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.3048, allocations: 0.9433 MB / 498.8 MB, free: 4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.3048, allocations: 81.92 kB / 498.9 MB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.305, allocations: 95.97 kB / 499 MB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/0.3081, allocations: 2.16 MB / 0.4894 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.3082, allocations: 0 / 0.4894 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.3083, allocations: 43.98 kB / 0.4894 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/0.3085, allocations: 101.9 kB / 0.4895 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.3114, allocations: 1.643 MB / 0.4911 GB, free: 15.67 MB / 414.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.009855/0.3212, allocations: 4.995 MB / 0.496 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.3228, allocations: 0.8735 MB / 0.4969 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009464/0.3238, allocations: 0.519 MB / 0.4974 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003602/0.3274, allocations: 1.658 MB / 0.499 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3274, allocations: 47.16 kB / 0.499 GB, free: 7.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.364e-06/0.3274, allocations: 0 / 0.499 GB, free: 7.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=90): time 0.009198/0.3366, allocations: 3.4 MB / 0.5024 GB, free: 4.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.3367, allocations: 188.9 kB / 0.5025 GB, free: 3.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.3383, allocations: 1.116 MB / 0.5036 GB, free: 2.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.3384, allocations: 49.7 kB / 0.5037 GB, free: 2.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005828/0.3389, allocations: 0.6792 MB / 0.5043 GB, free: 1.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.3393, allocations: 337.2 kB / 0.5047 GB, free: 1.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004912/0.3398, allocations: 287.4 kB / 0.5049 GB, free: 1.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3399, allocations: 301.1 kB / 0.5052 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.341, allocations: 0.5903 MB / 0.5058 GB, free: 404 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.3425, allocations: 1.13 MB / 0.5069 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.3448, allocations: 1.485 MB / 0.5084 GB, free: 13.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3448, allocations: 4 kB / 0.5084 GB, free: 13.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003439/0.3482, allocations: 1.89 MB / 0.5102 GB, free: 11.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3482, allocations: 8 kB / 0.5102 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3483, allocations: 12 kB / 0.5102 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/0.3537, allocations: 0.7633 MB / 0.511 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.3548, allocations: 283.5 kB / 0.5112 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.3572, allocations: 2.168 MB / 0.5134 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.3583, allocations: 71.95 kB / 0.5134 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.3584, allocations: 67.98 kB / 0.5135 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001483/0.3599, allocations: 0.8395 MB / 0.5143 GB, free: 7.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001487/0.3614, allocations: 1.117 MB / 0.5154 GB, free: 5.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002214/0.3636, allocations: 1.464 MB / 0.5168 GB, free: 4.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.104e-05/0.3636, allocations: 11.92 kB / 0.5168 GB, free: 4.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00344/0.367, allocations: 1.819 MB / 0.5186 GB, free: 2.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3671, allocations: 8 kB / 0.5186 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3671, allocations: 12 kB / 0.5186 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/0.3717, allocations: 0.5959 MB / 0.5192 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3728, allocations: 291.5 kB / 0.5195 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.3748, allocations: 2.016 MB / 0.5215 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3759, allocations: 80.08 kB / 0.5215 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.376, allocations: 67.98 kB / 0.5216 GB, free: 15.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (tank2.aboveLevel[2],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[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 (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (2,7), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003891/0.3764, allocations: 277.7 kB / 0.5219 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.3766, allocations: 131.2 kB / 0.522 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.3799, allocations: 1.494 MB / 0.5235 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3799, allocations: 11.92 kB / 0.5235 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3799, allocations: 0 / 0.5235 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.3802, allocations: 127.1 kB / 0.5236 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.3804, allocations: 35.94 kB / 0.5236 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007901/0.3812, allocations: 43.95 kB / 0.5237 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.3813, allocations: 88.83 kB / 0.5238 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003591/0.3849, allocations: 1.484 MB / 0.5252 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003046/0.388, allocations: 1.878 MB / 0.527 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008537/0.3888, allocations: 0.4918 MB / 0.5275 GB, free: 9.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.3899, allocations: 0.743 MB / 0.5282 GB, free: 8.383 MB / 446.1 MB Notification: Performance of Backend: time 3.2e-07/0.3899, allocations: 0 / 0.5282 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006283/0.3962, allocations: 2.569 MB / 0.5308 GB, free: 5.816 MB / 446.1 MB Notification: Performance of SimCode: time 0.005222/0.4014, allocations: 3.415 MB / 0.5341 GB, free: 2.352 MB / 446.1 MB Notification: Performance of Templates: time 0.2134/0.6148, allocations: 45.04 MB / 0.5781 GB, free: 72.89 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.020223986000929] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank1.aboveLevel[1]', 'tank1.aboveLevel[2]', 'tank2.aboveLevel[1]', 'tank2.aboveLevel[2]'] 0.6226029520039447 0.631505985 0.33153998700000004 Calling exit ...