Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.001878/0.001878, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.002446/0.002446, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1064/0.1064, allocations: 24.03 MB / 333.6 MB, free: 1.559 MB / 254.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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") [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.00227/0.00227, allocations: 65.03 kB / 469.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1049, allocations: 59.56 MB / 0.5167 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.003102/0.108, allocations: 1.868 MB / 0.5186 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004365/0.1084, allocations: 207 kB / 0.5188 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1085, allocations: 7.938 kB / 0.5188 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.1087, allocations: 31.61 kB / 0.5188 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.1087, allocations: 23.8 kB / 0.5188 GB, free: 8.941 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.109, allocations: 91.81 kB / 0.5189 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1092, allocations: 232.8 kB / 0.5191 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1094, allocations: 44.39 kB / 0.5192 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.1095, allocations: 83.69 kB / 0.5193 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1096, allocations: 99.41 kB / 0.5194 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.1096, allocations: 23.94 kB / 0.5194 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.057e-05/0.1097, allocations: 20 kB / 0.5194 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.1097, allocations: 51.83 kB / 0.5194 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.475e-05/0.1098, allocations: 95.45 kB / 0.5195 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.11, allocations: 199 kB / 0.5197 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.11, allocations: 0 / 0.5197 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.11, allocations: 0 / 0.5197 GB, free: 8.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.11, allocations: 0 / 0.5197 GB, free: 8.023 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008638/0.1109, allocations: 0.5106 MB / 0.5202 GB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1109, allocations: 16.62 kB / 0.5202 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.111, allocations: 24.8 kB / 0.5203 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1113, allocations: 232.7 kB / 0.5205 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.1113, allocations: 20.81 kB / 0.5205 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.1114, allocations: 28.36 kB / 0.5205 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.1118, allocations: 236.8 kB / 0.5208 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1118, allocations: 192 / 0.5208 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.1119, allocations: 11.94 kB / 0.5208 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.1119, allocations: 8 kB / 0.5208 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.1122, allocations: 160.9 kB / 0.5209 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.1139, allocations: 1.022 MB / 0.5219 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1142, allocations: 150.6 kB / 0.5221 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.1144, allocations: 64.83 kB / 0.5221 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.1144, allocations: 11.92 kB / 0.5221 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1144, allocations: 38.55 kB / 0.5222 GB, free: 5.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.1144, allocations: 0 / 0.5222 GB, free: 5.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005759/0.115, allocations: 243.8 kB / 0.5224 GB, free: 5.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.115, allocations: 55.41 kB / 0.5225 GB, free: 5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1152, allocations: 215 kB / 0.5227 GB, free: 4.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1153, allocations: 29.7 kB / 0.5227 GB, free: 4.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1154, allocations: 156.4 kB / 0.5228 GB, free: 4.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.1154, allocations: 83.27 kB / 0.5229 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.724e-05/0.1155, allocations: 69.69 kB / 0.523 GB, free: 4.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1157, allocations: 330.8 kB / 0.5233 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1158, allocations: 79.73 kB / 0.5234 GB, free: 4.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.1161, allocations: 168.5 kB / 0.5235 GB, free: 3.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.1175, allocations: 481.5 kB / 0.524 GB, free: 3.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1175, allocations: 0 / 0.524 GB, free: 3.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005455/0.1181, allocations: 309.2 kB / 0.5243 GB, free: 2.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1181, allocations: 4 kB / 0.5243 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1181, allocations: 4 kB / 0.5243 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1181, allocations: 4 kB / 0.5243 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.1184, allocations: 84.2 kB / 0.5244 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1185, allocations: 15.94 kB / 0.5244 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.1186, allocations: 39.72 kB / 0.5244 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1186, allocations: 16 kB / 0.5245 GB, free: 2.832 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: P_I.y:VARIABLE(flow=false start = P_I.y_start fixed = true ) \"Connector of Real output signal\" type: Real P_E.y:VARIABLE(flow=false start = P_E.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_I.iNoDec,PI_I.iNoInc,PI_I.iTS,PI_E.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001843/0.1188, allocations: 138 kB / 0.5246 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.1189, allocations: 23.8 kB / 0.5246 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.1194, allocations: 231.2 kB / 0.5248 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1194, allocations: 0 / 0.5248 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1194, allocations: 0 / 0.5248 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1194, allocations: 0 / 0.5248 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.1199, allocations: 317.4 kB / 0.5251 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1199, allocations: 3.938 kB / 0.5251 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.1202, allocations: 59.84 kB / 0.5252 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1202, allocations: 0 / 0.5252 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1203, allocations: 8 kB / 0.5252 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1203, allocations: 7.984 kB / 0.5252 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1203, allocations: 3.984 kB / 0.5252 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.1209, allocations: 373.3 kB / 0.5256 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.1209, allocations: 104.8 kB / 0.5257 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.121, allocations: 4 kB / 0.5257 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.1211, allocations: 11.98 kB / 0.5257 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.1212, allocations: 27.97 kB / 0.5257 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1212, allocations: 7.984 kB / 0.5257 GB, free: 1.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1213, allocations: 147.6 kB / 0.5259 GB, free: 1.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1213, allocations: 3.938 kB / 0.5259 GB, free: 1.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000299/0.1216, allocations: 43.94 kB / 0.5259 GB, free: 1.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0001184/0.1217, allocations: 103.2 kB / 0.526 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.1222, allocations: 198.4 kB / 0.5262 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1222, allocations: 4 kB / 0.5262 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.1224, allocations: 91.89 kB / 0.5263 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1227, allocations: 28.61 kB / 0.5263 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.1236, allocations: 0.537 MB / 0.5268 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.124, allocations: 0.7443 MB / 0.5276 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.1241, allocations: 30.3 kB / 0.5276 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.1242, allocations: 23.42 kB / 0.5276 GB, free: 15.43 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1242, allocations: 3.938 kB / 0.5276 GB, free: 15.43 MB / 398.1 MB Notification: Performance of Templates: time 0.005512/0.1297, allocations: 2.144 MB / 0.5297 GB, free: 13.29 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_with_locks -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.674249291419983] Failed to read output from testmodel.py, exit status != 0: 0.13723437674343586 0.149941517 0.037199483000000005 Calling exit ...