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.00135/0.00135, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.001571/0.001571, allocations: 216.6 kB / 23.76 MB, free: 4.527 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.111/0.111, allocations: 24.04 MB / 338 MB, free: 11.33 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.002202/0.002202, allocations: 67.89 kB / 475.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2986, allocations: 59.57 MB / 0.5229 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.002699/0.3013, allocations: 1.807 MB / 0.5247 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3023, allocations: 0.6032 MB / 0.5252 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.3024, allocations: 1.906 kB / 0.5253 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.3027, allocations: 31.48 kB / 0.5253 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.3028, allocations: 35.45 kB / 0.5253 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.3031, allocations: 121 kB / 0.5254 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.3034, allocations: 233.9 kB / 0.5257 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3035, allocations: 46.44 kB / 0.5257 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3036, allocations: 95.62 kB / 0.5258 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3038, allocations: 90.33 kB / 0.5259 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.3038, allocations: 17.38 kB / 0.5259 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-05/0.3038, allocations: 15.84 kB / 0.5259 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.3039, allocations: 63.73 kB / 0.526 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.304, allocations: 60.86 kB / 0.526 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3042, allocations: 191.7 kB / 0.5262 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3042, allocations: 1.156 kB / 0.5262 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3042, allocations: 0 / 0.5262 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.3042, allocations: 0 / 0.5262 GB, free: 8.832 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.0009527/0.3052, allocations: 455 kB / 0.5266 GB, free: 8.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3052, allocations: 8.953 kB / 0.5267 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.3053, allocations: 22.7 kB / 0.5267 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.3057, allocations: 213.7 kB / 0.5269 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3057, allocations: 13.97 kB / 0.5269 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.3057, allocations: 13.45 kB / 0.5269 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.3061, allocations: 196.3 kB / 0.5271 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3061, allocations: 4 kB / 0.5271 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3061, allocations: 5.156 kB / 0.5271 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3061, allocations: 3.719 kB / 0.5271 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.3063, allocations: 133.5 kB / 0.5272 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.3071, allocations: 441.1 kB / 0.5277 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.3077, allocations: 190.8 kB / 0.5278 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3078, allocations: 66.58 kB / 0.5279 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3078, allocations: 2.031 kB / 0.5279 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.3078, allocations: 37.2 kB / 0.5279 GB, free: 7.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.3078, allocations: 0 / 0.5279 GB, free: 7.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001559/0.3094, allocations: 464 kB / 0.5284 GB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3094, allocations: 78.23 kB / 0.5285 GB, free: 7.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.3097, allocations: 221.2 kB / 0.5287 GB, free: 7.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3098, allocations: 30.92 kB / 0.5287 GB, free: 7.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.3098, allocations: 135 kB / 0.5288 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3099, allocations: 44.42 kB / 0.5289 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.3099, allocations: 36.31 kB / 0.5289 GB, free: 7.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.31, allocations: 328 kB / 0.5292 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.3101, allocations: 67.23 kB / 0.5293 GB, free: 6.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3102, allocations: 111.5 kB / 0.5294 GB, free: 6.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.3105, allocations: 144.2 kB / 0.5295 GB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3105, allocations: 4.031 kB / 0.5295 GB, free: 6.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003276/0.3108, allocations: 190.3 kB / 0.5297 GB, free: 6.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3108, allocations: 5.875 kB / 0.5297 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3109, allocations: 0 / 0.5297 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3109, allocations: 3.188 kB / 0.5297 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.3111, allocations: 43 kB / 0.5298 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3111, allocations: 1.688 kB / 0.5298 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.3113, allocations: 32.19 kB / 0.5298 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3113, allocations: 4.047 kB / 0.5298 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001294/0.3114, allocations: 148.7 kB / 0.5299 GB, free: 6.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.825e-05/0.3115, allocations: 104.2 kB / 0.53 GB, free: 6.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001622/0.3117, allocations: 121.2 kB / 0.5301 GB, free: 6.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.3117, allocations: 1.281 kB / 0.5301 GB, free: 6.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002347/0.3119, allocations: 161.9 kB / 0.5303 GB, free: 6.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.312, allocations: 6.031 kB / 0.5303 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-06/0.312, allocations: 3.938 kB / 0.5303 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-06/0.312, allocations: 5 kB / 0.5303 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.3122, allocations: 40.16 kB / 0.5304 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.3122, allocations: 1.562 kB / 0.5304 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3123, allocations: 29.25 kB / 0.5304 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3124, allocations: 3.141 kB / 0.5304 GB, free: 6.172 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.219e-05/0.3124, allocations: 187.8 kB / 0.5306 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.3125, allocations: 19.64 kB / 0.5306 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.3132, allocations: 290.3 kB / 0.5309 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3132, allocations: 1.031 kB / 0.5309 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3132, allocations: 0.75 kB / 0.5309 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3132, allocations: 2.719 kB / 0.5309 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.3134, allocations: 184.6 kB / 0.531 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3134, allocations: 2.375 kB / 0.531 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.3135, allocations: 11.84 kB / 0.5311 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.3138, allocations: 91.3 kB / 0.5311 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3138, allocations: 10.05 kB / 0.5312 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.3156, allocations: 1.694 MB / 0.5328 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3156, allocations: 0.5781 kB / 0.5328 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.3163, allocations: 440.3 kB / 0.5332 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.3164, allocations: 18.69 kB / 0.5332 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.3164, allocations: 10.44 kB / 0.5333 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3166, allocations: 22.98 kB / 0.5333 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.3167, allocations: 15.38 kB / 0.5333 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.3167, allocations: 3.312 kB / 0.5333 GB, free: 4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.317, allocations: 165 kB / 0.5335 GB, free: 3.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.317, allocations: 0 / 0.5335 GB, free: 3.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.3174, allocations: 54.7 kB / 0.5335 GB, free: 3.895 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.0001064/0.3175, allocations: 114.3 kB / 0.5336 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.318, allocations: 201.2 kB / 0.5338 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.318, allocations: 1.781 kB / 0.5338 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.3183, allocations: 208.2 kB / 0.534 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.3187, allocations: 24.78 kB / 0.534 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.3194, allocations: 440 kB / 0.5344 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3195, allocations: 122.3 kB / 0.5346 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.3195, allocations: 14.28 kB / 0.5346 GB, free: 3.207 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3195, allocations: 0 / 0.5346 GB, free: 3.207 MB / 382.1 MB Notification: Performance of Templates: time 0.005031/0.3246, allocations: 2.548 MB / 0.5371 GB, free: 3.023 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.664026171900332] Failed to read output from testmodel.py, exit status != 0: 0.33319687796756625 0.346358916 0.039110221 Calling exit ...