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.001624/0.001624, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002075/0.002075, allocations: 212.5 kB / 22.99 MB, free: 4.953 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1079/0.1079, allocations: 24.13 MB / 337.3 MB, free: 11.26 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.002038/0.002038, allocations: 71.88 kB / 475.2 MB, free: 5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 59.6 MB / 0.5223 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002296/0.3147, allocations: 0.9741 MB / 0.5233 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3164, allocations: 1.264 MB / 0.5245 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.3165, allocations: 2.406 kB / 0.5245 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.3168, allocations: 54.16 kB / 0.5245 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.317, allocations: 63.8 kB / 0.5246 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3173, allocations: 118 kB / 0.5247 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.3177, allocations: 363.5 kB / 0.5251 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3178, allocations: 20.08 kB / 0.5251 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.318, allocations: 138.2 kB / 0.5252 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.3182, allocations: 164.8 kB / 0.5254 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.3183, allocations: 17.84 kB / 0.5254 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.3183, allocations: 17.25 kB / 0.5254 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3185, allocations: 94.14 kB / 0.5255 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.3185, allocations: 73.56 kB / 0.5256 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.3188, allocations: 208.9 kB / 0.5258 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3188, allocations: 1.375 kB / 0.5258 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3188, allocations: 0 / 0.5258 GB, free: 8.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3188, allocations: 0 / 0.5258 GB, free: 8.633 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.00146/0.3203, allocations: 0.5867 MB / 0.5263 GB, free: 8.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3203, allocations: 10.14 kB / 0.5263 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.3203, allocations: 23.86 kB / 0.5264 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.3211, allocations: 293.8 kB / 0.5266 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3211, allocations: 12.8 kB / 0.5267 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.3212, allocations: 18.42 kB / 0.5267 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3215, allocations: 154.9 kB / 0.5268 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3215, allocations: 5.594 kB / 0.5268 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3215, allocations: 1 kB / 0.5268 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3215, allocations: 3.875 kB / 0.5268 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3218, allocations: 162.1 kB / 0.527 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.3227, allocations: 0.5058 MB / 0.5275 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.323, allocations: 203 kB / 0.5277 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3232, allocations: 102.1 kB / 0.5278 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3232, allocations: 5.109 kB / 0.5278 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.3233, allocations: 37.44 kB / 0.5278 GB, free: 7.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.3233, allocations: 4 kB / 0.5278 GB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.00133/0.3246, allocations: 477.7 kB / 0.5283 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.3246, allocations: 62.19 kB / 0.5283 GB, free: 7.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.3253, allocations: 337.8 kB / 0.5287 GB, free: 7.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.3253, allocations: 31.08 kB / 0.5287 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.3254, allocations: 131.5 kB / 0.5288 GB, free: 6.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.3255, allocations: 73.55 kB / 0.5289 GB, free: 6.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.3255, allocations: 40.22 kB / 0.5289 GB, free: 6.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.3256, allocations: 333.4 kB / 0.5292 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3258, allocations: 88.72 kB / 0.5293 GB, free: 6.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.3259, allocations: 89.89 kB / 0.5294 GB, free: 6.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.3278, allocations: 0.6133 MB / 0.53 GB, free: 6.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3278, allocations: 0 / 0.53 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000672/0.3285, allocations: 370.5 kB / 0.5304 GB, free: 6.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3285, allocations: 4.953 kB / 0.5304 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3285, allocations: 1.531 kB / 0.5304 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.3288, allocations: 67.62 kB / 0.5304 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.329, allocations: 42.34 kB / 0.5305 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.3304, allocations: 1.513 MB / 0.5319 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.3307, allocations: 56.77 kB / 0.532 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3308, allocations: 4.656 kB / 0.532 GB, free: 4.797 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.0001662/0.3309, allocations: 162.7 kB / 0.5322 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.331, allocations: 24.92 kB / 0.5322 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.331, allocations: 34.47 kB / 0.5322 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.331, allocations: 1.938 kB / 0.5322 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.331, allocations: 0.5938 kB / 0.5322 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3311, allocations: 5.594 kB / 0.5322 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.3314, allocations: 232 kB / 0.5324 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3314, allocations: 3.938 kB / 0.5325 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.3316, allocations: 32.28 kB / 0.5325 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.3318, allocations: 67.52 kB / 0.5325 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3318, allocations: 10.92 kB / 0.5326 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.3329, allocations: 1.51 MB / 0.534 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3329, allocations: 1.031 kB / 0.534 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.3338, allocations: 0.5249 MB / 0.5345 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.3338, allocations: 24.55 kB / 0.5346 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.3339, allocations: 8.969 kB / 0.5346 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.3343, allocations: 49.14 kB / 0.5346 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.3343, allocations: 12.75 kB / 0.5346 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3343, allocations: 8.031 kB / 0.5346 GB, free: 2.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00064/0.335, allocations: 268.6 kB / 0.5349 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.335, allocations: 0 / 0.5349 GB, free: 2.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.3353, allocations: 52.5 kB / 0.535 GB, free: 2.645 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.0001127/0.3354, allocations: 106.2 kB / 0.5351 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.3361, allocations: 359.1 kB / 0.5354 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3361, allocations: 0 / 0.5354 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.3364, allocations: 247.8 kB / 0.5356 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3368, allocations: 41.44 kB / 0.5357 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.3377, allocations: 0.5672 MB / 0.5362 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.3379, allocations: 165.1 kB / 0.5364 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.338, allocations: 20.3 kB / 0.5364 GB, free: 1.754 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.338, allocations: 3.938 kB / 0.5364 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Templates: time 0.006583/0.3445, allocations: 3.742 MB / 0.5401 GB, free: 0.7891 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: 8.021318359998986] Failed to read output from testmodel.py, exit status != 0: 0.3530583860119805 0.36801015699999995 0.046010060000000005 Calling exit ...