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.001336/0.001336, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001502/0.001502, allocations: 211.8 kB / 23 MB, free: 4.934 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1112/0.1112, allocations: 24.13 MB / 337.3 MB, free: 11.24 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.002061/0.002061, allocations: 63.91 kB / 475.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 59.6 MB / 0.5223 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002237/0.3266, allocations: 0.9828 MB / 0.5233 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3282, allocations: 1.264 MB / 0.5245 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.3283, allocations: 1.469 kB / 0.5245 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3286, allocations: 59.17 kB / 0.5246 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.3288, allocations: 64.14 kB / 0.5246 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.3291, allocations: 117.9 kB / 0.5247 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3295, allocations: 359.8 kB / 0.5251 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3296, allocations: 20.44 kB / 0.5251 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3298, allocations: 138 kB / 0.5252 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.3301, allocations: 162.2 kB / 0.5254 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.3301, allocations: 15.62 kB / 0.5254 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-05/0.3302, allocations: 17.5 kB / 0.5254 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3303, allocations: 97.98 kB / 0.5255 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.3304, allocations: 70.09 kB / 0.5256 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.3307, allocations: 213.8 kB / 0.5258 GB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3307, allocations: 4.5 kB / 0.5258 GB, free: 8.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3307, allocations: 0 / 0.5258 GB, free: 8.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3307, allocations: 0 / 0.5258 GB, free: 8.793 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.001533/0.3322, allocations: 0.5824 MB / 0.5263 GB, free: 8.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3323, allocations: 9.609 kB / 0.5264 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.3323, allocations: 23.05 kB / 0.5264 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.3332, allocations: 299.4 kB / 0.5267 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3332, allocations: 4.594 kB / 0.5267 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.3332, allocations: 16.03 kB / 0.5267 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3335, allocations: 162.7 kB / 0.5268 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3336, allocations: 0 / 0.5268 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3336, allocations: 5.188 kB / 0.5268 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3336, allocations: 3.406 kB / 0.5268 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.3339, allocations: 154.6 kB / 0.527 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009519/0.3349, allocations: 0.5084 MB / 0.5275 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.3352, allocations: 193.8 kB / 0.5277 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3354, allocations: 106.7 kB / 0.5278 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3354, allocations: 6.516 kB / 0.5278 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.3354, allocations: 40.41 kB / 0.5278 GB, free: 7.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.3354, allocations: 4 kB / 0.5278 GB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001349/0.3367, allocations: 477.9 kB / 0.5283 GB, free: 7.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.3368, allocations: 62.03 kB / 0.5283 GB, free: 7.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/0.3375, allocations: 337.7 kB / 0.5287 GB, free: 7.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3375, allocations: 30.8 kB / 0.5287 GB, free: 7.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.3375, allocations: 130.8 kB / 0.5288 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.3376, allocations: 78.45 kB / 0.5289 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.3377, allocations: 36.94 kB / 0.5289 GB, free: 7.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.3377, allocations: 337.4 kB / 0.5292 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3379, allocations: 83.08 kB / 0.5293 GB, free: 6.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.338, allocations: 94.48 kB / 0.5294 GB, free: 6.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.34, allocations: 0.6165 MB / 0.53 GB, free: 6.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.34, allocations: 0 / 0.53 GB, free: 6.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006741/0.3407, allocations: 369.8 kB / 0.5304 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3407, allocations: 5.406 kB / 0.5304 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3407, allocations: 1.609 kB / 0.5304 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.3409, allocations: 67.7 kB / 0.5304 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.3411, allocations: 37.77 kB / 0.5305 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.3425, allocations: 1.514 MB / 0.532 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.3429, allocations: 54.94 kB / 0.532 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.3429, allocations: 8.438 kB / 0.532 GB, free: 4.961 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.0001889/0.3431, allocations: 162.6 kB / 0.5322 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.3432, allocations: 22.41 kB / 0.5322 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.3433, allocations: 40.77 kB / 0.5322 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3433, allocations: 1.469 kB / 0.5322 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3433, allocations: 0 / 0.5322 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.3433, allocations: 25.33 kB / 0.5323 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.3434, allocations: 19.78 kB / 0.5323 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.3438, allocations: 46.7 kB / 0.5323 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.3438, allocations: 13.34 kB / 0.5323 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001258/0.3451, allocations: 486.2 kB / 0.5328 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000733/0.3458, allocations: 0.5777 MB / 0.5334 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002093/0.346, allocations: 106.8 kB / 0.5335 GB, free: 4.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006883/0.3467, allocations: 264.4 kB / 0.5337 GB, free: 4.07 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.3467, allocations: 0 / 0.5337 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008429/0.3476, allocations: 349.7 kB / 0.5341 GB, free: 3.84 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008735/0.3484, allocations: 0.9429 MB / 0.535 GB, free: 3.066 MB / 382.1 MB Notification: Performance of Templates: time 0.008339/0.3568, allocations: 3.838 MB / 0.5387 GB, free: 2.188 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: 4.922036455012858] Failed to read output from testmodel.py, exit status != 0: 0.3654955440433696 0.37980452400000003 0.045954566 Calling exit ...