Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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.001392/0.001392, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.001642/0.001642, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.1057/0.1057, allocations: 24.11 MB / 333 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.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",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.002377/0.002377, allocations: 71.89 kB / 467.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.373, allocations: 59.57 MB / 0.5151 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003201/0.3762, allocations: 2.029 MB / 0.517 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3775, allocations: 0.7252 MB / 0.5177 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3776, allocations: 7.938 kB / 0.5178 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.378, allocations: 78.08 kB / 0.5178 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.3782, allocations: 100.1 kB / 0.5179 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.3785, allocations: 161.4 kB / 0.5181 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.379, allocations: 453.7 kB / 0.5185 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3792, allocations: 57.23 kB / 0.5186 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.3795, allocations: 192.7 kB / 0.5187 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.3798, allocations: 219.5 kB / 0.519 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.3799, allocations: 23.56 kB / 0.519 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.3799, allocations: 24.88 kB / 0.519 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.3801, allocations: 114.3 kB / 0.5191 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.3802, allocations: 128.7 kB / 0.5192 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.3806, allocations: 293.3 kB / 0.5195 GB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3806, allocations: 0.5625 kB / 0.5195 GB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3806, allocations: 0 / 0.5195 GB, free: 7.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3806, allocations: 1.469 kB / 0.5195 GB, free: 7.023 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001873/0.3825, allocations: 0.7779 MB / 0.5203 GB, free: 6.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3825, allocations: 10.59 kB / 0.5203 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.3826, allocations: 47.94 kB / 0.5203 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.3827, allocations: 41.23 kB / 0.5204 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/0.3836, allocations: 428.7 kB / 0.5208 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3837, allocations: 14.7 kB / 0.5208 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.3837, allocations: 16.11 kB / 0.5208 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.3841, allocations: 197.9 kB / 0.521 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3841, allocations: 1.156 kB / 0.521 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3841, allocations: 8.906 kB / 0.521 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3841, allocations: 4.5 kB / 0.521 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.3845, allocations: 207 kB / 0.5212 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3856, allocations: 0.6913 MB / 0.5219 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.3864, allocations: 307.9 kB / 0.5222 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3866, allocations: 120.1 kB / 0.5223 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.3866, allocations: 6.594 kB / 0.5223 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.3866, allocations: 35.88 kB / 0.5223 GB, free: 5.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.525e-06/0.3866, allocations: 4 kB / 0.5223 GB, free: 5.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007235/0.3873, allocations: 363 kB / 0.5227 GB, free: 5.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.3874, allocations: 58.88 kB / 0.5227 GB, free: 5.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/0.3884, allocations: 419.9 kB / 0.5231 GB, free: 5.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3884, allocations: 30.92 kB / 0.5232 GB, free: 4.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.3885, allocations: 164.6 kB / 0.5233 GB, free: 4.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/0.3886, allocations: 94.19 kB / 0.5234 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.3887, allocations: 52.78 kB / 0.5235 GB, free: 4.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.3887, allocations: 341.2 kB / 0.5238 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3889, allocations: 97.91 kB / 0.5239 GB, free: 4.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.3891, allocations: 93.09 kB / 0.524 GB, free: 4.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.3916, allocations: 0.6708 MB / 0.5246 GB, free: 4.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3916, allocations: 0 / 0.5246 GB, free: 4.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006075/0.3923, allocations: 336.2 kB / 0.525 GB, free: 4.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3923, allocations: 5.688 kB / 0.525 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3923, allocations: 0 / 0.525 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3923, allocations: 1.281 kB / 0.525 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.3926, allocations: 53.17 kB / 0.525 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3926, allocations: 1.094 kB / 0.525 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.393, allocations: 65.58 kB / 0.5251 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.393, allocations: 9.812 kB / 0.5251 GB, free: 3.984 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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 (31): * Single equations (assignments): 31 * 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.0002569/0.3933, allocations: 176.4 kB / 0.5253 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.3934, allocations: 34.19 kB / 0.5253 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006492/0.394, allocations: 327.2 kB / 0.5256 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.394, allocations: 4.312 kB / 0.5256 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.394, allocations: 0 / 0.5256 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.394, allocations: 0.9844 kB / 0.5256 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.3945, allocations: 373 kB / 0.526 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3945, allocations: 3.938 kB / 0.526 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.3948, allocations: 44.33 kB / 0.526 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3948, allocations: 1.156 kB / 0.526 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.3949, allocations: 8.656 kB / 0.526 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3949, allocations: 5.188 kB / 0.526 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3949, allocations: 1.312 kB / 0.526 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.3958, allocations: 0.5151 MB / 0.5265 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.3959, allocations: 120.2 kB / 0.5266 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.3959, allocations: 7.5 kB / 0.5266 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.3963, allocations: 51.05 kB / 0.5267 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.3964, allocations: 18.34 kB / 0.5267 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3964, allocations: 5.5 kB / 0.5267 GB, free: 2.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008535/0.3973, allocations: 331.5 kB / 0.527 GB, free: 2.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3973, allocations: 0 / 0.527 GB, free: 2.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.3977, allocations: 60.39 kB / 0.5271 GB, free: 2.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.x_scaled[1]) * 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 (26): * Single equations (assignments): 26 * 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.001111/0.3988, allocations: 1.08 MB / 0.5281 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000574/0.3994, allocations: 244.6 kB / 0.5284 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3994, allocations: 0 / 0.5284 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.3996, allocations: 123.3 kB / 0.5285 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.4001, allocations: 67.53 kB / 0.5286 GB, free: 1.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.4058, allocations: 3.386 MB / 0.5319 GB, free: 0 / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.4064, allocations: 0.7953 MB / 0.5326 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.4066, allocations: 62.42 kB / 0.5327 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.4068, allocations: 105.7 kB / 0.5328 GB, free: 15.21 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4068, allocations: 0 / 0.5328 GB, free: 15.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.4377, allocations: 6.203 MB / 0.5389 GB, free: 13.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/8.794, allocations: 4.984 kB / 0.5389 GB, free: 13.22 MB / 398.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.499736956087872] Failed to read output from testmodel.py, exit status != 0: 8.866445358842611 8.882566423 8.498644222 Calling exit ...