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.001401/0.001401, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001531/0.001531, allocations: 205.1 kB / 23.01 MB, free: 4.617 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1063/0.1063, allocations: 24.02 MB / 337.2 MB, free: 11.34 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.002126/0.002126, allocations: 63.89 kB / 473.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 59.57 MB / 0.5209 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003062/0.3402, allocations: 1.764 MB / 0.5226 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3413, allocations: 0.5894 MB / 0.5232 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.3414, allocations: 6.406 kB / 0.5232 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.3417, allocations: 40.94 kB / 0.5232 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.3419, allocations: 54.39 kB / 0.5233 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.3422, allocations: 111.5 kB / 0.5234 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.3426, allocations: 305.2 kB / 0.5237 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3428, allocations: 34.66 kB / 0.5237 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3429, allocations: 114.8 kB / 0.5238 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.3432, allocations: 124 kB / 0.5239 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.3432, allocations: 14.38 kB / 0.524 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.654e-05/0.3433, allocations: 14.66 kB / 0.524 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3434, allocations: 64.92 kB / 0.524 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.794e-05/0.3434, allocations: 64.28 kB / 0.5241 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.3437, allocations: 186 kB / 0.5243 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3437, allocations: 9.344 kB / 0.5243 GB, free: 8.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3437, allocations: 0 / 0.5243 GB, free: 8.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3437, allocations: 0 / 0.5243 GB, free: 8.066 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.00116/0.3449, allocations: 0.502 MB / 0.5248 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3449, allocations: 10.52 kB / 0.5248 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.345, allocations: 46.61 kB / 0.5248 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.345, allocations: 21.98 kB / 0.5248 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.3456, allocations: 259.9 kB / 0.5251 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3456, allocations: 13.27 kB / 0.5251 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.3457, allocations: 14.22 kB / 0.5251 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.3459, allocations: 150.6 kB / 0.5253 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.346, allocations: 0 / 0.5253 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.346, allocations: 5.156 kB / 0.5253 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.346, allocations: 3.531 kB / 0.5253 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.3463, allocations: 130.4 kB / 0.5254 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008754/0.3471, allocations: 490.4 kB / 0.5259 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.3476, allocations: 189.5 kB / 0.526 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3478, allocations: 84.02 kB / 0.5261 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.3478, allocations: 7.375 kB / 0.5261 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3478, allocations: 35.88 kB / 0.5262 GB, free: 6.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3478, allocations: 1.281 kB / 0.5262 GB, free: 6.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005821/0.3484, allocations: 267.9 kB / 0.5264 GB, free: 6.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3485, allocations: 53.09 kB / 0.5265 GB, free: 6.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.349, allocations: 260.2 kB / 0.5267 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.349, allocations: 29.7 kB / 0.5268 GB, free: 6.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.3491, allocations: 135.5 kB / 0.5269 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.3491, allocations: 63.33 kB / 0.5269 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.3492, allocations: 38.98 kB / 0.527 GB, free: 6.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.3493, allocations: 331 kB / 0.5273 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3494, allocations: 62.19 kB / 0.5274 GB, free: 5.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.3495, allocations: 65.38 kB / 0.5274 GB, free: 5.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.3512, allocations: 480.8 kB / 0.5279 GB, free: 5.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3512, allocations: 4 kB / 0.5279 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003981/0.3516, allocations: 232.5 kB / 0.5281 GB, free: 5.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3517, allocations: 5.984 kB / 0.5281 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3517, allocations: 0 / 0.5281 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3517, allocations: 1.219 kB / 0.5281 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.3519, allocations: 36.11 kB / 0.5281 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3519, allocations: 1.984 kB / 0.5281 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.3521, allocations: 38.86 kB / 0.5282 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3522, allocations: 8.734 kB / 0.5282 GB, free: 5.715 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.0002178/0.3524, allocations: 152.7 kB / 0.5283 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.3524, allocations: 24.2 kB / 0.5284 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.3529, allocations: 236.4 kB / 0.5286 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.353, allocations: 3.594 kB / 0.5286 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.353, allocations: 0 / 0.5286 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.353, allocations: 0.8438 kB / 0.5286 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.3533, allocations: 249.4 kB / 0.5288 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3533, allocations: 0 / 0.5288 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3535, allocations: 33.7 kB / 0.5289 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3535, allocations: 1.156 kB / 0.5289 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.3535, allocations: 11.62 kB / 0.5289 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3535, allocations: 1.062 kB / 0.5289 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3535, allocations: 0 / 0.5289 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.3541, allocations: 407.5 kB / 0.5293 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.3541, allocations: 21.45 kB / 0.5293 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.3542, allocations: 3.094 kB / 0.5293 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.3544, allocations: 34.73 kB / 0.5293 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.3545, allocations: 10.28 kB / 0.5293 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3545, allocations: 12.55 kB / 0.5293 GB, free: 4.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.3549, allocations: 209.5 kB / 0.5295 GB, free: 4.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3549, allocations: 0 / 0.5295 GB, free: 4.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.3552, allocations: 40.48 kB / 0.5296 GB, free: 4.863 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.0007662/0.356, allocations: 0.9422 MB / 0.5305 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000431/0.3564, allocations: 171.4 kB / 0.5307 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3564, allocations: 1.188 kB / 0.5307 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.3566, allocations: 84.7 kB / 0.5307 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.357, allocations: 43.75 kB / 0.5308 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.3608, allocations: 2.488 MB / 0.5332 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.361, allocations: 143.1 kB / 0.5334 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.3611, allocations: 43.39 kB / 0.5334 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3613, allocations: 65.86 kB / 0.5335 GB, free: 2.285 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3613, allocations: 0 / 0.5335 GB, free: 2.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.3954, allocations: 4.794 MB / 0.5381 GB, free: 1.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 17.8 kB / 0.5382 GB, free: 1.203 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.408779504708946] Failed to read output from testmodel.py, exit status != 0: 11.86135684326291 11.877026705 11.530309216000001 Calling exit ...