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.001064/0.001064, allocations: 87.56 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001364/0.001364, allocations: 177 kB / 24.28 MB, free: 280 kB / 18.57 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.048/1.048, allocations: 177.2 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.08774/0.08774, allocations: 18.14 MB / 279.2 MB, free: 11.39 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 358.1 MB, free: 7.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/2.975e-05, allocations: 9.266 kB / 358.1 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.002601/0.00263, allocations: 1.858 MB / 359.9 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.003583, allocations: 0.6192 MB / 360.5 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.00368, allocations: 4 kB / 360.5 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.003944, allocations: 23.73 kB / 360.6 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.004084, allocations: 43.64 kB / 360.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.004368, allocations: 131.7 kB / 360.7 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.004588, allocations: 179.5 kB / 360.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.004711, allocations: 45.75 kB / 361 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.696e-05/0.004808, allocations: 71.77 kB / 361 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.004934, allocations: 75.81 kB / 361.1 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.00497, allocations: 16 kB / 361.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.6e-05/0.004996, allocations: 20 kB / 361.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.005072, allocations: 55.75 kB / 361.2 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.00513, allocations: 43.91 kB / 361.2 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.005312, allocations: 131.5 kB / 361.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005315, allocations: 4 kB / 361.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005316, allocations: 0 / 361.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.00532, allocations: 0 / 361.4 MB, free: 4.051 MB / 282.7 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.000702/0.006022, allocations: 0.5272 MB / 361.9 MB, free: 3.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.006058, allocations: 12.03 kB / 361.9 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.006126, allocations: 28.84 kB / 361.9 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.006435, allocations: 209.8 kB / 362.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.006449, allocations: 8.609 kB / 362.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.006484, allocations: 20.31 kB / 362.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.006716, allocations: 153.4 kB / 362.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.006725, allocations: 192 / 362.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.006742, allocations: 4.375 kB / 362.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.006753, allocations: 7.938 kB / 362.3 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.006866, allocations: 44.67 kB / 362.4 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.007542, allocations: 472 kB / 362.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.007839, allocations: 111 kB / 362.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.007898, allocations: 31.77 kB / 363 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.007919, allocations: 7.984 kB / 363 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.00794, allocations: 33.39 kB / 363 MB, free: 2.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.007942, allocations: 0 / 363 MB, free: 2.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009061/0.008848, allocations: 313.4 kB / 363.3 MB, free: 1.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.008883, allocations: 81.05 kB / 363.4 MB, free: 1.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.009047, allocations: 234.7 kB / 363.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.009064, allocations: 29.7 kB / 363.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.009146, allocations: 178.7 kB / 363.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.009181, allocations: 47.59 kB / 363.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.009238, allocations: 39.36 kB / 363.9 MB, free: 1.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.009414, allocations: 0.5001 MB / 364.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.009474, allocations: 31.67 kB / 364.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.009558, allocations: 76.69 kB / 364.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.009675, allocations: 74.31 kB / 364.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.009679, allocations: 3.938 kB / 364.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001852/0.009864, allocations: 121.5 kB / 364.7 MB, free: 448 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.009875, allocations: 4 kB / 364.7 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.00988, allocations: 0 / 364.7 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.009893, allocations: 4 kB / 364.7 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.01006, allocations: 43.97 kB / 364.8 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01007, allocations: 4 kB / 364.8 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.01015, allocations: 19.94 kB / 364.8 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.01016, allocations: 4 kB / 364.8 MB, free: 368 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.903e-05/0.01025, allocations: 146.9 kB / 364.9 MB, free: 216 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.631e-05/0.01032, allocations: 72.75 kB / 365 MB, free: 124 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001047/0.01043, allocations: 81.84 kB / 365.1 MB, free: 36 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.61e-07/0.01043, allocations: 0 / 365.1 MB, free: 36 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001788/0.01061, allocations: 113.5 kB / 365.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.01062, allocations: 12.06 kB / 365.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.01062, allocations: 0 / 365.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-06/0.01062, allocations: 0 / 365.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01076, allocations: 39.92 kB / 365.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.01077, allocations: 0 / 365.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/0.01084, allocations: 15.92 kB / 365.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.01085, allocations: 8 kB / 365.3 MB, free: 15.84 MB / 298.7 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 9.94e-05/0.01095, allocations: 272 kB / 365.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.01099, allocations: 19.91 kB / 365.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.01135, allocations: 190.6 kB / 365.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01135, allocations: 3.938 kB / 365.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01135, allocations: 0 / 365.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01136, allocations: 3.938 kB / 365.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.01156, allocations: 180.6 kB / 365.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01156, allocations: 0 / 365.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.01163, allocations: 12 kB / 365.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.01188, allocations: 63.62 kB / 366 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.0119, allocations: 4 kB / 366 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.01317, allocations: 1.936 MB / 367.9 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01317, allocations: 0 / 367.9 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.01358, allocations: 354.9 kB / 368.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.0136, allocations: 19.84 kB / 368.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01362, allocations: 4 kB / 368.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01372, allocations: 11.98 kB / 368.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.01377, allocations: 15.91 kB / 368.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01377, allocations: 8.031 kB / 368.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.653e-05/0.01387, allocations: 172 kB / 368.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01387, allocations: 0 / 368.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.0142, allocations: 59.89 kB / 368.6 MB, free: 12.34 MB / 298.7 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 8.539e-05/0.01429, allocations: 103.2 kB / 368.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.01452, allocations: 122.5 kB / 368.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01452, allocations: 0 / 368.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.01475, allocations: 250.8 kB / 369 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.01495, allocations: 34.66 kB / 369.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.01542, allocations: 342.5 kB / 369.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.01547, allocations: 79.97 kB / 369.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.535e-05/0.01553, allocations: 29.12 kB / 369.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.01557, allocations: 16.5 kB / 369.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01557, allocations: 0 / 369.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of Templates: time 0.004264/0.01984, allocations: 2.553 MB / 372.1 MB, free: 8.781 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0472117129247636]