Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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.001571/0.001571, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001547/0.001547, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.969 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.1062/0.1062, allocations: 24.12 MB / 336.6 MB, free: 11.44 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.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",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.002041/0.002041, allocations: 71.89 kB / 470.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4344, allocations: 59.6 MB / 0.5181 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.002912/0.4373, allocations: 0.5197 MB / 0.5186 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.4376, allocations: 22.47 kB / 0.5186 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.4376, allocations: 1.062 kB / 0.5186 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.4376, allocations: 3.719 kB / 0.5186 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.272e-05/0.4377, allocations: 0 / 0.5186 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.4379, allocations: 7.156 kB / 0.5186 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.4379, allocations: 5.609 kB / 0.5186 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.438, allocations: 6.438 kB / 0.5186 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.4381, allocations: 10.56 kB / 0.5187 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.4381, allocations: 7.172 kB / 0.5187 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.4382, allocations: 0.5312 kB / 0.5187 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.4382, allocations: 0.5938 kB / 0.5187 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.4382, allocations: 5.328 kB / 0.5187 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.4382, allocations: 5.359 kB / 0.5187 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.385e-05/0.4383, allocations: 12.72 kB / 0.5187 GB, free: 8.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4383, allocations: 3.938 kB / 0.5187 GB, free: 8.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4383, allocations: 0 / 0.5187 GB, free: 8.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.4384, allocations: 0.9375 kB / 0.5187 GB, free: 8.738 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004822/0.4388, allocations: 242.5 kB / 0.5189 GB, free: 8.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.4389, allocations: 11.14 kB / 0.5189 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.439, allocations: 31.36 kB / 0.519 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.439, allocations: 2.547 kB / 0.519 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4391, allocations: 118.9 kB / 0.5191 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.4391, allocations: 2.344 kB / 0.5191 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.4391, allocations: 4.312 kB / 0.5191 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.4393, allocations: 34.23 kB / 0.5191 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4393, allocations: 3.938 kB / 0.5191 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4393, allocations: 0 / 0.5191 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.4393, allocations: 0.7812 kB / 0.5191 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.4394, allocations: 6 kB / 0.5191 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.4396, allocations: 131.3 kB / 0.5193 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.4397, allocations: 31.36 kB / 0.5193 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.4397, allocations: 8.266 kB / 0.5193 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.4398, allocations: 1.719 kB / 0.5193 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.4398, allocations: 30.56 kB / 0.5193 GB, free: 8.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.4398, allocations: 1 kB / 0.5193 GB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002725/0.4401, allocations: 54.66 kB / 0.5194 GB, free: 7.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4401, allocations: 51.41 kB / 0.5194 GB, free: 7.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.4402, allocations: 100 kB / 0.5195 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.4402, allocations: 25.7 kB / 0.5195 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.4402, allocations: 81.95 kB / 0.5196 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.4403, allocations: 13.7 kB / 0.5196 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.4403, allocations: 16.52 kB / 0.5196 GB, free: 7.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.4404, allocations: 317.4 kB / 0.52 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.4404, allocations: 4.75 kB / 0.52 GB, free: 7.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.4405, allocations: 7.906 kB / 0.52 GB, free: 7.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.4408, allocations: 34.05 kB / 0.52 GB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4408, allocations: 0 / 0.52 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001364/0.4409, allocations: 45.59 kB / 0.52 GB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4409, allocations: 9.672 kB / 0.52 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4409, allocations: 0 / 0.52 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.441, allocations: 17.19 kB / 0.5201 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4411, allocations: 5.562 kB / 0.5201 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4411, allocations: 1.344 kB / 0.5201 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.4411, allocations: 6.219 kB / 0.5201 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4411, allocations: 0 / 0.5201 GB, free: 7.281 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real 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 (3): * Single equations (assignments): 3 * 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.000269/0.4414, allocations: 117.2 kB / 0.5202 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.4414, allocations: 3.938 kB / 0.5202 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.4414, allocations: 13.33 kB / 0.5202 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4414, allocations: 0 / 0.5202 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.4414, allocations: 2.156 kB / 0.5202 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4414, allocations: 0 / 0.5202 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.4415, allocations: 124 kB / 0.5203 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4415, allocations: 1.781 kB / 0.5203 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-05/0.4416, allocations: 6.828 kB / 0.5203 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4416, allocations: 3.938 kB / 0.5203 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4417, allocations: 2.078 kB / 0.5203 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4417, allocations: 0 / 0.5203 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4417, allocations: 0.5156 kB / 0.5203 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.4419, allocations: 86.28 kB / 0.5204 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.4419, allocations: 1.469 kB / 0.5204 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.4419, allocations: 4.594 kB / 0.5204 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.318e-05/0.442, allocations: 2.094 kB / 0.5204 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.442, allocations: 2.406 kB / 0.5204 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.442, allocations: 1.156 kB / 0.5204 GB, free: 6.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.698e-05/0.442, allocations: 83.25 kB / 0.5205 GB, free: 6.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.442, allocations: 0 / 0.5205 GB, free: 6.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.4424, allocations: 6.844 kB / 0.5205 GB, free: 6.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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.0004583/0.4428, allocations: 0.6057 MB / 0.5211 GB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.443, allocations: 20.31 kB / 0.5211 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.443, allocations: 0.5625 kB / 0.5211 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.443, allocations: 5.25 kB / 0.5211 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.4433, allocations: 6.625 kB / 0.5211 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.4444, allocations: 1.11 MB / 0.5222 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.4445, allocations: 0.6753 MB / 0.5229 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.063e-05/0.4446, allocations: 9.953 kB / 0.5229 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.4446, allocations: 12.53 kB / 0.5229 GB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4446, allocations: 0 / 0.5229 GB, free: 4.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.4799, allocations: 1.231 MB / 0.5241 GB, free: 4.016 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.35, allocations: 5.125 kB / 0.5241 GB, free: 4.012 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.OOM_Intro.HelloWorld_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0333333 AES_AES_Coursework_OOM_Intro_HelloWorld.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.36628421000205] Failed to read output from testmodel.py, exit status != 0: 11.459346643001481 11.482357696 11.039393693 Calling exit ...