Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.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.001669/0.001669, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002307/0.002307, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09899/0.09899, allocations: 17.8 MB / 277.6 MB, free: 15.33 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) 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(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit") translateModel(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 71.88 kB / 415.4 MB, free: 3.691 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.118, allocations: 59.56 MB / 475 MB, free: 8.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003387/0.1214, allocations: 1.818 MB / 476.8 MB, free: 6.188 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1227, allocations: 0.5923 MB / 477.4 MB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.1227, allocations: 7.938 kB / 477.4 MB, free: 5.582 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.123, allocations: 31.78 kB / 477.5 MB, free: 5.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.1232, allocations: 39.72 kB / 477.5 MB, free: 5.512 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.1235, allocations: 123.7 kB / 477.6 MB, free: 5.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.1239, allocations: 235.5 kB / 477.8 MB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.124, allocations: 37.78 kB / 477.9 MB, free: 5.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.1241, allocations: 87.73 kB / 478 MB, free: 5.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1243, allocations: 95.52 kB / 478.1 MB, free: 4.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.1244, allocations: 20 kB / 478.1 MB, free: 4.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.1244, allocations: 20 kB / 478.1 MB, free: 4.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.1245, allocations: 55.83 kB / 478.2 MB, free: 4.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/0.1246, allocations: 63.64 kB / 478.2 MB, free: 4.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1248, allocations: 183.2 kB / 478.4 MB, free: 4.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1248, allocations: 3.938 kB / 478.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1248, allocations: 0 / 478.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1249, allocations: 0 / 478.4 MB, free: 4.598 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001106/0.126, allocations: 461.6 kB / 478.8 MB, free: 4.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.126, allocations: 8.031 kB / 478.9 MB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.1261, allocations: 24.8 kB / 478.9 MB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.1266, allocations: 215 kB / 479.1 MB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1266, allocations: 8.609 kB / 479.1 MB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.1266, allocations: 12.38 kB / 479.1 MB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.127, allocations: 197.3 kB / 479.3 MB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.127, allocations: 3.938 kB / 479.3 MB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.127, allocations: 8 kB / 479.3 MB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.127, allocations: 0 / 479.3 MB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.1273, allocations: 120.6 kB / 479.4 MB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.1282, allocations: 448.7 kB / 479.9 MB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.1288, allocations: 182.6 kB / 480.1 MB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.129, allocations: 69.03 kB / 480.1 MB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.129, allocations: 7.938 kB / 480.1 MB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.129, allocations: 34.56 kB / 480.2 MB, free: 2.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.129, allocations: 0 / 480.2 MB, free: 2.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001718/0.1308, allocations: 461.9 kB / 480.6 MB, free: 2.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.1308, allocations: 81.09 kB / 480.7 MB, free: 2.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.1312, allocations: 223 kB / 480.9 MB, free: 1.926 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1312, allocations: 25.7 kB / 480.9 MB, free: 1.895 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1314, allocations: 128 kB / 481.1 MB, free: 1.766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.1314, allocations: 43.62 kB / 481.1 MB, free: 1.723 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.1315, allocations: 41.64 kB / 481.1 MB, free: 1.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1316, allocations: 330.8 kB / 481.5 MB, free: 1.344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1318, allocations: 68.81 kB / 481.5 MB, free: 1.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.132, allocations: 116.2 kB / 481.6 MB, free: 1.145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.1323, allocations: 144.7 kB / 481.8 MB, free: 1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1323, allocations: 0 / 481.8 MB, free: 1 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003967/0.1327, allocations: 197.4 kB / 482 MB, free: 0.8008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1327, allocations: 4 kB / 482 MB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1327, allocations: 4 kB / 482 MB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1327, allocations: 0 / 482 MB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.133, allocations: 43.97 kB / 482 MB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.133, allocations: 0 / 482 MB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1332, allocations: 23.92 kB / 482.1 MB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1332, allocations: 8 kB / 482.1 MB, free: 0.7188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001805/0.1334, allocations: 152.1 kB / 482.2 MB, free: 0.5664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00013/0.1335, allocations: 104.2 kB / 482.3 MB, free: 460 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002031/0.1337, allocations: 124.4 kB / 482.4 MB, free: 332 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.21e-07/0.1337, allocations: 0 / 482.4 MB, free: 332 kB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002831/0.134, allocations: 169.5 kB / 482.6 MB, free: 156 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.134, allocations: 4 kB / 482.6 MB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.134, allocations: 0 / 482.6 MB, free: 152 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.134, allocations: 4 kB / 482.6 MB, free: 148 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.1342, allocations: 31.98 kB / 482.6 MB, free: 116 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.1342, allocations: 4.062 kB / 482.6 MB, free: 112 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.1344, allocations: 27.86 kB / 482.7 MB, free: 84 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1344, allocations: 8 kB / 482.7 MB, free: 76 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2441/0.3785, allocations: 185 kB / 482.9 MB, free: 52.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3787, allocations: 16.56 kB / 482.9 MB, free: 52.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009799/0.3796, allocations: 280 kB / 483.1 MB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.3796, allocations: 0 / 483.1 MB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3796, allocations: 3.25 kB / 483.1 MB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3797, allocations: 10.41 kB / 483.2 MB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.3799, allocations: 187.2 kB / 483.3 MB, free: 51.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3799, allocations: 0 / 483.3 MB, free: 51.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3801, allocations: 19.66 kB / 483.4 MB, free: 51.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/0.3805, allocations: 82.73 kB / 483.4 MB, free: 51.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3805, allocations: 8.156 kB / 483.4 MB, free: 51.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.3826, allocations: 1.696 MB / 485.1 MB, free: 50.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3826, allocations: 3.938 kB / 485.1 MB, free: 50.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.3833, allocations: 435.8 kB / 485.6 MB, free: 50.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.3833, allocations: 20.8 kB / 485.6 MB, free: 50.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.3834, allocations: 3.375 kB / 485.6 MB, free: 50.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.3836, allocations: 18.83 kB / 485.6 MB, free: 50.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.3836, allocations: 16.36 kB / 485.6 MB, free: 50.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.3836, allocations: 0 / 485.6 MB, free: 50.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.3839, allocations: 172.7 kB / 485.8 MB, free: 50.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3839, allocations: 0 / 485.8 MB, free: 50.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.3843, allocations: 60.81 kB / 485.9 MB, free: 50.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.3844, allocations: 106.9 kB / 486 MB, free: 50.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.3848, allocations: 205.7 kB / 486.2 MB, free: 50.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3848, allocations: 0 / 486.2 MB, free: 50.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.3851, allocations: 206.8 kB / 486.4 MB, free: 50.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3855, allocations: 31.31 kB / 486.4 MB, free: 50.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006802/0.3862, allocations: 391.5 kB / 486.8 MB, free: 50.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.3863, allocations: 119.4 kB / 486.9 MB, free: 50.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3864, allocations: 38.91 kB / 486.9 MB, free: 50.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.3864, allocations: 14.38 kB / 486.9 MB, free: 50.04 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3864, allocations: 3.031 kB / 487 MB, free: 50.04 MB / 446.1 MB Notification: Performance of Templates: time 0.00572/0.3921, allocations: 2.494 MB / 489.4 MB, free: 49.88 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.sim & ./AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit -lv=LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.095602733083069] Failed to read output from testmodel.py, exit status != 0: 0.4015537960221991 0.41161383500000004 0.284175497 Calling exit ...