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.001396/0.001396, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001543/0.001543, allocations: 212.6 kB / 23.01 MB, free: 4.992 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.523/1.523, allocations: 230.6 MB / 256.8 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.1081/0.1081, allocations: 24.03 MB / 337.2 MB, free: 11.34 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.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.002097/0.002097, allocations: 69.61 kB / 475.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4288, allocations: 59.57 MB / 0.5221 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.004765/0.4336, allocations: 1.817 MB / 0.5239 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.4345, allocations: 193.7 kB / 0.5241 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.4347, allocations: 5.219 kB / 0.5241 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.4349, allocations: 38.44 kB / 0.5241 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.435, allocations: 15.72 kB / 0.5242 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.4354, allocations: 92.95 kB / 0.5243 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000474/0.4359, allocations: 240.6 kB / 0.5245 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.4361, allocations: 43.19 kB / 0.5245 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.4363, allocations: 85.19 kB / 0.5246 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.4365, allocations: 84.11 kB / 0.5247 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.4365, allocations: 18.91 kB / 0.5247 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.4366, allocations: 20.03 kB / 0.5247 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.4367, allocations: 51.39 kB / 0.5248 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.4368, allocations: 72.03 kB / 0.5248 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.4371, allocations: 206 kB / 0.525 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4371, allocations: 0.7031 kB / 0.525 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4371, allocations: 0 / 0.525 GB, free: 9.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.4371, allocations: 0 / 0.525 GB, free: 9.012 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.001013/0.4381, allocations: 452.1 kB / 0.5255 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4382, allocations: 10.39 kB / 0.5255 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.4383, allocations: 25.23 kB / 0.5255 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.4388, allocations: 190.1 kB / 0.5257 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.4388, allocations: 18.88 kB / 0.5257 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.4389, allocations: 25.19 kB / 0.5257 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.4394, allocations: 237 kB / 0.5259 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.4394, allocations: 192 / 0.526 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.4394, allocations: 14.22 kB / 0.526 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4394, allocations: 6.25 kB / 0.526 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.4399, allocations: 155.2 kB / 0.5261 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.4416, allocations: 0.9175 MB / 0.527 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.442, allocations: 146.1 kB / 0.5272 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.4422, allocations: 64.05 kB / 0.5272 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.4422, allocations: 7.953 kB / 0.5272 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.4423, allocations: 39.56 kB / 0.5273 GB, free: 7.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.4423, allocations: 1.125 kB / 0.5273 GB, free: 7.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.00068/0.4429, allocations: 240.4 kB / 0.5275 GB, free: 7.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.443, allocations: 58.34 kB / 0.5275 GB, free: 7.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.4432, allocations: 209.9 kB / 0.5277 GB, free: 7.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.4433, allocations: 31.08 kB / 0.5278 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4434, allocations: 158 kB / 0.5279 GB, free: 6.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.4434, allocations: 84.97 kB / 0.528 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.4436, allocations: 73.41 kB / 0.5281 GB, free: 6.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.4437, allocations: 333.2 kB / 0.5284 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.4439, allocations: 81.25 kB / 0.5285 GB, free: 6.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.4441, allocations: 166.4 kB / 0.5286 GB, free: 6.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.4456, allocations: 470.8 kB / 0.5291 GB, free: 6.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.4456, allocations: 1.312 kB / 0.5291 GB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006287/0.4463, allocations: 304.3 kB / 0.5294 GB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.4463, allocations: 11.11 kB / 0.5294 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4463, allocations: 3.094 kB / 0.5294 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.4463, allocations: 4.562 kB / 0.5294 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.4467, allocations: 79.34 kB / 0.5295 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.4467, allocations: 9.344 kB / 0.5295 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.447, allocations: 40.92 kB / 0.5295 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.447, allocations: 14.81 kB / 0.5295 GB, free: 5.898 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.0002553/0.4473, allocations: 140.2 kB / 0.5297 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.4473, allocations: 25.91 kB / 0.5297 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.4479, allocations: 231.1 kB / 0.5299 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4479, allocations: 2.219 kB / 0.5299 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4479, allocations: 4 kB / 0.5299 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.4479, allocations: 2.594 kB / 0.5299 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.4484, allocations: 225.5 kB / 0.5301 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4484, allocations: 0 / 0.5301 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.4488, allocations: 53.7 kB / 0.5302 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4488, allocations: 1.125 kB / 0.5302 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.4488, allocations: 11.66 kB / 0.5302 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4488, allocations: 5.125 kB / 0.5302 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4488, allocations: 0 / 0.5302 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.4495, allocations: 385.2 kB / 0.5306 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.4496, allocations: 19.41 kB / 0.5306 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.4496, allocations: 10.22 kB / 0.5306 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.4498, allocations: 9.344 kB / 0.5306 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4499, allocations: 23.34 kB / 0.5306 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.4499, allocations: 8.969 kB / 0.5306 GB, free: 5.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.45, allocations: 135.6 kB / 0.5308 GB, free: 5.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.45, allocations: 1.094 kB / 0.5308 GB, free: 5.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.4505, allocations: 51.92 kB / 0.5308 GB, free: 5.082 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.0001608/0.4506, allocations: 112.8 kB / 0.5309 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006229/0.4512, allocations: 197.1 kB / 0.5311 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4512, allocations: 3.938 kB / 0.5311 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.4515, allocations: 87.66 kB / 0.5312 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.4519, allocations: 27.72 kB / 0.5312 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.4531, allocations: 0.5361 MB / 0.5317 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.4533, allocations: 140.3 kB / 0.5319 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.4535, allocations: 26.34 kB / 0.5319 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.4535, allocations: 23.19 kB / 0.5319 GB, free: 4.441 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4535, allocations: 0 / 0.5319 GB, free: 4.441 MB / 382.1 MB Notification: Performance of Templates: time 0.007221/0.4608, allocations: 2.205 MB / 0.5341 GB, free: 4.199 MB / 382.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 -variableFilter=.* -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: 5.175642130896449] Failed to read output from testmodel.py, exit status != 0: 0.4707369692623615 0.48650166300000003 0.045923797 Calling exit ...