Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_basic.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.001485/0.001485, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001709/0.001709, allocations: 206.5 kB / 23.01 MB, free: 4.625 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1123/0.1123, allocations: 24.53 MB / 337.7 MB, free: 10.86 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_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") [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.002168/0.002168, allocations: 71.89 kB / 475.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4079, allocations: 59.7 MB / 0.523 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.00319/0.4111, allocations: 1.812 MB / 0.5248 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004755/0.4116, allocations: 200.7 kB / 0.525 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.4117, allocations: 5.188 kB / 0.525 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.4119, allocations: 30.7 kB / 0.525 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.412, allocations: 18.8 kB / 0.525 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.4122, allocations: 97.22 kB / 0.5251 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.4126, allocations: 235.8 kB / 0.5253 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4127, allocations: 40.66 kB / 0.5254 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.4128, allocations: 90.39 kB / 0.5255 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.413, allocations: 80.72 kB / 0.5255 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.413, allocations: 18.78 kB / 0.5256 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.4131, allocations: 19.22 kB / 0.5256 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.4131, allocations: 52.36 kB / 0.5256 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.197e-05/0.4132, allocations: 79.83 kB / 0.5257 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.4134, allocations: 201.3 kB / 0.5259 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4134, allocations: 0 / 0.5259 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4134, allocations: 1.156 kB / 0.5259 GB, free: 8.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4134, allocations: 0 / 0.5259 GB, free: 8.961 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.0008502/0.4143, allocations: 443.8 kB / 0.5263 GB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4143, allocations: 10.36 kB / 0.5263 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.4144, allocations: 25.86 kB / 0.5264 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4147, allocations: 186.7 kB / 0.5265 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.4147, allocations: 18.03 kB / 0.5266 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.4148, allocations: 25.55 kB / 0.5266 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.4152, allocations: 242.9 kB / 0.5268 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4152, allocations: 1.719 kB / 0.5268 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.4152, allocations: 9.312 kB / 0.5268 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4152, allocations: 9.641 kB / 0.5268 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.4155, allocations: 150.1 kB / 0.527 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.417, allocations: 0.9226 MB / 0.5279 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.4173, allocations: 142.9 kB / 0.528 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.4175, allocations: 70.34 kB / 0.5281 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.4175, allocations: 2.375 kB / 0.5281 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4175, allocations: 33.52 kB / 0.5281 GB, free: 7.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.4175, allocations: 4 kB / 0.5281 GB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005722/0.4181, allocations: 234.7 kB / 0.5283 GB, free: 7.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.4181, allocations: 57.62 kB / 0.5284 GB, free: 7.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.4183, allocations: 204.4 kB / 0.5286 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4184, allocations: 30.95 kB / 0.5286 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.4184, allocations: 156 kB / 0.5288 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.4185, allocations: 83.73 kB / 0.5288 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4186, allocations: 72.52 kB / 0.5289 GB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.4187, allocations: 334.6 kB / 0.5292 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.4189, allocations: 79.31 kB / 0.5293 GB, free: 6.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.4191, allocations: 165.7 kB / 0.5295 GB, free: 6.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.4205, allocations: 461.6 kB / 0.5299 GB, free: 6.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4205, allocations: 1.188 kB / 0.5299 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004902/0.421, allocations: 297.8 kB / 0.5302 GB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.421, allocations: 11.25 kB / 0.5302 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.421, allocations: 6.219 kB / 0.5302 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.421, allocations: 8.656 kB / 0.5302 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.4213, allocations: 82.69 kB / 0.5303 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4214, allocations: 5.406 kB / 0.5303 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.4215, allocations: 35.27 kB / 0.5303 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.4215, allocations: 14.22 kB / 0.5303 GB, free: 5.855 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.000157/0.4217, allocations: 148.8 kB / 0.5305 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.4217, allocations: 28.98 kB / 0.5305 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.4222, allocations: 224.6 kB / 0.5307 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4222, allocations: 1.25 kB / 0.5307 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4222, allocations: 1.281 kB / 0.5307 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4222, allocations: 1.875 kB / 0.5307 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.4226, allocations: 216.8 kB / 0.5309 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4226, allocations: 0 / 0.5309 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.4229, allocations: 61.59 kB / 0.531 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4229, allocations: 0.9062 kB / 0.531 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.423, allocations: 15.03 kB / 0.531 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.423, allocations: 1.797 kB / 0.531 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.423, allocations: 3.984 kB / 0.531 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.4235, allocations: 370.9 kB / 0.5314 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.4235, allocations: 19.39 kB / 0.5314 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.4236, allocations: 11.16 kB / 0.5314 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4237, allocations: 10.22 kB / 0.5314 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.4238, allocations: 27.2 kB / 0.5314 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.4238, allocations: 8.75 kB / 0.5314 GB, free: 5.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.4239, allocations: 139.5 kB / 0.5316 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4239, allocations: 4.625 kB / 0.5316 GB, free: 5.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.4242, allocations: 48.52 kB / 0.5316 GB, free: 5.027 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.0001026/0.4243, allocations: 100.3 kB / 0.5317 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.4248, allocations: 193.2 kB / 0.5319 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4248, allocations: 0 / 0.5319 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.425, allocations: 92.7 kB / 0.532 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4253, allocations: 27.77 kB / 0.532 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/0.4262, allocations: 0.5355 MB / 0.5326 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.4263, allocations: 144.4 kB / 0.5327 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.4264, allocations: 27.08 kB / 0.5327 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.4265, allocations: 25.92 kB / 0.5327 GB, free: 4.387 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4265, allocations: 0.9375 kB / 0.5327 GB, free: 4.387 MB / 382.1 MB Notification: Performance of Templates: time 0.006204/0.4327, allocations: 2.155 MB / 0.5348 GB, free: 4.156 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_basic.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3278906755149364] Failed to read output from testmodel.py, exit status != 0: 0.44280218333005905 0.45517042700000004 0.038762435000000005 Calling exit ...