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.001856/0.001856, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.00215/0.00215, allocations: 215.5 kB / 22.99 MB, free: 4.965 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1116/0.1116, allocations: 24.12 MB / 337.3 MB, free: 11.27 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.002029/0.002029, allocations: 71.89 kB / 475.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 59.6 MB / 0.5223 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002107/0.3393, allocations: 0.9829 MB / 0.5233 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3409, allocations: 1.264 MB / 0.5245 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.341, allocations: 1.5 kB / 0.5245 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.3413, allocations: 57.34 kB / 0.5245 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3415, allocations: 62.05 kB / 0.5246 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.3418, allocations: 121.3 kB / 0.5247 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.3422, allocations: 364.5 kB / 0.5251 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3423, allocations: 21.61 kB / 0.5251 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.3425, allocations: 133.3 kB / 0.5252 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.3428, allocations: 160.8 kB / 0.5254 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.3428, allocations: 16.84 kB / 0.5254 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-05/0.3429, allocations: 17.72 kB / 0.5254 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.343, allocations: 90.12 kB / 0.5255 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.3431, allocations: 69.56 kB / 0.5256 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3433, allocations: 217 kB / 0.5258 GB, free: 8.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3433, allocations: 1.25 kB / 0.5258 GB, free: 8.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.217e-05/0.3434, allocations: 4 kB / 0.5258 GB, free: 8.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.3434, allocations: 0 / 0.5258 GB, free: 8.746 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.001656/0.345, allocations: 0.5779 MB / 0.5263 GB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3451, allocations: 10.42 kB / 0.5263 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.3451, allocations: 23.88 kB / 0.5264 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008776/0.346, allocations: 298.6 kB / 0.5266 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.346, allocations: 8.625 kB / 0.5267 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.3461, allocations: 12.94 kB / 0.5267 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.3464, allocations: 160.6 kB / 0.5268 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3464, allocations: 5.344 kB / 0.5268 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.3464, allocations: 5.062 kB / 0.5268 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3464, allocations: 2.094 kB / 0.5268 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.3467, allocations: 161.6 kB / 0.527 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009564/0.3477, allocations: 0.5017 MB / 0.5275 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.348, allocations: 199.4 kB / 0.5277 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.3482, allocations: 107.9 kB / 0.5278 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3482, allocations: 6.203 kB / 0.5278 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3483, allocations: 37.73 kB / 0.5278 GB, free: 7.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.3483, allocations: 0 / 0.5278 GB, free: 7.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001531/0.3498, allocations: 485.3 kB / 0.5283 GB, free: 7.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3498, allocations: 57.59 kB / 0.5283 GB, free: 7.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.3506, allocations: 337.7 kB / 0.5286 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3506, allocations: 30.95 kB / 0.5287 GB, free: 7.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.3507, allocations: 134.7 kB / 0.5288 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.3508, allocations: 75.8 kB / 0.5289 GB, free: 6.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.3509, allocations: 34.41 kB / 0.5289 GB, free: 6.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.3509, allocations: 338.9 kB / 0.5292 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3511, allocations: 91.58 kB / 0.5293 GB, free: 6.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3513, allocations: 90.25 kB / 0.5294 GB, free: 6.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.3535, allocations: 0.6132 MB / 0.53 GB, free: 6.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3535, allocations: 0 / 0.53 GB, free: 6.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007293/0.3543, allocations: 369.8 kB / 0.5304 GB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3543, allocations: 4.344 kB / 0.5304 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3543, allocations: 0 / 0.5304 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.3546, allocations: 70.56 kB / 0.5304 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.3548, allocations: 41.56 kB / 0.5305 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.3562, allocations: 1.505 MB / 0.5319 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.3567, allocations: 63.42 kB / 0.532 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3567, allocations: 4.25 kB / 0.532 GB, free: 4.91 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.0001771/0.3569, allocations: 156.6 kB / 0.5322 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.3569, allocations: 25.81 kB / 0.5322 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.36e-05/0.357, allocations: 48.61 kB / 0.5322 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.357, allocations: 2.219 kB / 0.5322 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.357, allocations: 0.6562 kB / 0.5322 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.357, allocations: 4.438 kB / 0.5322 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.3573, allocations: 229 kB / 0.5325 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3573, allocations: 0.5625 kB / 0.5325 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.3576, allocations: 29.64 kB / 0.5325 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.3578, allocations: 68.28 kB / 0.5325 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3578, allocations: 7.516 kB / 0.5326 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.359, allocations: 1.514 MB / 0.534 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.359, allocations: 1.125 kB / 0.534 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008514/0.3599, allocations: 0.5284 MB / 0.5345 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.3599, allocations: 24.91 kB / 0.5346 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.36, allocations: 7.562 kB / 0.5346 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3604, allocations: 45.88 kB / 0.5346 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.3604, allocations: 13 kB / 0.5346 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3605, allocations: 8.297 kB / 0.5346 GB, free: 2.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007134/0.3612, allocations: 268 kB / 0.5349 GB, free: 2.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3612, allocations: 0 / 0.5349 GB, free: 2.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000352/0.3615, allocations: 48.94 kB / 0.5349 GB, free: 2.762 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.0001062/0.3616, allocations: 110 kB / 0.5351 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006953/0.3623, allocations: 360 kB / 0.5354 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3623, allocations: 0 / 0.5354 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.3627, allocations: 243.2 kB / 0.5356 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3631, allocations: 42.14 kB / 0.5357 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.364, allocations: 0.535 MB / 0.5362 GB, free: 2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.3641, allocations: 162.6 kB / 0.5363 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.3643, allocations: 57.44 kB / 0.5364 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.3644, allocations: 22.25 kB / 0.5364 GB, free: 1.887 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3644, allocations: 0 / 0.5364 GB, free: 1.887 MB / 382.1 MB Notification: Performance of Templates: time 0.007303/0.3717, allocations: 3.313 MB / 0.5397 GB, free: 1.16 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 -s gbode -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.865022116995533] Failed to read output from testmodel.py, exit status != 0: 0.3795424039999489 0.39414809199999995 0.047826937 Calling exit ...