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.001999/0.001999, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002523/0.002523, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.008 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.1133/0.1133, allocations: 24.13 MB / 336.6 MB, free: 11.46 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",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.002446/0.002446, allocations: 67.89 kB / 473.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3691, allocations: 59.59 MB / 0.5204 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002983/0.3721, allocations: 1.825 MB / 0.5222 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3733, allocations: 0.6328 MB / 0.5228 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.3734, allocations: 2 kB / 0.5228 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.3737, allocations: 40.81 kB / 0.5228 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.3739, allocations: 58.12 kB / 0.5229 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3743, allocations: 111 kB / 0.523 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.3747, allocations: 315.3 kB / 0.5233 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3749, allocations: 34.44 kB / 0.5233 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.3751, allocations: 107 kB / 0.5234 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3753, allocations: 135.3 kB / 0.5236 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.3754, allocations: 14 kB / 0.5236 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.809e-05/0.3754, allocations: 14.97 kB / 0.5236 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3755, allocations: 66.61 kB / 0.5237 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.3756, allocations: 82.38 kB / 0.5237 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.3759, allocations: 191.2 kB / 0.5239 GB, free: 8.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3759, allocations: 4 kB / 0.5239 GB, free: 8.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3759, allocations: 0 / 0.5239 GB, free: 8.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3759, allocations: 1.094 kB / 0.5239 GB, free: 8.137 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.001269/0.3772, allocations: 0.4965 MB / 0.5244 GB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3772, allocations: 9.953 kB / 0.5244 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.3773, allocations: 46.23 kB / 0.5245 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.3773, allocations: 22.95 kB / 0.5245 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.3779, allocations: 261.3 kB / 0.5247 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3779, allocations: 8.703 kB / 0.5247 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.378, allocations: 12.34 kB / 0.5248 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.3783, allocations: 157.6 kB / 0.5249 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3783, allocations: 0 / 0.5249 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3783, allocations: 6.594 kB / 0.5249 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3783, allocations: 2.562 kB / 0.5249 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.3786, allocations: 131 kB / 0.525 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008963/0.3795, allocations: 0.5103 MB / 0.5255 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.38, allocations: 193.3 kB / 0.5257 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.3801, allocations: 80.11 kB / 0.5258 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.3801, allocations: 6.562 kB / 0.5258 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.3802, allocations: 36.66 kB / 0.5258 GB, free: 6.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.3802, allocations: 0 / 0.5258 GB, free: 6.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005713/0.3807, allocations: 256.5 kB / 0.5261 GB, free: 6.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3808, allocations: 57.77 kB / 0.5261 GB, free: 6.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.3813, allocations: 263.8 kB / 0.5264 GB, free: 6.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3813, allocations: 26.8 kB / 0.5264 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.3814, allocations: 136.2 kB / 0.5265 GB, free: 6.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.3814, allocations: 64.19 kB / 0.5266 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.3815, allocations: 33.77 kB / 0.5266 GB, free: 6.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.3816, allocations: 333.4 kB / 0.527 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3817, allocations: 63.56 kB / 0.527 GB, free: 6.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3818, allocations: 63.8 kB / 0.5271 GB, free: 6.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.3835, allocations: 480.1 kB / 0.5275 GB, free: 5.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3835, allocations: 0 / 0.5275 GB, free: 5.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003972/0.3839, allocations: 234.8 kB / 0.5278 GB, free: 5.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.384, allocations: 9.719 kB / 0.5278 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.384, allocations: 4.875 kB / 0.5278 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.384, allocations: 1.188 kB / 0.5278 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.3842, allocations: 45.55 kB / 0.5278 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3842, allocations: 1.406 kB / 0.5278 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3844, allocations: 34.83 kB / 0.5279 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3845, allocations: 8.438 kB / 0.5279 GB, free: 5.773 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.0002033/0.3847, allocations: 155.6 kB / 0.528 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.3847, allocations: 19.77 kB / 0.528 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.3852, allocations: 243.1 kB / 0.5283 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3852, allocations: 2.375 kB / 0.5283 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3852, allocations: 0 / 0.5283 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3852, allocations: 2.109 kB / 0.5283 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.3855, allocations: 265.9 kB / 0.5285 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3855, allocations: 4 kB / 0.5285 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.3858, allocations: 37.22 kB / 0.5286 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3858, allocations: 1.25 kB / 0.5286 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3858, allocations: 7.297 kB / 0.5286 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3858, allocations: 5.922 kB / 0.5286 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3858, allocations: 0 / 0.5286 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.3864, allocations: 405.1 kB / 0.529 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.3865, allocations: 25.67 kB / 0.529 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3865, allocations: 6.562 kB / 0.529 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.3868, allocations: 31.39 kB / 0.529 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.3869, allocations: 8.719 kB / 0.529 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.3869, allocations: 8.625 kB / 0.529 GB, free: 5.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004629/0.3873, allocations: 213.9 kB / 0.5292 GB, free: 4.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3873, allocations: 0 / 0.5292 GB, free: 4.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3876, allocations: 41.62 kB / 0.5293 GB, free: 4.914 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.0007961/0.3884, allocations: 0.9366 MB / 0.5302 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.3888, allocations: 172 kB / 0.5304 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3888, allocations: 0 / 0.5304 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.389, allocations: 84.64 kB / 0.5304 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3894, allocations: 41.84 kB / 0.5305 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.3931, allocations: 2.492 MB / 0.5329 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.3934, allocations: 0.7567 MB / 0.5337 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.3936, allocations: 42.75 kB / 0.5337 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3937, allocations: 61.31 kB / 0.5337 GB, free: 1.711 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3937, allocations: 0 / 0.5337 GB, free: 1.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.431, allocations: 4.426 MB / 0.5381 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 3.547 kB / 0.5381 GB, free: 0.9766 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.46045895689167] Failed to read output from testmodel.py, exit status != 0: 11.889070483855903 11.915900915 11.534287324 Calling exit ...