Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002898/0.002898, allocations: 190.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 251 MB, free: 13.01 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.1018/0.1018, allocations: 22.7 MB / 329 MB, free: 2.371 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 463.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1427, allocations: 58.06 MB / 0.5089 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003711/0.1464, allocations: 1.998 MB / 0.5109 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1479, allocations: 0.7325 MB / 0.5116 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.148, allocations: 7.938 kB / 0.5116 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.1484, allocations: 79.47 kB / 0.5117 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1487, allocations: 107.4 kB / 0.5118 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.1492, allocations: 223.6 kB / 0.512 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.1501, allocations: 0.5965 MB / 0.5126 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.1503, allocations: 44.91 kB / 0.5126 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.1507, allocations: 219.3 kB / 0.5128 GB, free: 440 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.1511, allocations: 235.1 kB / 0.5131 GB, free: 204 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.1512, allocations: 24 kB / 0.5131 GB, free: 180 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.1512, allocations: 20 kB / 0.5131 GB, free: 160 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1514, allocations: 107.6 kB / 0.5132 GB, free: 52 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3106/0.462, allocations: 113.5 kB / 0.5133 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.4626, allocations: 276.5 kB / 0.5136 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4626, allocations: 2.312 kB / 0.5136 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4626, allocations: 0.5 kB / 0.5136 GB, free: 12.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4627, allocations: 0.5938 kB / 0.5136 GB, free: 12.4 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.002269/0.4649, allocations: 0.7099 MB / 0.5143 GB, free: 12.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.465, allocations: 9.719 kB / 0.5143 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.613e-05/0.4651, allocations: 36.14 kB / 0.5143 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.4662, allocations: 386.8 kB / 0.5147 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.4662, allocations: 13.55 kB / 0.5147 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.4663, allocations: 15.75 kB / 0.5147 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.4666, allocations: 178 kB / 0.5149 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4667, allocations: 5.531 kB / 0.5149 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.4667, allocations: 5.344 kB / 0.5149 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.4667, allocations: 6.281 kB / 0.5149 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.4671, allocations: 189 kB / 0.5151 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4682, allocations: 0.6181 MB / 0.5157 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.4691, allocations: 330.4 kB / 0.516 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.4693, allocations: 95.47 kB / 0.5161 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.4693, allocations: 8.422 kB / 0.5161 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.4693, allocations: 38.84 kB / 0.5161 GB, free: 11.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.4693, allocations: 0 / 0.5161 GB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001128/0.4705, allocations: 431.2 kB / 0.5166 GB, free: 11.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.4705, allocations: 60.5 kB / 0.5166 GB, free: 11.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009944/0.4715, allocations: 452.2 kB / 0.517 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4715, allocations: 30.33 kB / 0.5171 GB, free: 11.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4716, allocations: 165.3 kB / 0.5172 GB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.4717, allocations: 77.36 kB / 0.5173 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.4718, allocations: 41.38 kB / 0.5173 GB, free: 11.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.4718, allocations: 343.2 kB / 0.5177 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.472, allocations: 91.75 kB / 0.5178 GB, free: 10.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.4722, allocations: 104.1 kB / 0.5179 GB, free: 10.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.4738, allocations: 0.5238 MB / 0.5184 GB, free: 10.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4738, allocations: 0 / 0.5184 GB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006633/0.4744, allocations: 341.4 kB / 0.5187 GB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4745, allocations: 11.83 kB / 0.5187 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.4745, allocations: 1.5 kB / 0.5187 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.4747, allocations: 54.73 kB / 0.5188 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.4749, allocations: 38.52 kB / 0.5188 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.4762, allocations: 1.499 MB / 0.5203 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.4767, allocations: 73.91 kB / 0.5203 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.4767, allocations: 9.344 kB / 0.5203 GB, free: 9.363 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.477, allocations: 166.5 kB / 0.5205 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.477, allocations: 28.16 kB / 0.5205 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.332e-05/0.4771, allocations: 44.22 kB / 0.5206 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4771, allocations: 3.641 kB / 0.5206 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4771, allocations: 6.969 kB / 0.5206 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4771, allocations: 1.359 kB / 0.5206 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.4776, allocations: 327.4 kB / 0.5209 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4776, allocations: 0 / 0.5209 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.4778, allocations: 24.78 kB / 0.5209 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/0.478, allocations: 55.83 kB / 0.521 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.478, allocations: 6.875 kB / 0.521 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.479, allocations: 1.512 MB / 0.5224 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.479, allocations: 0 / 0.5224 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.4798, allocations: 0.5177 MB / 0.523 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.4799, allocations: 32.92 kB / 0.523 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.4799, allocations: 8.75 kB / 0.523 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.4804, allocations: 62.44 kB / 0.5231 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.4805, allocations: 22.12 kB / 0.5231 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4805, allocations: 5.141 kB / 0.5231 GB, free: 7.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009914/0.4815, allocations: 360.2 kB / 0.5234 GB, free: 7.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4815, allocations: 3.938 kB / 0.5234 GB, free: 7.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.4819, allocations: 56.72 kB / 0.5235 GB, free: 7.527 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.x_scaled[1]) * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.482, allocations: 106.1 kB / 0.5236 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007505/0.4828, allocations: 353.1 kB / 0.5239 GB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4828, allocations: 1.094 kB / 0.5239 GB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.4831, allocations: 234.4 kB / 0.5241 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.4836, allocations: 55.34 kB / 0.5242 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.4848, allocations: 0.6396 MB / 0.5248 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.485, allocations: 0.7944 MB / 0.5256 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.4852, allocations: 57.45 kB / 0.5256 GB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.4853, allocations: 26.19 kB / 0.5257 GB, free: 6.191 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4853, allocations: 4 kB / 0.5257 GB, free: 6.188 MB / 382.1 MB Notification: Performance of Templates: time 0.008566/0.4939, allocations: 3.349 MB / 0.5289 GB, free: 5.996 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.402398589067161] Failed to read output from testmodel.py, exit status != 0: 0.5024549290537834 0.516450388 0.049751916 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8b372d97b0>