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.001448/0.001448, allocations: 77.59 kB / 19.96 MB, free: 1.75 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.001402/0.001402, allocations: 172.2 kB / 23.24 MB, free: 4.863 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.484/1.484, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.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.1036/0.1036, allocations: 18.13 MB / 278.1 MB, free: 15.06 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: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 416.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.453e-05/3.743e-05, allocations: 6.219 kB / 416.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003863/0.0039, allocations: 1.815 MB / 418.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.005494, allocations: 0.5921 MB / 418.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.005657, allocations: 7.938 kB / 418.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.005991, allocations: 31.78 kB / 418.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.00625, allocations: 39.66 kB / 418.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.006708, allocations: 135.7 kB / 419 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.007056, allocations: 175.6 kB / 419.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.007218, allocations: 41.73 kB / 419.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.007368, allocations: 67.75 kB / 419.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.00757, allocations: 75.83 kB / 419.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.007633, allocations: 20 kB / 419.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.523e-05/0.007668, allocations: 16 kB / 419.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.00778, allocations: 59.75 kB / 419.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.364e-05/0.007864, allocations: 47.89 kB / 419.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.008228, allocations: 191.3 kB / 419.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.008233, allocations: 0 / 419.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.008234, allocations: 0 / 419.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.008248, allocations: 3.938 kB / 419.7 MB, free: 14.45 MB / 350.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.001273/0.00952, allocations: 457.7 kB / 420.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.009561, allocations: 8.031 kB / 420.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.009634, allocations: 20.84 kB / 420.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.01026, allocations: 210.2 kB / 420.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.01028, allocations: 12.61 kB / 420.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.01033, allocations: 20.33 kB / 420.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.01073, allocations: 196.3 kB / 420.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.01074, allocations: 192 / 420.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.01076, allocations: 4.375 kB / 420.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.01077, allocations: 3.938 kB / 420.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.01107, allocations: 120.6 kB / 420.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01209, allocations: 448.8 kB / 421.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/0.01277, allocations: 182.5 kB / 421.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.01293, allocations: 68.83 kB / 421.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.01296, allocations: 4 kB / 421.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.01299, allocations: 38.55 kB / 421.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/0.01299, allocations: 0 / 421.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00179/0.01478, allocations: 462.1 kB / 421.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.01486, allocations: 77.11 kB / 422 MB, free: 12.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.01528, allocations: 226.9 kB / 422.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.01531, allocations: 25.7 kB / 422.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01542, allocations: 131.9 kB / 422.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.01547, allocations: 47.62 kB / 422.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.01555, allocations: 37.7 kB / 422.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.01572, allocations: 330.8 kB / 422.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.01587, allocations: 56.83 kB / 422.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.01607, allocations: 123.2 kB / 422.9 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.01638, allocations: 141.5 kB / 423 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.01639, allocations: 3.938 kB / 423.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005063/0.01689, allocations: 193.5 kB / 423.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01691, allocations: 4 kB / 423.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.01692, allocations: 4 kB / 423.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01694, allocations: 0 / 423.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.01721, allocations: 43.97 kB / 423.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01722, allocations: 0 / 423.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.01742, allocations: 31.84 kB / 423.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01744, allocations: 4 kB / 423.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001743/0.01761, allocations: 148.1 kB / 423.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002089/0.01782, allocations: 102.8 kB / 423.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002466/0.01807, allocations: 129.5 kB / 423.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.01807, allocations: 0 / 423.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0004964/0.01857, allocations: 175.9 kB / 423.9 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.01858, allocations: 7.984 kB / 423.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.01859, allocations: 0 / 423.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.01859, allocations: 4 kB / 423.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.01888, allocations: 31.98 kB / 423.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.01889, allocations: 4.062 kB / 423.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.01908, allocations: 35.86 kB / 424 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01909, allocations: 4 kB / 424 MB, free: 9.918 MB / 350.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 0.0001389/0.01923, allocations: 192.1 kB / 424.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.01928, allocations: 11.91 kB / 424.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007835/0.02006, allocations: 282.6 kB / 424.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.02007, allocations: 7.938 kB / 424.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.02007, allocations: 0 / 424.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.02008, allocations: 0 / 424.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.02037, allocations: 181.2 kB / 424.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02037, allocations: 0 / 424.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.02049, allocations: 12 kB / 424.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003937/0.02088, allocations: 88.78 kB / 424.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.0209, allocations: 4 kB / 424.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.02351, allocations: 1.702 MB / 426.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02351, allocations: 0 / 426.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009285/0.02444, allocations: 440.1 kB / 426.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.02447, allocations: 15.94 kB / 426.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.0245, allocations: 4 kB / 426.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.02472, allocations: 23.97 kB / 426.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.02478, allocations: 11.92 kB / 426.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.0248, allocations: 15.92 kB / 426.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.02512, allocations: 164 kB / 427.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02512, allocations: 0 / 427.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003939/0.02551, allocations: 55.89 kB / 427.1 MB, free: 6.57 MB / 350.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.0001534/0.02567, allocations: 105.8 kB / 427.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.02618, allocations: 203.8 kB / 427.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.02619, allocations: 4.125 kB / 427.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.02663, allocations: 214.5 kB / 427.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.02701, allocations: 26.91 kB / 427.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.02791, allocations: 374.1 kB / 428 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.02807, allocations: 128.2 kB / 428.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.02819, allocations: 33.11 kB / 428.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.02825, allocations: 16.5 kB / 428.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.02825, allocations: 4 kB / 428.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of Templates: time 0.007541/0.03579, allocations: 2.471 MB / 430.7 MB, free: 2.98 MB / 350.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: 4.65032060071826] Failed to read output from testmodel.py, exit status != 0: 0.046174030750989914 0.062591389 0.050973267 Calling exit ...