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.001416/0.001416, allocations: 80.23 kB / 20.23 MB, free: 4.203 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.001458/0.001458, allocations: 161.7 kB / 23.53 MB, free: 0.8984 MB / 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.1046/0.1046, allocations: 18.13 MB / 278.5 MB, free: 11.34 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 2.084e-06/2.084e-06, allocations: 0 / 357.3 MB, free: 7.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.768e-05/3.977e-05, allocations: 5.406 kB / 357.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.004504/0.004544, allocations: 1.815 MB / 359.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.006283, allocations: 0.596 MB / 359.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.006432, allocations: 3.938 kB / 359.7 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.006882, allocations: 31.78 kB / 359.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.007135, allocations: 43.66 kB / 359.8 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.007683, allocations: 127.7 kB / 359.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.008074, allocations: 183.4 kB / 360.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.008288, allocations: 49.7 kB / 360.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.008471, allocations: 63.81 kB / 360.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.008723, allocations: 79.77 kB / 360.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.008781, allocations: 20 kB / 360.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.008827, allocations: 16 kB / 360.3 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.008966, allocations: 59.81 kB / 360.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.009085, allocations: 47.83 kB / 360.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.009518, allocations: 195.4 kB / 360.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.009522, allocations: 0 / 360.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.009524, allocations: 0 / 360.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.009531, allocations: 0 / 360.6 MB, free: 4.078 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.001453/0.01098, allocations: 453.6 kB / 361.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.01104, allocations: 12.03 kB / 361.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.01115, allocations: 24.84 kB / 361.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.01181, allocations: 222.2 kB / 361.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.01184, allocations: 8.609 kB / 361.3 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.0119, allocations: 16.36 kB / 361.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.01242, allocations: 195.6 kB / 361.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.01243, allocations: 192 / 361.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.01246, allocations: 4.375 kB / 361.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.01247, allocations: 7.938 kB / 361.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.01286, allocations: 120.6 kB / 361.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01412, allocations: 448.7 kB / 362.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007981/0.01492, allocations: 186.5 kB / 362.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.01512, allocations: 64.83 kB / 362.4 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.01516, allocations: 8 kB / 362.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.01521, allocations: 38.55 kB / 362.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.01521, allocations: 0 / 362.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.00225/0.01746, allocations: 466.1 kB / 362.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.01754, allocations: 77.11 kB / 362.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.01807, allocations: 219.1 kB / 363.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.01812, allocations: 29.7 kB / 363.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.01827, allocations: 128 kB / 363.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.01834, allocations: 51.59 kB / 363.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.01844, allocations: 37.7 kB / 363.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.01868, allocations: 326.8 kB / 363.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.01888, allocations: 60.83 kB / 363.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.01914, allocations: 116.2 kB / 363.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.01956, allocations: 145.1 kB / 364 MB, free: 488 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.01956, allocations: 7.875 kB / 364 MB, free: 480 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005645/0.02013, allocations: 197.5 kB / 364.2 MB, free: 276 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.02014, allocations: 4 kB / 364.2 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.02015, allocations: 4 kB / 364.2 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.02018, allocations: 0 / 364.2 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.02053, allocations: 43.97 kB / 364.3 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.02054, allocations: 0 / 364.3 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.02079, allocations: 27.86 kB / 364.3 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.02081, allocations: 11.94 kB / 364.3 MB, free: 184 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002494/0.02106, allocations: 148.1 kB / 364.5 MB, free: 32 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002076/0.02127, allocations: 96.33 kB / 364.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002801/0.02155, allocations: 117.7 kB / 364.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.02155, allocations: 0 / 364.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0004322/0.02198, allocations: 184.5 kB / 364.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.022, allocations: 7.984 kB / 364.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.022, allocations: 0 / 364.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-06/0.022, allocations: 0 / 364.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.0223, allocations: 35.98 kB / 364.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.02231, allocations: 8 kB / 364.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.02254, allocations: 27.91 kB / 364.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.02256, allocations: 4 kB / 364.9 MB, free: 15.53 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 0.0001807/0.02274, allocations: 184.2 kB / 365.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.02282, allocations: 19.91 kB / 365.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.02383, allocations: 280.8 kB / 365.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.02384, allocations: 3.938 kB / 365.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.02385, allocations: 0 / 365.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02385, allocations: 0 / 365.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.02425, allocations: 189.1 kB / 365.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.02426, allocations: 4 kB / 365.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.02439, allocations: 12 kB / 365.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006461/0.02504, allocations: 108.7 kB / 365.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.02507, allocations: 7.984 kB / 365.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.02835, allocations: 1.706 MB / 367.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02836, allocations: 4.062 kB / 367.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.02959, allocations: 443.7 kB / 367.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.02964, allocations: 15.91 kB / 367.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.02968, allocations: 4.188 kB / 367.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.02999, allocations: 28.02 kB / 367.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.03007, allocations: 19.91 kB / 367.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.03009, allocations: 4 kB / 367.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004208/0.03051, allocations: 168 kB / 368.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.03051, allocations: 0 / 368.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006253/0.03114, allocations: 51.89 kB / 368.2 MB, free: 12.14 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 0.0002603/0.0314, allocations: 107.2 kB / 368.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000753/0.03215, allocations: 199.7 kB / 368.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.03215, allocations: 0 / 368.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005785/0.03273, allocations: 211.9 kB / 368.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.03323, allocations: 35.11 kB / 368.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.03422, allocations: 380.9 kB / 369.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.03438, allocations: 120.2 kB / 369.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.03451, allocations: 41.11 kB / 369.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.03456, allocations: 16.5 kB / 369.2 MB, free: 11 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.03457, allocations: 4 kB / 369.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of Templates: time 0.006765/0.04133, allocations: 2.499 MB / 371.7 MB, free: 8.523 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=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: 4.6769532120088115]