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.001321/0.001321, 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.001476/0.001476, allocations: 215.2 kB / 23.76 MB, free: 4.52 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.439/1.439, 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.1412/0.1412, allocations: 24.03 MB / 338 MB, free: 11.35 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.002218/0.002218, allocations: 59.91 kB / 475.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3, allocations: 59.57 MB / 0.5229 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.002645/0.3026, allocations: 1.809 MB / 0.5247 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.303, allocations: 201.4 kB / 0.5248 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.3031, allocations: 4.969 kB / 0.5248 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.3033, allocations: 39.23 kB / 0.5249 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.3033, allocations: 19.09 kB / 0.5249 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3035, allocations: 89.47 kB / 0.525 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.3038, allocations: 241.9 kB / 0.5252 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3039, allocations: 41.48 kB / 0.5253 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.304, allocations: 93.28 kB / 0.5253 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3041, allocations: 80.09 kB / 0.5254 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.3041, allocations: 19.25 kB / 0.5254 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.204e-05/0.3041, allocations: 19.59 kB / 0.5255 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.3042, allocations: 47.86 kB / 0.5255 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.3042, allocations: 80.69 kB / 0.5256 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3044, allocations: 196.4 kB / 0.5258 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3045, allocations: 0.7969 kB / 0.5258 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3045, allocations: 1.156 kB / 0.5258 GB, free: 8.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3045, allocations: 0 / 0.5258 GB, free: 8.98 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.0007394/0.3052, allocations: 455 kB / 0.5262 GB, free: 8.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3052, allocations: 11.11 kB / 0.5262 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.3053, allocations: 24.95 kB / 0.5262 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.3056, allocations: 182.6 kB / 0.5264 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.3056, allocations: 19.28 kB / 0.5264 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.3056, allocations: 25.17 kB / 0.5265 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.3061, allocations: 243.9 kB / 0.5267 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3061, allocations: 1.312 kB / 0.5267 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.3061, allocations: 9.438 kB / 0.5267 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3061, allocations: 5.719 kB / 0.5267 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.3064, allocations: 160.7 kB / 0.5269 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.3079, allocations: 0.9208 MB / 0.5278 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.3082, allocations: 146.1 kB / 0.5279 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.3083, allocations: 68.2 kB / 0.528 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.3083, allocations: 2.719 kB / 0.528 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3083, allocations: 37.42 kB / 0.528 GB, free: 7.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.3083, allocations: 1.031 kB / 0.528 GB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005387/0.3089, allocations: 243.9 kB / 0.5282 GB, free: 7.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3089, allocations: 58.56 kB / 0.5283 GB, free: 7.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3091, allocations: 206.3 kB / 0.5285 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3091, allocations: 30.98 kB / 0.5285 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.3092, allocations: 153.6 kB / 0.5287 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.3092, allocations: 86.14 kB / 0.5287 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.3093, allocations: 78.02 kB / 0.5288 GB, free: 6.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.3094, allocations: 330.9 kB / 0.5291 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3095, allocations: 77.28 kB / 0.5292 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3097, allocations: 175 kB / 0.5294 GB, free: 6.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.311, allocations: 470.8 kB / 0.5298 GB, free: 6.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.311, allocations: 1.25 kB / 0.5298 GB, free: 6.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004851/0.3115, allocations: 302.3 kB / 0.5301 GB, free: 5.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3115, allocations: 14.06 kB / 0.5301 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3115, allocations: 3.375 kB / 0.5301 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3115, allocations: 8.594 kB / 0.5301 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.3118, allocations: 74.47 kB / 0.5302 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3119, allocations: 9.156 kB / 0.5302 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.312, allocations: 41.11 kB / 0.5303 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.312, allocations: 10.94 kB / 0.5303 GB, free: 5.863 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.0001399/0.3122, allocations: 144.4 kB / 0.5304 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.3122, allocations: 25.41 kB / 0.5304 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.3127, allocations: 230.7 kB / 0.5307 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3127, allocations: 2.594 kB / 0.5307 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3127, allocations: 0 / 0.5307 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3127, allocations: 1.547 kB / 0.5307 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.3131, allocations: 221.8 kB / 0.5309 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3131, allocations: 0 / 0.5309 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.3134, allocations: 58.47 kB / 0.5309 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3134, allocations: 1.188 kB / 0.5309 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3134, allocations: 11.09 kB / 0.5309 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3134, allocations: 1.891 kB / 0.5309 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3134, allocations: 0 / 0.5309 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.3139, allocations: 377 kB / 0.5313 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.314, allocations: 19.16 kB / 0.5313 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.314, allocations: 14 kB / 0.5313 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3142, allocations: 17.72 kB / 0.5313 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.3142, allocations: 24.05 kB / 0.5314 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3142, allocations: 5.062 kB / 0.5314 GB, free: 5.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.406e-05/0.3143, allocations: 139.7 kB / 0.5315 GB, free: 5.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3143, allocations: 0 / 0.5315 GB, free: 5.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3146, allocations: 48.33 kB / 0.5316 GB, free: 5.051 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 8.288e-05/0.3147, allocations: 105.3 kB / 0.5317 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.3151, allocations: 206.1 kB / 0.5318 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3151, allocations: 0 / 0.5318 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.3153, allocations: 84.48 kB / 0.5319 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3156, allocations: 35.41 kB / 0.532 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008326/0.3164, allocations: 0.5627 MB / 0.5325 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3165, allocations: 141.6 kB / 0.5326 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.3166, allocations: 24.25 kB / 0.5327 GB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3166, allocations: 0 / 0.5327 GB, free: 4.383 MB / 382.1 MB Notification: Performance of Templates: time 0.005186/0.3218, allocations: 2.723 MB / 0.5353 GB, free: 4.152 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: 7.306503630708903] Failed to read output from testmodel.py, exit status != 0: 0.32999266078695655 0.342616598 0.035076918000000006 Calling exit ...