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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 102 kB / 16.4 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 245.1 MB, free: 15 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.09774/0.09774, allocations: 22.33 MB / 319.6 MB, free: 6.762 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 59.89 kB / 443.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 54.95 MB / 498.1 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001607/0.114, allocations: 0.5204 MB / 498.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.1142, allocations: 23.89 kB / 498.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1142, allocations: 0 / 498.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1142, allocations: 0 / 498.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.1143, allocations: 0 / 498.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.903e-05/0.1144, allocations: 4 kB / 498.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.1144, allocations: 15.92 kB / 498.6 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.1145, allocations: 4 kB / 498.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.497e-05/0.1145, allocations: 0 / 498.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.1146, allocations: 11.94 kB / 498.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1146, allocations: 0 / 498.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-06/0.1146, allocations: 0 / 498.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.1146, allocations: 3.984 kB / 498.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1147, allocations: 3.984 kB / 498.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 5.792e-05/0.1147, allocations: 12.16 kB / 498.7 MB, free: 3.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1147, allocations: 0 / 498.7 MB, free: 3.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1147, allocations: 0 / 498.7 MB, free: 3.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1147, allocations: 7.938 kB / 498.7 MB, free: 3.137 MB / 366.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.0004313/0.1152, allocations: 319.6 kB / 499 MB, free: 2.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1152, allocations: 12.03 kB / 499 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.1153, allocations: 30.75 kB / 499 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.1153, allocations: 4.891 kB / 499 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1154, allocations: 168.3 kB / 499.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1155, allocations: 384 / 499.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1155, allocations: 8.312 kB / 499.2 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1156, allocations: 42.25 kB / 499.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1156, allocations: 3.938 kB / 499.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.1156, allocations: 0 / 499.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1156, allocations: 0 / 499.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/0.1157, allocations: 4 kB / 499.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.116, allocations: 153.7 kB / 499.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.9e-05/0.1161, allocations: 22.61 kB / 499.4 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.1161, allocations: 20.78 kB / 499.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1161, allocations: 4.062 kB / 499.5 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1162, allocations: 30.56 kB / 499.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1162, allocations: 3.938 kB / 499.5 MB, free: 2.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.1164, allocations: 49.62 kB / 499.5 MB, free: 2.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.1164, allocations: 51.41 kB / 499.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.1165, allocations: 93.98 kB / 499.7 MB, free: 1.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1165, allocations: 29.7 kB / 499.7 MB, free: 1.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.1166, allocations: 84.14 kB / 499.8 MB, free: 1.812 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1166, allocations: 11.94 kB / 499.8 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1167, allocations: 9.719 kB / 499.8 MB, free: 1.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1168, allocations: 314.8 kB / 0.4884 GB, free: 1.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.1168, allocations: 7.938 kB / 0.4884 GB, free: 1.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.1169, allocations: 8.172 kB / 0.4884 GB, free: 1.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1171, allocations: 40.91 kB / 0.4885 GB, free: 1.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1171, allocations: 4 kB / 0.4885 GB, free: 1.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001015/0.1172, allocations: 49.64 kB / 0.4885 GB, free: 1.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1172, allocations: 7.938 kB / 0.4885 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1172, allocations: 0 / 0.4885 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1173, allocations: 0 / 0.4885 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.1173, allocations: 15.92 kB / 0.4885 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.1173, allocations: 0 / 0.4885 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.1174, allocations: 0 / 0.4885 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.1174, allocations: 4 kB / 0.4885 GB, free: 1.324 MB / 366.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.0001512/0.1175, allocations: 110.6 kB / 0.4886 GB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.1175, allocations: 3.938 kB / 0.4886 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.1176, allocations: 7.125 kB / 0.4887 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1176, allocations: 3.938 kB / 0.4887 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1176, allocations: 0 / 0.4887 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1176, allocations: 4 kB / 0.4887 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1177, allocations: 149.7 kB / 0.4888 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1177, allocations: 4 kB / 0.4888 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.1178, allocations: 11.98 kB / 0.4888 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1178, allocations: 3.938 kB / 0.4888 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1178, allocations: 0 / 0.4888 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1178, allocations: 0 / 0.4888 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1178, allocations: 0 / 0.4888 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.118, allocations: 73.06 kB / 0.4889 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.1181, allocations: 89.19 kB / 0.489 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1181, allocations: 7.875 kB / 0.489 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.1181, allocations: 3.984 kB / 0.489 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.1181, allocations: 0 / 0.489 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1181, allocations: 4 kB / 0.489 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.1182, allocations: 79.28 kB / 0.4891 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1182, allocations: 0 / 0.4891 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001737/0.1184, allocations: 4 kB / 0.4891 GB, free: 0.6797 MB / 366.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.0004529/0.1188, allocations: 0.6086 MB / 0.4897 GB, free: 40 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.119, allocations: 19.94 kB / 0.4897 GB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.119, allocations: 0 / 0.4897 GB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.119, allocations: 11.98 kB / 0.4897 GB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1192, allocations: 6.125 kB / 0.4897 GB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1203, allocations: 1.102 MB / 0.4908 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.1208, allocations: 0.6768 MB / 0.4914 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.398e-05/0.1208, allocations: 4 kB / 0.4914 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.1208, allocations: 7.438 kB / 0.4914 GB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1208, allocations: 0 / 0.4914 GB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.1429, allocations: 1.109 MB / 0.4925 GB, free: 13.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.702, allocations: 7.75 kB / 0.4925 GB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.316092722001486] Failed to read output from testmodel.py, exit status != 0: 7.769404485938139 7.793465809 7.67449319 Calling exit ...