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.TankWithEmptyingPipe1.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.001277/0.001277, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001315/0.001315, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.42/1.42, 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.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-beta.om_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-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") [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.001971/0.001971, allocations: 63.89 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2084, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.02429/0.2327, allocations: 21.1 MB / 453.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.2431, allocations: 7.101 MB / 460.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.2437, allocations: 27.81 kB / 460.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.2447, allocations: 369.6 kB / 460.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.2473, allocations: 1.131 MB / 461.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004234/0.2515, allocations: 1.845 MB / 463.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002659/0.2542, allocations: 2.148 MB / 465.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008431/0.255, allocations: 0.4994 MB / 466.3 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.2564, allocations: 0.8332 MB / 467.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.2577, allocations: 0.8213 MB / 467.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.2579, allocations: 79.94 kB / 468 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.2602, allocations: 1.303 MB / 469.3 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.2605, allocations: 295.1 kB / 469.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.2611, allocations: 457.9 kB / 470 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.2638, allocations: 1.951 MB / 472 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.2638, allocations: 0 / 472 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2638, allocations: 0 / 472 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.2638, allocations: 0 / 472 MB, free: 15.32 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002749/0.2665, allocations: 1.318 MB / 473.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2666, allocations: 8.031 kB / 473.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.267, allocations: 112.3 kB / 473.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.2681, allocations: 0.6213 MB / 474.1 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.2682, allocations: 49.28 kB / 474.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.2683, allocations: 55.94 kB / 474.2 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.2698, allocations: 0.8864 MB / 475 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.2699, allocations: 0 / 475 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.2699, allocations: 24 kB / 475.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.032e-05/0.27, allocations: 49.28 kB / 475.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.2715, allocations: 0.8091 MB / 475.9 MB, free: 11.25 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.005588/0.2771, allocations: 3.831 MB / 479.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.2781, allocations: 0.5089 MB / 480.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.2785, allocations: 262 kB / 480.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004539/0.279, allocations: 0.4991 MB / 481 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.279, allocations: 42.98 kB / 481.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 1.763e-06/0.279, allocations: 0 / 481.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.004775/0.2838, allocations: 2.133 MB / 483.2 MB, free: 3.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.2839, allocations: 137 kB / 483.3 MB, free: 3.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.2848, allocations: 0.7348 MB / 484.1 MB, free: 2.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.2849, allocations: 41.7 kB / 484.1 MB, free: 2.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.2852, allocations: 388.7 kB / 484.5 MB, free: 2.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.2854, allocations: 190.4 kB / 484.7 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.2856, allocations: 146.6 kB / 484.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2858, allocations: 394.7 kB / 485.2 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.2864, allocations: 308.7 kB / 485.5 MB, free: 1.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.2871, allocations: 0.5226 MB / 486 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.2883, allocations: 0.7623 MB / 486.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2883, allocations: 4 kB / 486.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001773/0.2901, allocations: 1 MB / 487.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2901, allocations: 22.7 kB / 487.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2901, allocations: 4 kB / 487.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.2918, allocations: 289.4 kB / 488.1 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.2924, allocations: 147.7 kB / 488.2 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.2936, allocations: 1.308 MB / 489.5 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.2941, allocations: 31.98 kB / 489.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.2942, allocations: 39.98 kB / 489.6 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007659/0.295, allocations: 481.9 kB / 490.1 MB, free: 12.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007305/0.2957, allocations: 0.5041 MB / 490.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001164/0.2969, allocations: 0.7592 MB / 491.4 MB, free: 10.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.2969, allocations: 4 kB / 491.4 MB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001744/0.2986, allocations: 0.9455 MB / 492.3 MB, free: 9.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2986, allocations: 8 kB / 492.3 MB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2986, allocations: 4 kB / 492.3 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.2997, allocations: 181.4 kB / 492.5 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.3005, allocations: 171.8 kB / 492.7 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009174/0.3014, allocations: 1.183 MB / 493.8 MB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.3019, allocations: 47.84 kB / 493.9 MB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.302, allocations: 35.98 kB / 493.9 MB, free: 8.215 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.0002311/0.3022, allocations: 228.1 kB / 494.1 MB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.3024, allocations: 91.55 kB / 494.2 MB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.3043, allocations: 0.9626 MB / 495.2 MB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3043, allocations: 3.984 kB / 495.2 MB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3043, allocations: 0 / 495.2 MB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.3045, allocations: 168.5 kB / 495.4 MB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3046, allocations: 12 kB / 495.4 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.3051, allocations: 31.97 kB / 495.4 MB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3052, allocations: 48.48 kB / 495.5 MB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00194/0.3071, allocations: 0.8947 MB / 496.3 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001887/0.309, allocations: 1.237 MB / 497.6 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004968/0.3095, allocations: 300.2 kB / 497.9 MB, free: 4.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000683/0.3102, allocations: 0.5146 MB / 498.4 MB, free: 3.695 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.3102, allocations: 0 / 498.4 MB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003346/0.3135, allocations: 1.383 MB / 499.8 MB, free: 2.316 MB / 398.1 MB Notification: Performance of SimCode: time 0.0035/0.317, allocations: 2.263 MB / 0.4903 GB, free: 8 kB / 398.1 MB Notification: Performance of Templates: time 0.03967/0.3567, allocations: 25.51 MB / 0.5152 GB, free: 6.707 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.040811324026436] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank1.aboveLevel[1]', 'tank1.aboveLevel[2]'] 0.36532758502289653 0.37956648099999996 0.11268024900000001 Calling exit ...