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.001405/0.001405, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001586/0.001586, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.992 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.1154/0.1154, allocations: 24.14 MB / 336.6 MB, free: 11.44 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.002372/0.002372, allocations: 78.17 kB / 474.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3678, allocations: 59.59 MB / 0.5216 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002231/0.37, allocations: 1.031 MB / 0.5226 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3716, allocations: 1.306 MB / 0.5239 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.3717, allocations: 2.656 kB / 0.5239 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.372, allocations: 51.36 kB / 0.524 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.3722, allocations: 70.88 kB / 0.524 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.3725, allocations: 115 kB / 0.5242 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.373, allocations: 358.7 kB / 0.5245 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3731, allocations: 22.66 kB / 0.5245 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3733, allocations: 133.4 kB / 0.5246 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.3735, allocations: 168.5 kB / 0.5248 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.3736, allocations: 17.38 kB / 0.5248 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.3736, allocations: 17 kB / 0.5248 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.3737, allocations: 92.19 kB / 0.5249 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.3738, allocations: 93 kB / 0.525 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.3741, allocations: 206.4 kB / 0.5252 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3741, allocations: 1.188 kB / 0.5252 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3741, allocations: 0 / 0.5252 GB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.3741, allocations: 0 / 0.5252 GB, free: 8.699 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.00159/0.3757, allocations: 0.5819 MB / 0.5258 GB, free: 8.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3757, allocations: 10.64 kB / 0.5258 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.3758, allocations: 27.39 kB / 0.5258 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/0.3766, allocations: 290.7 kB / 0.5261 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3766, allocations: 11.72 kB / 0.5261 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.3767, allocations: 21.7 kB / 0.5261 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.377, allocations: 160.2 kB / 0.5263 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.377, allocations: 0.5625 kB / 0.5263 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.377, allocations: 9.188 kB / 0.5263 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.377, allocations: 2.812 kB / 0.5263 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.3773, allocations: 160.7 kB / 0.5264 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.3783, allocations: 0.5654 MB / 0.527 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.3787, allocations: 203 kB / 0.5272 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.3789, allocations: 102.1 kB / 0.5273 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.3789, allocations: 10.42 kB / 0.5273 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.379, allocations: 32.62 kB / 0.5273 GB, free: 7.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.379, allocations: 0 / 0.5273 GB, free: 7.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001643/0.3806, allocations: 484.5 kB / 0.5278 GB, free: 7.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3806, allocations: 54.16 kB / 0.5278 GB, free: 7.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/0.3814, allocations: 338.2 kB / 0.5282 GB, free: 7.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3814, allocations: 29.7 kB / 0.5282 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.3815, allocations: 136.2 kB / 0.5283 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.3816, allocations: 70.41 kB / 0.5284 GB, free: 6.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.3816, allocations: 43.23 kB / 0.5284 GB, free: 6.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.3817, allocations: 333.6 kB / 0.5287 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3819, allocations: 91.64 kB / 0.5288 GB, free: 6.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.382, allocations: 89.95 kB / 0.5289 GB, free: 6.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.3842, allocations: 0.6191 MB / 0.5295 GB, free: 6.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3842, allocations: 0 / 0.5295 GB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007575/0.3849, allocations: 362.8 kB / 0.5299 GB, free: 6.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.385, allocations: 11.25 kB / 0.5299 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.385, allocations: 0 / 0.5299 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.3853, allocations: 72.58 kB / 0.53 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3855, allocations: 34.23 kB / 0.53 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.387, allocations: 1.546 MB / 0.5315 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.3874, allocations: 57.81 kB / 0.5315 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3874, allocations: 5.25 kB / 0.5316 GB, free: 4.777 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.0001974/0.3876, allocations: 170.8 kB / 0.5317 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.3877, allocations: 21.92 kB / 0.5317 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.861e-05/0.3878, allocations: 35.52 kB / 0.5318 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3878, allocations: 6.375 kB / 0.5318 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3878, allocations: 0.75 kB / 0.5318 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3878, allocations: 1.984 kB / 0.5318 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.3882, allocations: 286.5 kB / 0.5321 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3882, allocations: 0.6875 kB / 0.5321 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.3884, allocations: 27.88 kB / 0.5321 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.3887, allocations: 70.12 kB / 0.5321 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3887, allocations: 9.344 kB / 0.5322 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.39, allocations: 1.544 MB / 0.5337 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.39, allocations: 1.188 kB / 0.5337 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.3909, allocations: 0.5246 MB / 0.5342 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.3909, allocations: 24.52 kB / 0.5342 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.391, allocations: 12.88 kB / 0.5342 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3914, allocations: 44.91 kB / 0.5343 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.3914, allocations: 16.78 kB / 0.5343 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3915, allocations: 3.891 kB / 0.5343 GB, free: 2.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006985/0.3922, allocations: 272 kB / 0.5345 GB, free: 2.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3922, allocations: 0 / 0.5345 GB, free: 2.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.3925, allocations: 49.28 kB / 0.5346 GB, free: 2.543 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.000127/0.3926, allocations: 117.1 kB / 0.5347 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007731/0.3934, allocations: 355.8 kB / 0.535 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3934, allocations: 0 / 0.535 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.3938, allocations: 246.3 kB / 0.5353 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.3943, allocations: 32.69 kB / 0.5353 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.3955, allocations: 0.5379 MB / 0.5358 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3958, allocations: 0.7605 MB / 0.5366 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.396, allocations: 61.3 kB / 0.5366 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.3961, allocations: 19.36 kB / 0.5366 GB, free: 1.062 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3961, allocations: 3.938 kB / 0.5366 GB, free: 1.059 MB / 382.1 MB Notification: Performance of Templates: time 0.008591/0.4047, allocations: 3.417 MB / 0.54 GB, free: 284 kB / 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.358859551837668] Failed to read output from testmodel.py, exit status != 0: 0.41441718488931656 0.430059358 0.052655954000000005 Calling exit ...