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.001396/0.001396, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001746/0.001746, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.996 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.1091/0.1091, allocations: 24.11 MB / 336.6 MB, free: 11.45 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.003467/0.003467, allocations: 70.08 kB / 473.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4342, allocations: 59.6 MB / 0.5204 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002716/0.4369, allocations: 2.037 MB / 0.5224 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.438, allocations: 0.7318 MB / 0.5231 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.4381, allocations: 3.969 kB / 0.5231 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.4385, allocations: 70.11 kB / 0.5232 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.4388, allocations: 108.3 kB / 0.5233 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.4392, allocations: 190.1 kB / 0.5235 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006836/0.4398, allocations: 0.5287 MB / 0.524 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.44, allocations: 56.53 kB / 0.524 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.4402, allocations: 199 kB / 0.5242 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.4405, allocations: 222.7 kB / 0.5244 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.4406, allocations: 27.69 kB / 0.5245 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-05/0.4406, allocations: 24.19 kB / 0.5245 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.4407, allocations: 112.5 kB / 0.5246 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.4409, allocations: 132.6 kB / 0.5247 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.4412, allocations: 292 kB / 0.525 GB, free: 7.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4412, allocations: 1.156 kB / 0.525 GB, free: 7.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4412, allocations: 0 / 0.525 GB, free: 7.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.4412, allocations: 0 / 0.525 GB, free: 7.422 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.001747/0.4429, allocations: 0.6995 MB / 0.5257 GB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.443, allocations: 10.39 kB / 0.5257 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.443, allocations: 56.72 kB / 0.5258 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.4431, allocations: 41.47 kB / 0.5258 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/0.4441, allocations: 365.2 kB / 0.5261 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.4441, allocations: 19.39 kB / 0.5262 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.4441, allocations: 15.94 kB / 0.5262 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.4445, allocations: 203.8 kB / 0.5264 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4445, allocations: 0 / 0.5264 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4445, allocations: 6.219 kB / 0.5264 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.4445, allocations: 3.25 kB / 0.5264 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.4449, allocations: 200 kB / 0.5266 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.4461, allocations: 0.6696 MB / 0.5272 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007592/0.4469, allocations: 305 kB / 0.5275 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.4471, allocations: 115.6 kB / 0.5276 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.4471, allocations: 6.656 kB / 0.5276 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.4471, allocations: 37.84 kB / 0.5277 GB, free: 5.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.4471, allocations: 3.938 kB / 0.5277 GB, free: 5.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007329/0.4478, allocations: 367 kB / 0.528 GB, free: 5.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4479, allocations: 58.81 kB / 0.5281 GB, free: 5.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.4487, allocations: 420.4 kB / 0.5285 GB, free: 5.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.4488, allocations: 31.33 kB / 0.5285 GB, free: 5.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.4489, allocations: 169.3 kB / 0.5287 GB, free: 5.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.4489, allocations: 97.31 kB / 0.5288 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.449, allocations: 42.8 kB / 0.5288 GB, free: 5.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.4491, allocations: 346.6 kB / 0.5291 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.4492, allocations: 90.14 kB / 0.5292 GB, free: 4.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.4494, allocations: 88.17 kB / 0.5293 GB, free: 4.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.4519, allocations: 0.6664 MB / 0.53 GB, free: 4.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4519, allocations: 0 / 0.53 GB, free: 4.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005432/0.4524, allocations: 332.2 kB / 0.5303 GB, free: 4.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4524, allocations: 14.36 kB / 0.5303 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4525, allocations: 0 / 0.5303 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.4525, allocations: 1.922 kB / 0.5303 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.4528, allocations: 56.3 kB / 0.5303 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4528, allocations: 1.781 kB / 0.5303 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.4532, allocations: 61.19 kB / 0.5304 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.4532, allocations: 18.36 kB / 0.5304 GB, free: 4.566 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.0002677/0.4535, allocations: 173.1 kB / 0.5306 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.4536, allocations: 34.17 kB / 0.5306 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007295/0.4543, allocations: 330.7 kB / 0.5309 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4543, allocations: 2.75 kB / 0.5309 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4543, allocations: 0.5625 kB / 0.5309 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4543, allocations: 3.938 kB / 0.5309 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.4548, allocations: 335.7 kB / 0.5313 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4548, allocations: 6.234 kB / 0.5313 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.4552, allocations: 42.14 kB / 0.5313 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.4552, allocations: 9.078 kB / 0.5313 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.4552, allocations: 7.312 kB / 0.5313 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4552, allocations: 1.875 kB / 0.5313 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4552, allocations: 0 / 0.5313 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/0.456, allocations: 0.5204 MB / 0.5318 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.4561, allocations: 45 kB / 0.5319 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.4562, allocations: 7.672 kB / 0.5319 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.4566, allocations: 50.8 kB / 0.5319 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.4566, allocations: 18.16 kB / 0.5319 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.4566, allocations: 11.89 kB / 0.532 GB, free: 3.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007522/0.4574, allocations: 329 kB / 0.5323 GB, free: 3.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4574, allocations: 0 / 0.5323 GB, free: 3.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.4578, allocations: 59.7 kB / 0.5323 GB, free: 3.547 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.0009672/0.4587, allocations: 1.068 MB / 0.5334 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.4592, allocations: 248.9 kB / 0.5336 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4592, allocations: 0 / 0.5336 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.4594, allocations: 124 kB / 0.5337 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.4599, allocations: 67.52 kB / 0.5338 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.4656, allocations: 3.367 MB / 0.5371 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.4659, allocations: 0.8086 MB / 0.5379 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.4661, allocations: 69.25 kB / 0.5379 GB, free: 0 / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.4663, allocations: 102.3 kB / 0.538 GB, free: 15.92 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4663, allocations: 0 / 0.538 GB, free: 15.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.5032, allocations: 6.449 MB / 0.5443 GB, free: 13.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.02, allocations: 6.641 kB / 0.5443 GB, free: 13.45 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 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: 14.725861559156328] Failed to read output from testmodel.py, exit status != 0: 12.13725680904463 12.163549355 11.717188681 Calling exit ...