Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.001606/0.001606, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001526/0.001526, allocations: 222.8 kB / 23.77 MB, free: 4.422 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1114/0.1114, allocations: 24.03 MB / 338 MB, free: 11.35 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) Running command: translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") [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.002166/0.002166, allocations: 72.17 kB / 475.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2868, allocations: 59.56 MB / 0.5221 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002553/0.2894, allocations: 1.767 MB / 0.5238 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009673/0.2904, allocations: 0.5879 MB / 0.5244 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.2904, allocations: 2.5 kB / 0.5244 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.2907, allocations: 44.98 kB / 0.5245 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.2909, allocations: 57.55 kB / 0.5245 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2911, allocations: 104.3 kB / 0.5246 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.2915, allocations: 302 kB / 0.5249 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2916, allocations: 34.2 kB / 0.5249 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.2918, allocations: 118.4 kB / 0.525 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.292, allocations: 124.9 kB / 0.5252 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.292, allocations: 14.56 kB / 0.5252 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.519e-05/0.2921, allocations: 14.91 kB / 0.5252 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.478e-05/0.2921, allocations: 73.38 kB / 0.5253 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.2922, allocations: 63.8 kB / 0.5253 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.2924, allocations: 182.1 kB / 0.5255 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2924, allocations: 0 / 0.5255 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2924, allocations: 0.9688 kB / 0.5255 GB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2924, allocations: 0 / 0.5255 GB, free: 8.422 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001119/0.2936, allocations: 0.508 MB / 0.526 GB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2936, allocations: 14.45 kB / 0.526 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.2936, allocations: 22.61 kB / 0.526 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.2942, allocations: 254.7 kB / 0.5263 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2943, allocations: 9.641 kB / 0.5263 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.2943, allocations: 12.84 kB / 0.5263 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.2946, allocations: 151.5 kB / 0.5264 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2946, allocations: 1.188 kB / 0.5264 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2946, allocations: 9.781 kB / 0.5265 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2946, allocations: 2.375 kB / 0.5265 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.2949, allocations: 130.6 kB / 0.5266 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.2957, allocations: 463.4 kB / 0.527 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.2961, allocations: 192.6 kB / 0.5272 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.2962, allocations: 79.73 kB / 0.5273 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2962, allocations: 2.781 kB / 0.5273 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2963, allocations: 33.42 kB / 0.5273 GB, free: 7.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.2963, allocations: 0 / 0.5273 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004988/0.2968, allocations: 263.7 kB / 0.5276 GB, free: 7.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.2968, allocations: 57.59 kB / 0.5276 GB, free: 7.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.2973, allocations: 266.8 kB / 0.5279 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2973, allocations: 30.92 kB / 0.5279 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.2973, allocations: 132.9 kB / 0.528 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.2974, allocations: 59.55 kB / 0.5281 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.2974, allocations: 38.78 kB / 0.5281 GB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.2975, allocations: 331.1 kB / 0.5284 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2976, allocations: 59.31 kB / 0.5285 GB, free: 6.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.2977, allocations: 65.44 kB / 0.5286 GB, free: 6.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.2994, allocations: 479.1 kB / 0.529 GB, free: 6.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2994, allocations: 3.938 kB / 0.529 GB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003409/0.2997, allocations: 233.3 kB / 0.5292 GB, free: 6.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2997, allocations: 8.453 kB / 0.5293 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2997, allocations: 1.312 kB / 0.5293 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2997, allocations: 4 kB / 0.5293 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.2999, allocations: 36.52 kB / 0.5293 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2999, allocations: 3.938 kB / 0.5293 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.3002, allocations: 38.08 kB / 0.5293 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3002, allocations: 5.094 kB / 0.5293 GB, free: 6.152 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.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 (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.3003, allocations: 150.7 kB / 0.5295 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.3004, allocations: 23.66 kB / 0.5295 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.3008, allocations: 241.8 kB / 0.5297 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3008, allocations: 5.156 kB / 0.5297 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3008, allocations: 1.125 kB / 0.5297 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3008, allocations: 1.359 kB / 0.5297 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.3011, allocations: 204.8 kB / 0.5299 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3011, allocations: 3.938 kB / 0.5299 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3013, allocations: 41.95 kB / 0.53 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3013, allocations: 5.219 kB / 0.53 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3013, allocations: 2.531 kB / 0.53 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3013, allocations: 2.656 kB / 0.53 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3013, allocations: 0 / 0.53 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.3019, allocations: 412.1 kB / 0.5304 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.3019, allocations: 24.78 kB / 0.5304 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.3019, allocations: 7.75 kB / 0.5304 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.3022, allocations: 26.33 kB / 0.5304 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3023, allocations: 15.03 kB / 0.5305 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3023, allocations: 4.109 kB / 0.5305 GB, free: 5.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.3027, allocations: 213.2 kB / 0.5307 GB, free: 5.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3027, allocations: 0.9375 kB / 0.5307 GB, free: 5.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.303, allocations: 36.64 kB / 0.5307 GB, free: 5.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.463e-05/0.303, allocations: 107.7 kB / 0.5308 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.3034, allocations: 158.8 kB / 0.531 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3034, allocations: 0 / 0.531 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3035, allocations: 89.64 kB / 0.531 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3039, allocations: 50.47 kB / 0.5311 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.3048, allocations: 0.5195 MB / 0.5316 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.3049, allocations: 139 kB / 0.5317 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.305, allocations: 24.23 kB / 0.5317 GB, free: 4.734 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.305, allocations: 0 / 0.5317 GB, free: 4.734 MB / 382.1 MB Notification: Performance of Templates: time 0.004829/0.3098, allocations: 2.65 MB / 0.5343 GB, free: 4.516 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3051383178681135] Failed to read output from testmodel.py, exit status != 0: 0.3179580019786954 0.329460878 0.03409161 Calling exit ...