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.001311/0.001311, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001498/0.001498, allocations: 220 kB / 23.03 MB, free: 4.941 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1285/0.1285, allocations: 22.94 MB / 336.2 MB, free: 12.43 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.002423/0.002423, allocations: 65.16 kB / 472.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3555, allocations: 59.29 MB / 0.519 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003508/0.359, allocations: 1.764 MB / 0.5207 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3602, allocations: 0.5828 MB / 0.5213 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3603, allocations: 2.156 kB / 0.5213 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.3607, allocations: 40.98 kB / 0.5213 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.3609, allocations: 66.83 kB / 0.5214 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.3612, allocations: 107.5 kB / 0.5215 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.3617, allocations: 306.1 kB / 0.5218 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3619, allocations: 37.17 kB / 0.5218 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3621, allocations: 119.5 kB / 0.5219 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.3623, allocations: 131.5 kB / 0.5221 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.3624, allocations: 14.62 kB / 0.5221 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.3624, allocations: 14.78 kB / 0.5221 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3626, allocations: 69.77 kB / 0.5222 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.3627, allocations: 67.03 kB / 0.5222 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.363, allocations: 178.5 kB / 0.5224 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.363, allocations: 4.547 kB / 0.5224 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.363, allocations: 0 / 0.5224 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.363, allocations: 0.9688 kB / 0.5224 GB, free: 8.574 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.001438/0.3645, allocations: 0.5063 MB / 0.5229 GB, free: 8.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.3645, allocations: 10.83 kB / 0.5229 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.893e-05/0.3645, allocations: 7.141 kB / 0.5229 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.3646, allocations: 49.19 kB / 0.523 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.3646, allocations: 24.05 kB / 0.523 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.3653, allocations: 251.7 kB / 0.5232 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3653, allocations: 9.234 kB / 0.5232 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.3654, allocations: 12.28 kB / 0.5232 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.3658, allocations: 159.4 kB / 0.5234 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3658, allocations: 0 / 0.5234 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.3658, allocations: 5.703 kB / 0.5234 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3658, allocations: 3.938 kB / 0.5234 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.3661, allocations: 129.9 kB / 0.5235 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.367, allocations: 496.7 kB / 0.524 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.3674, allocations: 183.9 kB / 0.5242 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.3676, allocations: 85.98 kB / 0.5243 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.3676, allocations: 2.031 kB / 0.5243 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.3676, allocations: 40.78 kB / 0.5243 GB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.3676, allocations: 0 / 0.5243 GB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005479/0.3682, allocations: 258.6 kB / 0.5245 GB, free: 7.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3682, allocations: 57.59 kB / 0.5246 GB, free: 7.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.3688, allocations: 264.3 kB / 0.5249 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3688, allocations: 27.14 kB / 0.5249 GB, free: 7.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.3688, allocations: 139.3 kB / 0.525 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.3689, allocations: 63.92 kB / 0.5251 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.369, allocations: 33.64 kB / 0.5251 GB, free: 6.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.3691, allocations: 331 kB / 0.5254 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3692, allocations: 65.58 kB / 0.5255 GB, free: 6.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3693, allocations: 65.19 kB / 0.5255 GB, free: 6.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.3711, allocations: 472.7 kB / 0.526 GB, free: 6.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3711, allocations: 3.656 kB / 0.526 GB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003928/0.3715, allocations: 226.2 kB / 0.5262 GB, free: 6.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3716, allocations: 5.312 kB / 0.5262 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3716, allocations: 4 kB / 0.5262 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3716, allocations: 1.031 kB / 0.5262 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.3718, allocations: 44.3 kB / 0.5263 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3718, allocations: 1.812 kB / 0.5263 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.3721, allocations: 36.61 kB / 0.5263 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.3721, allocations: 8.156 kB / 0.5263 GB, free: 6.223 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.0002059/0.3723, allocations: 162.5 kB / 0.5265 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.3723, allocations: 20.73 kB / 0.5265 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.3728, allocations: 239.6 kB / 0.5267 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3728, allocations: 6.031 kB / 0.5267 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3728, allocations: 1.031 kB / 0.5267 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3728, allocations: 1.359 kB / 0.5267 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3731, allocations: 244.1 kB / 0.527 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3731, allocations: 0.75 kB / 0.527 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.3734, allocations: 33.11 kB / 0.527 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3734, allocations: 1.156 kB / 0.527 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.3734, allocations: 7.719 kB / 0.527 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.3734, allocations: 5.875 kB / 0.527 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3734, allocations: 0 / 0.527 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.374, allocations: 408.6 kB / 0.5274 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.3741, allocations: 22.8 kB / 0.5274 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.3741, allocations: 7.406 kB / 0.5274 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.3744, allocations: 29.84 kB / 0.5274 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.3745, allocations: 9.469 kB / 0.5275 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3745, allocations: 5.484 kB / 0.5275 GB, free: 5.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004463/0.375, allocations: 214.2 kB / 0.5277 GB, free: 5.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.375, allocations: 0 / 0.5277 GB, free: 5.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.3753, allocations: 44.42 kB / 0.5277 GB, free: 5.367 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.0007247/0.376, allocations: 0.9366 MB / 0.5286 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.3763, allocations: 162.2 kB / 0.5288 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3763, allocations: 0 / 0.5288 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3765, allocations: 93.31 kB / 0.5289 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3769, allocations: 37.25 kB / 0.5289 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.3806, allocations: 2.495 MB / 0.5313 GB, free: 2.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.3808, allocations: 142.8 kB / 0.5315 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.381, allocations: 47.31 kB / 0.5315 GB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3811, allocations: 60.69 kB / 0.5316 GB, free: 2.797 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3811, allocations: 0 / 0.5316 GB, free: 2.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.4128, allocations: 4.484 MB / 0.536 GB, free: 2.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 5.562 kB / 0.536 GB, free: 2.137 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.734062550007366] Failed to read output from testmodel.py, exit status != 0: 12.048010442988016 12.065362754 11.698742197 Calling exit ...