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.001288/0.001288, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001548/0.001548, allocations: 220.7 kB / 23.05 MB, free: 5.074 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.103/0.103, allocations: 22.94 MB / 336.2 MB, free: 12.61 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: "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="cs",version="2.0",platforms={"static"}) [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.00284/0.00284, allocations: 63.91 kB / 472.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.384, allocations: 59.29 MB / 0.5191 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003579/0.3875, allocations: 1.827 MB / 0.5209 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3889, allocations: 0.6241 MB / 0.5215 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.389, allocations: 10 kB / 0.5215 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.3894, allocations: 40.66 kB / 0.5215 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3896, allocations: 53.92 kB / 0.5216 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.3899, allocations: 111.3 kB / 0.5217 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005093/0.3905, allocations: 311 kB / 0.522 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3906, allocations: 34.08 kB / 0.522 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.3908, allocations: 117.3 kB / 0.5221 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.3911, allocations: 131.5 kB / 0.5223 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.3911, allocations: 15.19 kB / 0.5223 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.3911, allocations: 14.31 kB / 0.5223 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3913, allocations: 69.84 kB / 0.5224 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.287e-05/0.3913, allocations: 83.11 kB / 0.5224 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.3916, allocations: 188.1 kB / 0.5226 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3916, allocations: 1 kB / 0.5226 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3916, allocations: 0 / 0.5226 GB, free: 8.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3917, allocations: 0 / 0.5226 GB, free: 8.523 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.001338/0.393, allocations: 0.5027 MB / 0.5231 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.3931, allocations: 10.67 kB / 0.5231 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.3931, allocations: 3.703 kB / 0.5231 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.3931, allocations: 45.27 kB / 0.5232 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.3932, allocations: 22.83 kB / 0.5232 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.3938, allocations: 263.4 kB / 0.5234 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3938, allocations: 10.05 kB / 0.5234 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.3939, allocations: 12.64 kB / 0.5235 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.3942, allocations: 154.4 kB / 0.5236 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3942, allocations: 0 / 0.5236 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.3942, allocations: 5.766 kB / 0.5236 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3942, allocations: 7.25 kB / 0.5236 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.3945, allocations: 135.8 kB / 0.5237 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.3953, allocations: 0.506 MB / 0.5242 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.3958, allocations: 190.1 kB / 0.5244 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3959, allocations: 86.44 kB / 0.5245 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.396, allocations: 1.25 kB / 0.5245 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.396, allocations: 35.81 kB / 0.5245 GB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.396, allocations: 0 / 0.5245 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005669/0.3966, allocations: 266.1 kB / 0.5248 GB, free: 7.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.3966, allocations: 53.53 kB / 0.5248 GB, free: 7.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.3971, allocations: 263.2 kB / 0.5251 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3972, allocations: 30.7 kB / 0.5251 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.3972, allocations: 132.2 kB / 0.5252 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.3973, allocations: 60.36 kB / 0.5253 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.3974, allocations: 39.12 kB / 0.5253 GB, free: 6.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.3975, allocations: 329 kB / 0.5257 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3976, allocations: 62.39 kB / 0.5257 GB, free: 6.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3977, allocations: 67.64 kB / 0.5258 GB, free: 6.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.3995, allocations: 481.8 kB / 0.5262 GB, free: 6.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3995, allocations: 0 / 0.5262 GB, free: 6.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000408/0.3999, allocations: 235.5 kB / 0.5265 GB, free: 6.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3999, allocations: 12.03 kB / 0.5265 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3999, allocations: 3.188 kB / 0.5265 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3999, allocations: 1.094 kB / 0.5265 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.4002, allocations: 36.45 kB / 0.5265 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4002, allocations: 3.594 kB / 0.5265 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.4004, allocations: 41.47 kB / 0.5266 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.4004, allocations: 5.172 kB / 0.5266 GB, free: 6.156 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.0002292/0.4007, allocations: 148.5 kB / 0.5267 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.4007, allocations: 19.67 kB / 0.5267 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.4013, allocations: 241.3 kB / 0.527 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4013, allocations: 2.25 kB / 0.527 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4013, allocations: 0 / 0.527 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4013, allocations: 2.312 kB / 0.527 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.4017, allocations: 273.5 kB / 0.5272 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4017, allocations: 0.6562 kB / 0.5272 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.402, allocations: 37.75 kB / 0.5273 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.402, allocations: 5.141 kB / 0.5273 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.402, allocations: 4.484 kB / 0.5273 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.402, allocations: 0 / 0.5273 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.402, allocations: 1.188 kB / 0.5273 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.4027, allocations: 415 kB / 0.5277 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.4027, allocations: 18.66 kB / 0.5277 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.4028, allocations: 7.734 kB / 0.5277 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.4031, allocations: 24.64 kB / 0.5277 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.4032, allocations: 16.11 kB / 0.5277 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.4032, allocations: 4.188 kB / 0.5277 GB, free: 5.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004592/0.4037, allocations: 213.7 kB / 0.5279 GB, free: 5.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4037, allocations: 0 / 0.5279 GB, free: 5.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.4039, allocations: 40.8 kB / 0.528 GB, free: 5.305 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 0.0007732/0.4047, allocations: 0.9377 MB / 0.5289 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.4051, allocations: 169.9 kB / 0.529 GB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4051, allocations: 1.031 kB / 0.5291 GB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.4053, allocations: 84.64 kB / 0.5291 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.4057, allocations: 43.48 kB / 0.5292 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.4096, allocations: 2.492 MB / 0.5316 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.4099, allocations: 0.7562 MB / 0.5323 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.4101, allocations: 44.45 kB / 0.5324 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4102, allocations: 64.56 kB / 0.5324 GB, free: 2.102 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4102, allocations: 0 / 0.5324 GB, free: 2.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.4386, allocations: 4.44 MB / 0.5368 GB, free: 1.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.82, allocations: 10.09 kB / 0.5368 GB, free: 1.516 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_DaisyChain_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_DaisyChain.fmu > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.630881160963327] Failed to read output from testmodel.py, exit status != 0: 11.984674100007396 12.00097775 11.605678158 Calling exit ...