Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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.001448/0.001448, allocations: 97.92 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.001467/0.001467, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1022/0.1022, allocations: 22.94 MB / 336.1 MB, free: 12.52 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_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",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.002532/0.002532, allocations: 59.91 kB / 472.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4229, allocations: 59.29 MB / 0.519 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002972/0.4258, allocations: 1.885 MB / 0.5208 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4272, allocations: 0.6675 MB / 0.5215 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.4273, allocations: 7.219 kB / 0.5215 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.4277, allocations: 71.42 kB / 0.5216 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.4279, allocations: 96.81 kB / 0.5217 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.4284, allocations: 183.9 kB / 0.5218 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000684/0.429, allocations: 0.5091 MB / 0.5223 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.4292, allocations: 46.5 kB / 0.5224 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.4294, allocations: 193.9 kB / 0.5226 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.4298, allocations: 211.4 kB / 0.5228 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/0.4298, allocations: 21.62 kB / 0.5228 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.4299, allocations: 26.03 kB / 0.5228 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.43, allocations: 98.02 kB / 0.5229 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.4301, allocations: 97.23 kB / 0.523 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.4305, allocations: 276.8 kB / 0.5233 GB, free: 8.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4305, allocations: 1.094 kB / 0.5233 GB, free: 8.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4305, allocations: 0 / 0.5233 GB, free: 8.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4305, allocations: 0 / 0.5233 GB, free: 8.125 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001794/0.4323, allocations: 0.675 MB / 0.5239 GB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4323, allocations: 9.766 kB / 0.5239 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.228e-05/0.4323, allocations: 3.938 kB / 0.5239 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.4324, allocations: 46.05 kB / 0.524 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.633e-05/0.4325, allocations: 31.94 kB / 0.524 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.4334, allocations: 362.6 kB / 0.5244 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4334, allocations: 14.16 kB / 0.5244 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.4334, allocations: 25.91 kB / 0.5244 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.4337, allocations: 178.9 kB / 0.5246 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4337, allocations: 0 / 0.5246 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4338, allocations: 6.094 kB / 0.5246 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4338, allocations: 3.156 kB / 0.5246 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.4341, allocations: 173.9 kB / 0.5247 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.4352, allocations: 0.5706 MB / 0.5253 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.4357, allocations: 242.3 kB / 0.5255 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.4359, allocations: 108.2 kB / 0.5256 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.4359, allocations: 8 kB / 0.5256 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.4359, allocations: 32.67 kB / 0.5257 GB, free: 6.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.4359, allocations: 1.188 kB / 0.5257 GB, free: 6.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006592/0.4366, allocations: 345.2 kB / 0.526 GB, free: 6.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.4366, allocations: 54.34 kB / 0.5261 GB, free: 6.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009226/0.4375, allocations: 415.5 kB / 0.5264 GB, free: 6.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.4375, allocations: 35.05 kB / 0.5265 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.4376, allocations: 158.9 kB / 0.5266 GB, free: 6.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.4377, allocations: 84.17 kB / 0.5267 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.4378, allocations: 41.83 kB / 0.5268 GB, free: 6.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.4378, allocations: 344.6 kB / 0.5271 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.438, allocations: 92.22 kB / 0.5272 GB, free: 5.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.4381, allocations: 86.84 kB / 0.5273 GB, free: 5.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.4406, allocations: 0.6303 MB / 0.5279 GB, free: 5.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4406, allocations: 1.312 kB / 0.5279 GB, free: 5.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005708/0.4412, allocations: 305.6 kB / 0.5282 GB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4412, allocations: 9.812 kB / 0.5282 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4412, allocations: 0.6094 kB / 0.5282 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4412, allocations: 5.188 kB / 0.5282 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.4416, allocations: 48.47 kB / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4416, allocations: 1.281 kB / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.442, allocations: 61.27 kB / 0.5283 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.442, allocations: 9.781 kB / 0.5283 GB, free: 5.438 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] FA2.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 (28): * Single equations (assignments): 28 * 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.0002438/0.4423, allocations: 170.7 kB / 0.5285 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.4423, allocations: 36.53 kB / 0.5285 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/0.4429, allocations: 309.2 kB / 0.5288 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4429, allocations: 2.312 kB / 0.5288 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4429, allocations: 8.719 kB / 0.5288 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4429, allocations: 0.8906 kB / 0.5288 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.4433, allocations: 286.1 kB / 0.5291 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4433, allocations: 0 / 0.5291 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.4437, allocations: 43.36 kB / 0.5291 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4437, allocations: 5.031 kB / 0.5291 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.4437, allocations: 10.23 kB / 0.5291 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4437, allocations: 0 / 0.5291 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4437, allocations: 5.625 kB / 0.5291 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.4444, allocations: 0.4995 MB / 0.5296 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.4445, allocations: 36.39 kB / 0.5297 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.4446, allocations: 12.2 kB / 0.5297 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.445, allocations: 50.33 kB / 0.5297 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.4451, allocations: 13.41 kB / 0.5297 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.4451, allocations: 8.609 kB / 0.5297 GB, free: 4.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008533/0.446, allocations: 331 kB / 0.53 GB, free: 4.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.446, allocations: 0 / 0.53 GB, free: 4.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.4463, allocations: 48.98 kB / 0.5301 GB, free: 4.465 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,FA2.x_scaled[1],FA1.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 (23): * Single equations (assignments): 23 * 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.0009209/0.4472, allocations: 1.035 MB / 0.5311 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.4478, allocations: 232.1 kB / 0.5313 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4478, allocations: 0.5938 kB / 0.5313 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.448, allocations: 112.2 kB / 0.5314 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.4486, allocations: 64.36 kB / 0.5315 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/0.4541, allocations: 3.304 MB / 0.5347 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.4543, allocations: 182.9 kB / 0.5349 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.4546, allocations: 62.16 kB / 0.535 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.4547, allocations: 97.23 kB / 0.535 GB, free: 1.527 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4547, allocations: 0 / 0.535 GB, free: 1.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.4902, allocations: 6.353 MB / 0.5413 GB, free: 15.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.2, allocations: 10.59 kB / 0.5413 GB, free: 15.4 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.05059005995281] Failed to read output from testmodel.py, exit status != 0: 12.367334495997056 12.396189207 11.960478572 Calling exit ...