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.0009843/0.0009843, allocations: 77.88 kB / 21.46 MB, free: 3.047 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.001179/0.001179, allocations: 168.5 kB / 24.86 MB, free: 9.254 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.044/1.044, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.09049/0.09049, allocations: 18.13 MB / 280 MB, free: 11.18 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.713e-06/1.713e-06, allocations: 0 / 359.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.718e-05, allocations: 6.312 kB / 359.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003418/0.003445, allocations: 1.853 MB / 361.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.00457, allocations: 0.6153 MB / 361.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.00466, allocations: 4 kB / 361.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.004907, allocations: 27.72 kB / 361.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.005023, allocations: 39.72 kB / 361.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.005269, allocations: 135.7 kB / 362.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.005436, allocations: 183.4 kB / 362.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.005537, allocations: 41.78 kB / 362.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.005613, allocations: 63.81 kB / 362.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.005729, allocations: 91.67 kB / 362.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.005756, allocations: 16 kB / 362.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.051e-05/0.005777, allocations: 16 kB / 362.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.005842, allocations: 47.84 kB / 362.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.005889, allocations: 51.83 kB / 362.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.006043, allocations: 131.5 kB / 362.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006045, allocations: 8 kB / 362.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006046, allocations: 0 / 362.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.00605, allocations: 0 / 362.7 MB, free: 3.348 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.0005338/0.006584, allocations: 0.5077 MB / 363.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.006614, allocations: 8.031 kB / 363.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.006659, allocations: 32.84 kB / 363.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.0069, allocations: 201.8 kB / 363.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.006911, allocations: 12.61 kB / 363.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.006937, allocations: 12.38 kB / 363.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.007096, allocations: 141.3 kB / 363.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.007109, allocations: 192 / 363.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.007124, allocations: 8.375 kB / 363.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.007129, allocations: 3.938 kB / 363.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.452e-05/0.007193, allocations: 44.59 kB / 363.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.007664, allocations: 428.5 kB / 364.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.007889, allocations: 107.1 kB / 364.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.008, allocations: 27.69 kB / 364.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.008016, allocations: 4 kB / 364.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.008037, allocations: 41.31 kB / 364.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.008038, allocations: 4 kB / 364.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006314/0.00867, allocations: 273.1 kB / 364.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.008705, allocations: 81.05 kB / 364.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.00883, allocations: 234.6 kB / 364.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.008848, allocations: 37.7 kB / 364.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.008917, allocations: 170.7 kB / 365 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.008946, allocations: 47.59 kB / 365.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.008991, allocations: 39.34 kB / 365.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.009111, allocations: 0.504 MB / 365.6 MB, free: 204 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.009144, allocations: 19.69 kB / 365.7 MB, free: 180 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.0092, allocations: 80.67 kB / 365.7 MB, free: 80 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.508e-05/0.009276, allocations: 63.28 kB / 365.8 MB, free: 8 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009277, allocations: 0 / 365.8 MB, free: 8 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000143/0.00942, allocations: 112.4 kB / 365.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.009431, allocations: 12.05 kB / 365.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.009435, allocations: 0 / 365.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.009445, allocations: 4 kB / 365.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.009707, allocations: 35.92 kB / 366 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.00971, allocations: 0 / 366 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.009769, allocations: 19.94 kB / 366 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.009777, allocations: 4 kB / 366 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.143e-05/0.009839, allocations: 138.9 kB / 366.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.697e-05/0.009886, allocations: 76.73 kB / 366.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.108e-05/0.009947, allocations: 71.25 kB / 366.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-07/0.009947, allocations: 0 / 366.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.000111/0.01006, allocations: 101 kB / 366.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.01006, allocations: 15.92 kB / 366.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.01007, allocations: 4 kB / 366.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-06/0.01007, allocations: 0 / 366.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01017, allocations: 35.98 kB / 366.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.01017, allocations: 7.938 kB / 366.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.01022, allocations: 7.938 kB / 366.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.01022, allocations: 8.031 kB / 366.4 MB, free: 15.33 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 8.218e-05/0.01031, allocations: 272 kB / 366.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.01034, allocations: 31.83 kB / 366.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.0106, allocations: 162.6 kB / 366.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.0106, allocations: 0 / 366.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.0106, allocations: 3.938 kB / 366.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01061, allocations: 3.984 kB / 366.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.01076, allocations: 145.2 kB / 367 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01076, allocations: 4 kB / 367 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.01081, allocations: 15.98 kB / 367.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.01102, allocations: 59.62 kB / 367.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01103, allocations: 0 / 367.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009756/0.012, allocations: 1.898 MB / 369 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.012, allocations: 4 kB / 369 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.01229, allocations: 334.1 kB / 369.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.0123, allocations: 15.84 kB / 369.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.01232, allocations: 8.031 kB / 369.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.01239, allocations: 7.984 kB / 369.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.01242, allocations: 15.98 kB / 369.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.01243, allocations: 3.984 kB / 369.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003424/0.01277, allocations: 163.9 kB / 369.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01277, allocations: 0 / 369.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.01299, allocations: 55.89 kB / 369.6 MB, free: 11.97 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 7.792e-05/0.01307, allocations: 103.2 kB / 369.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.01323, allocations: 115.2 kB / 369.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.81e-07/0.01323, allocations: 0 / 369.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.01341, allocations: 246.7 kB / 370.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.01362, allocations: 28.42 kB / 370.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.01401, allocations: 334.5 kB / 370.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.01406, allocations: 79.92 kB / 370.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.01411, allocations: 17.27 kB / 370.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.0142, allocations: 98.17 kB / 370.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0142, allocations: 0 / 370.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Templates: time 0.004233/0.01843, allocations: 2.784 MB / 373.4 MB, free: 8.121 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: 2.9388533951714635]