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.00132/0.00132, allocations: 105.6 kB / 19.69 MB, free: 2.277 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.001473/0.001473, allocations: 212.2 kB / 23 MB, free: 4.605 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.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.1087/0.1087, allocations: 24.04 MB / 337.2 MB, free: 11.67 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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.002289/0.002289, allocations: 67.89 kB / 475.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2915, allocations: 59.56 MB / 0.5222 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.002624/0.2941, allocations: 1.865 MB / 0.5241 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.295, allocations: 0.6423 MB / 0.5247 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.2951, allocations: 2.438 kB / 0.5247 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.2953, allocations: 35.69 kB / 0.5247 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.2955, allocations: 34.55 kB / 0.5248 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.2957, allocations: 120 kB / 0.5249 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.296, allocations: 244.5 kB / 0.5251 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2961, allocations: 52.09 kB / 0.5252 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.2962, allocations: 88.05 kB / 0.5252 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2964, allocations: 104.5 kB / 0.5253 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.2964, allocations: 20 kB / 0.5254 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.699e-05/0.2964, allocations: 17.31 kB / 0.5254 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.2965, allocations: 58.58 kB / 0.5254 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.2965, allocations: 72.25 kB / 0.5255 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2967, allocations: 188.3 kB / 0.5257 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2968, allocations: 1.828 kB / 0.5257 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2968, allocations: 0 / 0.5257 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2968, allocations: 4 kB / 0.5257 GB, free: 8.68 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008519/0.2976, allocations: 451.2 kB / 0.5261 GB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.2976, allocations: 16.94 kB / 0.5261 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.2977, allocations: 22.39 kB / 0.5262 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.2981, allocations: 213.1 kB / 0.5264 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2981, allocations: 9.141 kB / 0.5264 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.2981, allocations: 13.53 kB / 0.5264 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.2984, allocations: 170 kB / 0.5265 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2984, allocations: 0 / 0.5265 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.2985, allocations: 5.438 kB / 0.5265 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2985, allocations: 6.906 kB / 0.5266 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.2987, allocations: 119.1 kB / 0.5267 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.2995, allocations: 0.5004 MB / 0.5272 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.3, allocations: 183.6 kB / 0.5273 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3002, allocations: 71.25 kB / 0.5274 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3002, allocations: 1.656 kB / 0.5274 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.3002, allocations: 36.16 kB / 0.5274 GB, free: 7.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.3002, allocations: 1.094 kB / 0.5274 GB, free: 7.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001487/0.3017, allocations: 463.3 kB / 0.5279 GB, free: 7.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.3017, allocations: 79.33 kB / 0.528 GB, free: 7.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.302, allocations: 220.5 kB / 0.5282 GB, free: 7.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3021, allocations: 25.7 kB / 0.5282 GB, free: 7.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.3021, allocations: 139.5 kB / 0.5283 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3021, allocations: 44.08 kB / 0.5284 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.3022, allocations: 32.02 kB / 0.5284 GB, free: 6.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.3023, allocations: 333.5 kB / 0.5287 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3024, allocations: 69.5 kB / 0.5288 GB, free: 6.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3025, allocations: 88.77 kB / 0.5289 GB, free: 6.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.3028, allocations: 145.8 kB / 0.529 GB, free: 6.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3028, allocations: 0 / 0.529 GB, free: 6.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003041/0.3031, allocations: 197.1 kB / 0.5292 GB, free: 6.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3031, allocations: 5.062 kB / 0.5292 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3031, allocations: 1.312 kB / 0.5292 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3031, allocations: 5.281 kB / 0.5292 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.3033, allocations: 41.05 kB / 0.5292 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3033, allocations: 1.062 kB / 0.5292 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.3035, allocations: 28.38 kB / 0.5293 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.3035, allocations: 11 kB / 0.5293 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001175/0.3037, allocations: 146.2 kB / 0.5294 GB, free: 6.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.389e-05/0.3037, allocations: 76.66 kB / 0.5295 GB, free: 6.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001485/0.3039, allocations: 125.4 kB / 0.5296 GB, free: 6.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.41e-07/0.3039, allocations: 0 / 0.5296 GB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.000225/0.3041, allocations: 166.1 kB / 0.5298 GB, free: 6.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.3041, allocations: 5.469 kB / 0.5298 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.3041, allocations: 1.922 kB / 0.5298 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.3041, allocations: 1.25 kB / 0.5298 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3043, allocations: 43.84 kB / 0.5298 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.3043, allocations: 1.219 kB / 0.5298 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3045, allocations: 24.3 kB / 0.5298 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3045, allocations: 7.984 kB / 0.5299 GB, free: 6.066 MB / 382.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 5.789e-05/0.3046, allocations: 190.3 kB / 0.53 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3046, allocations: 15.48 kB / 0.5301 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006412/0.3053, allocations: 284.1 kB / 0.5303 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3053, allocations: 5.078 kB / 0.5303 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3053, allocations: 1.094 kB / 0.5303 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3053, allocations: 0.8906 kB / 0.5303 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.3055, allocations: 238.7 kB / 0.5306 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3055, allocations: 7.938 kB / 0.5306 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.3056, allocations: 13.03 kB / 0.5306 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/0.3059, allocations: 83.17 kB / 0.5307 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3059, allocations: 5.828 kB / 0.5307 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.3076, allocations: 1.73 MB / 0.5324 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3076, allocations: 1.156 kB / 0.5324 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.3083, allocations: 435.5 kB / 0.5328 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.3083, allocations: 23.75 kB / 0.5328 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.3084, allocations: 2.438 kB / 0.5328 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3086, allocations: 27.66 kB / 0.5328 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.3086, allocations: 10.44 kB / 0.5328 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3086, allocations: 7.5 kB / 0.5328 GB, free: 3.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.3089, allocations: 168.8 kB / 0.533 GB, free: 3.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3089, allocations: 1.344 kB / 0.533 GB, free: 3.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.3093, allocations: 56.98 kB / 0.5331 GB, free: 3.703 MB / 382.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 9.327e-05/0.3094, allocations: 106.3 kB / 0.5332 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004884/0.3098, allocations: 203.5 kB / 0.5333 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3098, allocations: 0.6875 kB / 0.5333 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.3102, allocations: 217.5 kB / 0.5336 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.3105, allocations: 36.66 kB / 0.5336 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.3112, allocations: 424.9 kB / 0.534 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.3113, allocations: 0.7286 MB / 0.5347 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.3114, allocations: 20.56 kB / 0.5347 GB, free: 2.395 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3114, allocations: 0 / 0.5347 GB, free: 2.395 MB / 382.1 MB Notification: Performance of Templates: time 0.004602/0.316, allocations: 2.49 MB / 0.5372 GB, free: 2.215 MB / 382.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 -abortSlowSimulation -alarm=480 -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: 7.295489998999983] Failed to read output from testmodel.py, exit status != 0: 0.32399014197289944 0.336557772 0.036910433 Calling exit ...