Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.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.001328/0.001328, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001618/0.001618, allocations: 220.4 kB / 22.25 MB, free: 5.258 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.797 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.1069/0.1069, allocations: 24.13 MB / 336.6 MB, free: 11.22 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") [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.003866/0.003866, allocations: 63.91 kB / 474.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.4005, allocations: 59.6 MB / 0.5216 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002332/0.4028, allocations: 0.9814 MB / 0.5225 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.4045, allocations: 1.263 MB / 0.5237 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.4047, allocations: 1.219 kB / 0.5237 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.405, allocations: 58.17 kB / 0.5238 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.4052, allocations: 66.19 kB / 0.5239 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.4056, allocations: 121.5 kB / 0.524 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006743/0.4062, allocations: 359.9 kB / 0.5243 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.4064, allocations: 20.95 kB / 0.5243 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.4068, allocations: 134.7 kB / 0.5245 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.4072, allocations: 163.4 kB / 0.5246 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/0.4073, allocations: 17.72 kB / 0.5246 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.4073, allocations: 16.44 kB / 0.5247 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.4075, allocations: 91.09 kB / 0.5248 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.4077, allocations: 73.84 kB / 0.5248 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.4081, allocations: 209.2 kB / 0.525 GB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4081, allocations: 5 kB / 0.525 GB, free: 8.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4081, allocations: 0 / 0.525 GB, free: 8.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.4081, allocations: 0 / 0.525 GB, free: 8.754 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001886/0.41, allocations: 0.5815 MB / 0.5256 GB, free: 8.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.41, allocations: 13.55 kB / 0.5256 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.4101, allocations: 26.27 kB / 0.5256 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.4109, allocations: 293 kB / 0.5259 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4109, allocations: 9.562 kB / 0.5259 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.411, allocations: 19.67 kB / 0.5259 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.4113, allocations: 161.7 kB / 0.5261 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.4113, allocations: 1.031 kB / 0.5261 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.4113, allocations: 0.9375 kB / 0.5261 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4113, allocations: 2.188 kB / 0.5261 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.4116, allocations: 159.9 kB / 0.5262 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.4126, allocations: 0.5021 MB / 0.5267 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.4129, allocations: 197.8 kB / 0.5269 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.4131, allocations: 103.2 kB / 0.527 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.4131, allocations: 5.453 kB / 0.527 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.4131, allocations: 45.73 kB / 0.5271 GB, free: 7.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.4131, allocations: 0 / 0.5271 GB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001424/0.4146, allocations: 479.8 kB / 0.5275 GB, free: 7.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.4146, allocations: 61.38 kB / 0.5276 GB, free: 7.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.4153, allocations: 334.8 kB / 0.5279 GB, free: 7.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.4153, allocations: 30.8 kB / 0.5279 GB, free: 7.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.4154, allocations: 131 kB / 0.5281 GB, free: 7.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.4155, allocations: 81.7 kB / 0.5281 GB, free: 7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.4155, allocations: 40.2 kB / 0.5282 GB, free: 6.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.4156, allocations: 335.2 kB / 0.5285 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.4158, allocations: 87.98 kB / 0.5286 GB, free: 6.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.4159, allocations: 89.89 kB / 0.5287 GB, free: 6.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.4181, allocations: 0.6169 MB / 0.5293 GB, free: 6.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4181, allocations: 0 / 0.5293 GB, free: 6.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008174/0.4189, allocations: 366.9 kB / 0.5296 GB, free: 6.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.419, allocations: 5.297 kB / 0.5296 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.419, allocations: 1.219 kB / 0.5296 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.4193, allocations: 71.55 kB / 0.5297 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4195, allocations: 41.44 kB / 0.5297 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.4208, allocations: 1.505 MB / 0.5312 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.4212, allocations: 63.47 kB / 0.5313 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.4213, allocations: 4.031 kB / 0.5313 GB, free: 4.918 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: C.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.4214, allocations: 167.5 kB / 0.5314 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.4215, allocations: 22.31 kB / 0.5315 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.4215, allocations: 38.02 kB / 0.5315 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4215, allocations: 1.875 kB / 0.5315 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4216, allocations: 0.7188 kB / 0.5315 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4216, allocations: 4.75 kB / 0.5315 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.4218, allocations: 228.8 kB / 0.5317 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4219, allocations: 1.281 kB / 0.5317 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4221, allocations: 28.52 kB / 0.5317 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/0.4223, allocations: 72.28 kB / 0.5318 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.4223, allocations: 8.422 kB / 0.5318 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.4234, allocations: 1.513 MB / 0.5333 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4234, allocations: 0 / 0.5333 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/0.4243, allocations: 0.5299 MB / 0.5338 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.4243, allocations: 24.69 kB / 0.5338 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.4244, allocations: 8.25 kB / 0.5338 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.4248, allocations: 45.27 kB / 0.5339 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.4248, allocations: 12.33 kB / 0.5339 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4249, allocations: 12.02 kB / 0.5339 GB, free: 2.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006762/0.4255, allocations: 264.9 kB / 0.5342 GB, free: 2.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4255, allocations: 0 / 0.5342 GB, free: 2.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.4259, allocations: 53.31 kB / 0.5342 GB, free: 2.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Pol.x_scaled[1],Pol.x_scaled[2],Pcl.x_scaled[1],Pcl.x_scaled[2],C.x_scaled[1],C.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001014/0.426, allocations: 109.5 kB / 0.5343 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006237/0.4266, allocations: 351.2 kB / 0.5347 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4266, allocations: 1.125 kB / 0.5347 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.4269, allocations: 243.3 kB / 0.5349 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.4273, allocations: 42.22 kB / 0.5349 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.4282, allocations: 0.5428 MB / 0.5355 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.4283, allocations: 157.2 kB / 0.5356 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.4285, allocations: 58.84 kB / 0.5357 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.4286, allocations: 22.2 kB / 0.5357 GB, free: 1.895 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4286, allocations: 0 / 0.5357 GB, free: 1.895 MB / 382.1 MB Notification: Performance of Templates: time 0.007969/0.4365, allocations: 3.306 MB / 0.5389 GB, free: 1.176 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.sim & ./AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.139053832739592] Failed to read output from testmodel.py, exit status != 0: 0.4482180178165436 0.45965265400000005 0.048385845000000004 Calling exit ...