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.001792/0.001792, allocations: 104.7 kB / 19.74 MB, free: 2.066 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.002135/0.002135, allocations: 212.9 kB / 23.04 MB, free: 4.855 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.727 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.1097/0.1097, allocations: 24.03 MB / 337.3 MB, free: 11.29 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.003144/0.003144, allocations: 67.84 kB / 475.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3262, allocations: 59.57 MB / 0.5223 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.002831/0.3291, allocations: 1.805 MB / 0.524 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3301, allocations: 0.5952 MB / 0.5246 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3302, allocations: 2.969 kB / 0.5246 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.3306, allocations: 34.95 kB / 0.5246 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3307, allocations: 39.5 kB / 0.5247 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.331, allocations: 127.2 kB / 0.5248 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.3313, allocations: 235 kB / 0.525 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3314, allocations: 45.33 kB / 0.5251 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3316, allocations: 92.62 kB / 0.5251 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3318, allocations: 91.06 kB / 0.5252 GB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.3319, allocations: 17.03 kB / 0.5253 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.169e-05/0.3319, allocations: 16.81 kB / 0.5253 GB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.332, allocations: 65.91 kB / 0.5253 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.3321, allocations: 60.52 kB / 0.5254 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.3325, allocations: 193.7 kB / 0.5256 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3325, allocations: 3.938 kB / 0.5256 GB, free: 8.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3325, allocations: 0 / 0.5256 GB, free: 8.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.3325, allocations: 1.375 kB / 0.5256 GB, free: 8.836 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.001128/0.3336, allocations: 453.1 kB / 0.526 GB, free: 8.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3337, allocations: 10.39 kB / 0.526 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.3337, allocations: 22.05 kB / 0.526 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.3342, allocations: 209.3 kB / 0.5262 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3342, allocations: 10.11 kB / 0.5262 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.3343, allocations: 17.19 kB / 0.5263 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.3347, allocations: 196 kB / 0.5265 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3347, allocations: 0 / 0.5265 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3347, allocations: 6.312 kB / 0.5265 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3347, allocations: 7.016 kB / 0.5265 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.335, allocations: 122.3 kB / 0.5266 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.3358, allocations: 443.5 kB / 0.527 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.3364, allocations: 179.9 kB / 0.5272 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3365, allocations: 67.39 kB / 0.5272 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3365, allocations: 5.188 kB / 0.5272 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.3366, allocations: 41.42 kB / 0.5273 GB, free: 7.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.3366, allocations: 3.984 kB / 0.5273 GB, free: 7.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00157/0.3381, allocations: 466.4 kB / 0.5277 GB, free: 7.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.3382, allocations: 83.48 kB / 0.5278 GB, free: 7.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.3385, allocations: 217.7 kB / 0.528 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3385, allocations: 31.05 kB / 0.5281 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.3386, allocations: 130.8 kB / 0.5282 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.3386, allocations: 44.44 kB / 0.5282 GB, free: 7.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.3387, allocations: 36.66 kB / 0.5283 GB, free: 7.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.3387, allocations: 333.2 kB / 0.5286 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3389, allocations: 66.11 kB / 0.5286 GB, free: 6.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.339, allocations: 110.1 kB / 0.5287 GB, free: 6.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.3393, allocations: 149.1 kB / 0.5289 GB, free: 6.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3393, allocations: 1.094 kB / 0.5289 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003405/0.3396, allocations: 193.2 kB / 0.5291 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3397, allocations: 6.453 kB / 0.5291 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3397, allocations: 0 / 0.5291 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3397, allocations: 1.156 kB / 0.5291 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.3399, allocations: 44.39 kB / 0.5291 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3399, allocations: 1.594 kB / 0.5291 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.3401, allocations: 27.8 kB / 0.5291 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3401, allocations: 4.031 kB / 0.5291 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001359/0.3403, allocations: 149.5 kB / 0.5293 GB, free: 6.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000106/0.3404, allocations: 109.9 kB / 0.5294 GB, free: 6.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001678/0.3406, allocations: 120.5 kB / 0.5295 GB, free: 6.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.3406, allocations: 0 / 0.5295 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002418/0.3408, allocations: 166 kB / 0.5297 GB, free: 6.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.3408, allocations: 11.38 kB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-06/0.3408, allocations: 1.469 kB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.3408, allocations: 1.219 kB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.341, allocations: 40 kB / 0.5297 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.341, allocations: 1.094 kB / 0.5297 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3412, allocations: 32.42 kB / 0.5298 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3412, allocations: 4.812 kB / 0.5298 GB, free: 6.176 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 6.356e-05/0.3413, allocations: 186.9 kB / 0.5299 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.3413, allocations: 15.81 kB / 0.5299 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/0.342, allocations: 287.2 kB / 0.5302 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.342, allocations: 1.156 kB / 0.5302 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.342, allocations: 1.25 kB / 0.5302 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.342, allocations: 1.219 kB / 0.5302 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3423, allocations: 186.3 kB / 0.5304 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3423, allocations: 0.9375 kB / 0.5304 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.3424, allocations: 11.92 kB / 0.5304 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003541/0.3427, allocations: 88.58 kB / 0.5305 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.3427, allocations: 13.86 kB / 0.5305 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.3445, allocations: 1.69 MB / 0.5322 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3445, allocations: 0 / 0.5322 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.3454, allocations: 437.5 kB / 0.5326 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.3454, allocations: 19.7 kB / 0.5326 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.3454, allocations: 10.41 kB / 0.5326 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3457, allocations: 18.92 kB / 0.5326 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.3457, allocations: 15.73 kB / 0.5326 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3457, allocations: 2.281 kB / 0.5326 GB, free: 4.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003196/0.346, allocations: 170.4 kB / 0.5328 GB, free: 3.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.346, allocations: 3.938 kB / 0.5328 GB, free: 3.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004135/0.3465, allocations: 54.11 kB / 0.5329 GB, free: 3.898 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 0.0001001/0.3466, allocations: 111 kB / 0.533 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.3471, allocations: 200 kB / 0.5332 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3471, allocations: 4.125 kB / 0.5332 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.3474, allocations: 208.7 kB / 0.5334 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3478, allocations: 33.66 kB / 0.5334 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.3485, allocations: 429.5 kB / 0.5338 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3486, allocations: 126 kB / 0.5339 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.3487, allocations: 15.77 kB / 0.5339 GB, free: 3.211 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3487, allocations: 1.219 kB / 0.5339 GB, free: 3.211 MB / 382.1 MB Notification: Performance of Templates: time 0.005126/0.3538, allocations: 2.563 MB / 0.5364 GB, free: 3.02 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 -variableFilter=.* -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.966899728053249] Failed to read output from testmodel.py, exit status != 0: 0.3638801829656586 0.375356085 0.039817032 Calling exit ...