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.0007441/0.0007441, allocations: 104.3 kB / 20.46 MB, free: 4.574 MB / 13.93 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.0007619/0.0007619, allocations: 222 kB / 23.77 MB, free: 2.105 MB / 13.93 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 0.8795/0.8795, allocations: 230.6 MB / 257.5 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] 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.06389/0.06389, allocations: 24.52 MB / 338.5 MB, free: 9.859 MB / 266.7 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.0009171/0.0009171, allocations: 59.91 kB / 476.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.08164, allocations: 59.71 MB / 0.5238 GB, free: 2.312 MB / 378.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002213/0.08386, allocations: 1.806 MB / 0.5255 GB, free: 500 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.08423, allocations: 203.1 kB / 0.5257 GB, free: 296 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.08431, allocations: 3.938 kB / 0.5257 GB, free: 292 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.08443, allocations: 35.55 kB / 0.5258 GB, free: 256 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.08448, allocations: 19.81 kB / 0.5258 GB, free: 236 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.08467, allocations: 91.86 kB / 0.5259 GB, free: 144 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.08488, allocations: 236.8 kB / 0.5261 GB, free: 15.91 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.085, allocations: 48.53 kB / 0.5261 GB, free: 15.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.08507, allocations: 79.7 kB / 0.5262 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.319e-05/0.08516, allocations: 83.53 kB / 0.5263 GB, free: 15.7 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.08519, allocations: 20 kB / 0.5263 GB, free: 15.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.08521, allocations: 27.94 kB / 0.5263 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.08524, allocations: 47.83 kB / 0.5264 GB, free: 15.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.08529, allocations: 75.59 kB / 0.5265 GB, free: 15.54 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.08546, allocations: 203 kB / 0.5266 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.08547, allocations: 0 / 0.5266 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.08547, allocations: 0 / 0.5266 GB, free: 15.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.08547, allocations: 3.938 kB / 0.5267 GB, free: 15.33 MB / 394.7 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.0005637/0.08604, allocations: 445.7 kB / 0.5271 GB, free: 14.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.08608, allocations: 12.03 kB / 0.5271 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.08612, allocations: 28.73 kB / 0.5271 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.08636, allocations: 178.8 kB / 0.5273 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.08639, allocations: 20.81 kB / 0.5273 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.08642, allocations: 24.38 kB / 0.5273 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.08671, allocations: 236.8 kB / 0.5276 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.08672, allocations: 4.188 kB / 0.5276 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.08674, allocations: 7.938 kB / 0.5276 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.08675, allocations: 4 kB / 0.5276 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.08694, allocations: 157 kB / 0.5277 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.08799, allocations: 0.9123 MB / 0.5286 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.08821, allocations: 142.6 kB / 0.5287 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.08829, allocations: 64.84 kB / 0.5288 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.08832, allocations: 4 kB / 0.5288 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.08834, allocations: 30.56 kB / 0.5288 GB, free: 12.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.664e-06/0.08834, allocations: 0 / 0.5288 GB, free: 12.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.000347/0.08869, allocations: 240.2 kB / 0.5291 GB, free: 12.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.08871, allocations: 59.34 kB / 0.5291 GB, free: 12.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.08884, allocations: 207.7 kB / 0.5293 GB, free: 12.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.08886, allocations: 29.7 kB / 0.5294 GB, free: 12.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.08893, allocations: 160.3 kB / 0.5295 GB, free: 12.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.08897, allocations: 83.33 kB / 0.5296 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.08904, allocations: 69.66 kB / 0.5297 GB, free: 12.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.08913, allocations: 334.8 kB / 0.53 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.08923, allocations: 79.64 kB / 0.53 GB, free: 11.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.08935, allocations: 167 kB / 0.5302 GB, free: 11.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.09013, allocations: 468.7 kB / 0.5307 GB, free: 10.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.09013, allocations: 0 / 0.5307 GB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003123/0.09044, allocations: 305.3 kB / 0.5309 GB, free: 10.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.09046, allocations: 7.938 kB / 0.531 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.09046, allocations: 4 kB / 0.531 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.09048, allocations: 4 kB / 0.531 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.09064, allocations: 75.91 kB / 0.531 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.09065, allocations: 11.94 kB / 0.531 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.09073, allocations: 31.83 kB / 0.5311 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.09075, allocations: 12 kB / 0.5311 GB, free: 10.5 MB / 394.7 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.0001446/0.09089, allocations: 158 kB / 0.5312 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.09092, allocations: 27.8 kB / 0.5313 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.0912, allocations: 219.4 kB / 0.5315 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.0912, allocations: 0 / 0.5315 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.0912, allocations: 4 kB / 0.5315 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.09121, allocations: 0 / 0.5315 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.09147, allocations: 225.1 kB / 0.5317 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.09147, allocations: 7.938 kB / 0.5317 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.09163, allocations: 59.97 kB / 0.5318 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.09163, allocations: 0 / 0.5318 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.09165, allocations: 7.938 kB / 0.5318 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.09165, allocations: 0 / 0.5318 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.09165, allocations: 0 / 0.5318 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.09201, allocations: 377.1 kB / 0.5321 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.09203, allocations: 19.84 kB / 0.5321 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.09205, allocations: 7.938 kB / 0.5321 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.09212, allocations: 7.984 kB / 0.5322 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.09217, allocations: 23.97 kB / 0.5322 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.09218, allocations: 11.98 kB / 0.5322 GB, free: 9.305 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.893e-05/0.09225, allocations: 137.5 kB / 0.5323 GB, free: 9.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09225, allocations: 0 / 0.5323 GB, free: 9.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.09246, allocations: 51.83 kB / 0.5324 GB, free: 9.121 MB / 394.7 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 7.965e-05/0.09254, allocations: 107.3 kB / 0.5325 GB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.0928, allocations: 200 kB / 0.5327 GB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.09281, allocations: 0 / 0.5327 GB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.09291, allocations: 91.14 kB / 0.5328 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.09313, allocations: 23.94 kB / 0.5328 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.09379, allocations: 0.5548 MB / 0.5333 GB, free: 8.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.749e-05/0.09388, allocations: 142.8 kB / 0.5335 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.09394, allocations: 27.42 kB / 0.5335 GB, free: 7.93 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.09394, allocations: 0 / 0.5335 GB, free: 7.93 MB / 394.7 MB Notification: Performance of Templates: time 0.003098/0.09704, allocations: 2.706 MB / 0.5361 GB, free: 5.215 MB / 394.7 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: 4.380972363054752] Failed to read output from testmodel.py, exit status != 0: 0.10206371685490012 0.11018522500000001 0.023079319 Calling exit ...