Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.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.001824/0.001824, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.00214/0.00214, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.TankWithEmptyingPipe1,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2073, allocations: 53.35 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.02222/0.2295, allocations: 19.13 MB / 451.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00984/0.2394, allocations: 6.413 MB / 457.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.2399, allocations: 35.69 kB / 457.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.2409, allocations: 357.7 kB / 458.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.2434, allocations: 1.143 MB / 459.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.2477, allocations: 1.897 MB / 461.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002556/0.2502, allocations: 2.23 MB / 463.5 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/0.2509, allocations: 0.4961 MB / 464 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.2521, allocations: 0.8682 MB / 464.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.2532, allocations: 0.8213 MB / 465.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.2534, allocations: 76 kB / 465.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.2553, allocations: 1.104 MB / 466.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.2556, allocations: 299 kB / 467.2 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.256, allocations: 394.3 kB / 467.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.2584, allocations: 1.896 MB / 469.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2584, allocations: 4 kB / 469.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2584, allocations: 0 / 469.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.2584, allocations: 0 / 469.5 MB, free: 1.461 MB / 366.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.002525/0.261, allocations: 1.243 MB / 470.7 MB, free: 184 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.261, allocations: 8.031 kB / 470.7 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.2614, allocations: 108.4 kB / 470.8 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.2625, allocations: 0.5517 MB / 471.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.2625, allocations: 49.28 kB / 471.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.2627, allocations: 56 kB / 471.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.2644, allocations: 1.238 MB / 472.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.2644, allocations: 8 kB / 472.7 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/0.2645, allocations: 27.98 kB / 472.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-05/0.2646, allocations: 41.3 kB / 472.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.266, allocations: 0.8052 MB / 473.6 MB, free: 13.12 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.005065/0.2711, allocations: 2.913 MB / 476.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/0.272, allocations: 0.5155 MB / 477 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.2725, allocations: 262 kB / 477.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.2727, allocations: 48.41 kB / 477.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.2727, allocations: 39 kB / 477.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 1.973e-06/0.2727, allocations: 0 / 477.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.004694/0.2774, allocations: 1.895 MB / 479.3 MB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.2775, allocations: 133 kB / 479.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.2783, allocations: 0.601 MB / 480 MB, free: 6.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.2783, allocations: 37.7 kB / 480 MB, free: 6.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.2786, allocations: 404.3 kB / 480.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.2788, allocations: 190.4 kB / 480.6 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.2791, allocations: 158.5 kB / 480.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.2793, allocations: 378.8 kB / 481.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.2798, allocations: 312.7 kB / 481.4 MB, free: 5.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/0.2806, allocations: 0.598 MB / 482 MB, free: 4.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.2818, allocations: 0.7792 MB / 482.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.2818, allocations: 4 kB / 482.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001775/0.2836, allocations: 0.9822 MB / 483.8 MB, free: 2.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2836, allocations: 8.781 kB / 483.8 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2836, allocations: 11.94 kB / 483.8 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.2854, allocations: 301.3 kB / 484.1 MB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.2861, allocations: 147.7 kB / 484.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.2873, allocations: 1.304 MB / 485.6 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.2878, allocations: 40.09 kB / 485.6 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/0.2879, allocations: 36 kB / 485.6 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007555/0.2886, allocations: 481.9 kB / 486.1 MB, free: 148 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007533/0.2894, allocations: 0.5753 MB / 486.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001167/0.2906, allocations: 0.762 MB / 487.5 MB, free: 14.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.209e-06/0.2906, allocations: 4 kB / 487.5 MB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001779/0.2923, allocations: 0.9356 MB / 488.4 MB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2924, allocations: 8 kB / 488.4 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2924, allocations: 4 kB / 488.4 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.2936, allocations: 174.3 kB / 488.6 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/0.2944, allocations: 175.7 kB / 488.7 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009362/0.2953, allocations: 1.187 MB / 489.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.2958, allocations: 35.98 kB / 490 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.2959, allocations: 39.98 kB / 490 MB, free: 11.99 MB / 398.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.000258/0.2962, allocations: 226.4 kB / 490.2 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.2963, allocations: 75.7 kB / 490.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.2983, allocations: 0.9681 MB / 491.3 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.2983, allocations: 8.219 kB / 491.3 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2983, allocations: 0 / 491.3 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2985, allocations: 75.44 kB / 491.4 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2986, allocations: 12 kB / 491.4 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.2991, allocations: 31.98 kB / 491.4 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.2992, allocations: 52.55 kB / 491.4 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001993/0.3012, allocations: 0.8891 MB / 492.3 MB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001911/0.3031, allocations: 1.24 MB / 493.6 MB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005144/0.3036, allocations: 301 kB / 493.9 MB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005548/0.3041, allocations: 423.1 kB / 494.3 MB, free: 7.688 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.3041, allocations: 0 / 494.3 MB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003417/0.3076, allocations: 1.36 MB / 495.6 MB, free: 6.316 MB / 398.1 MB Notification: Performance of SimCode: time 0.003276/0.3108, allocations: 2.154 MB / 497.8 MB, free: 4.121 MB / 398.1 MB Notification: Performance of Templates: time 0.03968/0.3505, allocations: 25.27 MB / 0.5108 GB, free: 11.17 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.050596356995811] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank1.aboveLevel[1]', 'tank1.aboveLevel[2]'] 0.3585820970038185 0.37344875600000005 0.111838554 Calling exit ...