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.00125/0.00125, allocations: 109.6 kB / 16.45 MB, free: 6.496 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.001306/0.001306, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.0971/0.0971, allocations: 22.69 MB / 325.4 MB, free: 3.566 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.00183/0.00183, allocations: 63.91 kB / 455 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1095, allocations: 58.02 MB / 0.501 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001667/0.1112, allocations: 0.5221 MB / 0.5015 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.1113, allocations: 15.91 kB / 0.5016 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.1113, allocations: 0 / 0.5016 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.1114, allocations: 3.938 kB / 0.5016 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.1114, allocations: 4 kB / 0.5016 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.94e-05/0.1115, allocations: 3.984 kB / 0.5016 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.1116, allocations: 8 kB / 0.5016 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.1116, allocations: 4.031 kB / 0.5016 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.1116, allocations: 0 / 0.5016 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.1117, allocations: 19.86 kB / 0.5016 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1117, allocations: 4 kB / 0.5016 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.1117, allocations: 0 / 0.5016 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.1117, allocations: 0 / 0.5016 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.1118, allocations: 7.984 kB / 0.5016 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.481e-05/0.1118, allocations: 12.14 kB / 0.5016 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1118, allocations: 0 / 0.5016 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1118, allocations: 0 / 0.5016 GB, free: 9.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1118, allocations: 0 / 0.5016 GB, free: 9.207 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.0004089/0.1122, allocations: 319.6 kB / 0.5019 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1123, allocations: 16.03 kB / 0.5019 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.1123, allocations: 30.75 kB / 0.502 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.1123, allocations: 4.891 kB / 0.502 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1125, allocations: 172.3 kB / 0.5021 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1125, allocations: 384 / 0.5021 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1125, allocations: 4.359 kB / 0.5021 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1126, allocations: 38.25 kB / 0.5022 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1126, allocations: 3.938 kB / 0.5022 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1126, allocations: 0 / 0.5022 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1126, allocations: 0 / 0.5022 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.1127, allocations: 15.92 kB / 0.5022 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1128, allocations: 149.7 kB / 0.5023 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.1129, allocations: 30.59 kB / 0.5024 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.113, allocations: 8.922 kB / 0.5024 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.113, allocations: 0 / 0.5024 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.113, allocations: 34.56 kB / 0.5024 GB, free: 8.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.113, allocations: 3.938 kB / 0.5024 GB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001951/0.1132, allocations: 53.56 kB / 0.5025 GB, free: 8.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1132, allocations: 51.41 kB / 0.5025 GB, free: 8.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.1133, allocations: 97.84 kB / 0.5026 GB, free: 7.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1133, allocations: 29.7 kB / 0.5026 GB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.1134, allocations: 84.14 kB / 0.5027 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1134, allocations: 3.953 kB / 0.5027 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1134, allocations: 13.84 kB / 0.5027 GB, free: 7.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1136, allocations: 322.8 kB / 0.503 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.1136, allocations: 0 / 0.503 GB, free: 7.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.1136, allocations: 4 kB / 0.503 GB, free: 7.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1138, allocations: 40.77 kB / 0.5031 GB, free: 7.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1138, allocations: 0 / 0.5031 GB, free: 7.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.878e-05/0.1139, allocations: 49.64 kB / 0.5031 GB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1139, allocations: 11.97 kB / 0.5031 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1139, allocations: 4 kB / 0.5031 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1139, allocations: 4 kB / 0.5031 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.114, allocations: 4 kB / 0.5032 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.114, allocations: 0 / 0.5032 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.024e-05/0.114, allocations: 0 / 0.5032 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.114, allocations: 0 / 0.5032 GB, free: 7.398 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.0001503/0.1142, allocations: 114.6 kB / 0.5033 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.1142, allocations: 7.938 kB / 0.5033 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.1142, allocations: 7.125 kB / 0.5033 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1142, allocations: 4 kB / 0.5033 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1142, allocations: 0 / 0.5033 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1142, allocations: 3.938 kB / 0.5033 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1144, allocations: 153.7 kB / 0.5034 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1144, allocations: 0 / 0.5034 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.1144, allocations: 8.219 kB / 0.5034 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1144, allocations: 3.938 kB / 0.5034 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.1144, allocations: 0 / 0.5034 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1144, allocations: 4 kB / 0.5034 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1144, allocations: 4 kB / 0.5034 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1146, allocations: 77.12 kB / 0.5035 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.1146, allocations: 81.06 kB / 0.5036 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1147, allocations: 7.875 kB / 0.5036 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.1147, allocations: 0 / 0.5036 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.1147, allocations: 4 kB / 0.5036 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1147, allocations: 8.094 kB / 0.5036 GB, free: 6.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.283e-05/0.1148, allocations: 79.27 kB / 0.5037 GB, free: 6.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1148, allocations: 0 / 0.5037 GB, free: 6.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001685/0.1149, allocations: 7.938 kB / 0.5037 GB, free: 6.738 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.0004642/0.1154, allocations: 0.6047 MB / 0.5043 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.1155, allocations: 19.98 kB / 0.5043 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1155, allocations: 4 kB / 0.5043 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.1155, allocations: 7.938 kB / 0.5043 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1157, allocations: 0 / 0.5043 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1167, allocations: 1.102 MB / 0.5054 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.117, allocations: 0.6768 MB / 0.5061 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.843e-05/0.1171, allocations: 4.031 kB / 0.5061 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.1171, allocations: 7.438 kB / 0.5061 GB, free: 4.172 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1171, allocations: 0 / 0.5061 GB, free: 4.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.1406, allocations: 1.107 MB / 0.5072 GB, free: 3.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.053, allocations: 2.531 kB / 0.5072 GB, free: 3.117 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_fmu --startTime=0 --stopTime=100 --stepSize=0.0333333 --timeout=50 --tolerance=1e-06 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.79337564529851] Failed to read output from testmodel.py, exit status != 0: 8.118316682986915 8.360750178 8.246123178 Calling exit ...