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.001392/0.001392, allocations: 100.3 kB / 20.46 MB, free: 1.367 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.001586/0.001586, allocations: 215.9 kB / 23.77 MB, free: 4.52 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1084/0.1084, allocations: 24.03 MB / 338 MB, free: 11.32 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: translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") [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.002068/0.002068, allocations: 67.91 kB / 472.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3003, allocations: 59.57 MB / 0.5198 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001543/0.3018, allocations: 0.5242 MB / 0.5203 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001371/0.3019, allocations: 23.06 kB / 0.5203 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.302, allocations: 0 / 0.5203 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.302, allocations: 0 / 0.5203 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.302, allocations: 5.156 kB / 0.5203 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.672e-05/0.3021, allocations: 6.375 kB / 0.5204 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.3022, allocations: 10.44 kB / 0.5204 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.3022, allocations: 1.766 kB / 0.5204 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.461e-05/0.3022, allocations: 6.891 kB / 0.5204 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.3023, allocations: 7.875 kB / 0.5204 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3023, allocations: 0 / 0.5204 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.3023, allocations: 1.25 kB / 0.5204 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.3023, allocations: 4 kB / 0.5204 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.3023, allocations: 10.7 kB / 0.5204 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.049e-05/0.3024, allocations: 12.05 kB / 0.5204 GB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3024, allocations: 0.7031 kB / 0.5204 GB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3024, allocations: 0 / 0.5204 GB, free: 9.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3024, allocations: 0 / 0.5204 GB, free: 9.062 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.0003178/0.3027, allocations: 247.5 kB / 0.5206 GB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3028, allocations: 14.7 kB / 0.5207 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.3028, allocations: 2.094 kB / 0.5207 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.627e-05/0.3029, allocations: 109.7 kB / 0.5208 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3029, allocations: 384 / 0.5208 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3029, allocations: 1.438 kB / 0.5208 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.303, allocations: 33.69 kB / 0.5208 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.303, allocations: 1.312 kB / 0.5208 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.303, allocations: 7.938 kB / 0.5208 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.303, allocations: 0 / 0.5208 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.3031, allocations: 10.55 kB / 0.5208 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.3032, allocations: 106.5 kB / 0.5209 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/0.3033, allocations: 23.16 kB / 0.5209 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.3033, allocations: 8.844 kB / 0.5209 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3033, allocations: 1.719 kB / 0.5209 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.3033, allocations: 39.62 kB / 0.521 GB, free: 8.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3033, allocations: 0 / 0.521 GB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.3035, allocations: 50.19 kB / 0.521 GB, free: 8.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.3035, allocations: 55.41 kB / 0.5211 GB, free: 8.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.29e-05/0.3036, allocations: 101 kB / 0.5212 GB, free: 8.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.3036, allocations: 26.36 kB / 0.5212 GB, free: 8.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.3036, allocations: 81.55 kB / 0.5213 GB, free: 8.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3036, allocations: 12.56 kB / 0.5213 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.3036, allocations: 18.75 kB / 0.5213 GB, free: 8.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.3037, allocations: 313.3 kB / 0.5216 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.3037, allocations: 7.281 kB / 0.5216 GB, free: 7.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.3037, allocations: 3.844 kB / 0.5216 GB, free: 7.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3039, allocations: 30.69 kB / 0.5217 GB, free: 7.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3039, allocations: 4.031 kB / 0.5217 GB, free: 7.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.489e-05/0.304, allocations: 49.36 kB / 0.5217 GB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.304, allocations: 10.19 kB / 0.5217 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.304, allocations: 0 / 0.5217 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.304, allocations: 5.062 kB / 0.5217 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.3041, allocations: 6.719 kB / 0.5217 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3041, allocations: 0 / 0.5217 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.3041, allocations: 5.234 kB / 0.5217 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.3041, allocations: 1.906 kB / 0.5217 GB, free: 7.691 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 9.399e-05/0.3042, allocations: 112.5 kB / 0.5218 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.3042, allocations: 1.719 kB / 0.5218 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.3043, allocations: 8.969 kB / 0.5219 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3043, allocations: 4.547 kB / 0.5219 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3043, allocations: 0.9375 kB / 0.5219 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.3043, allocations: 0 / 0.5219 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.837e-05/0.3043, allocations: 103.7 kB / 0.522 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3043, allocations: 0.7031 kB / 0.522 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.3044, allocations: 10.11 kB / 0.522 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3044, allocations: 0.5625 kB / 0.522 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3044, allocations: 5.062 kB / 0.522 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3044, allocations: 4.594 kB / 0.522 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3044, allocations: 3.938 kB / 0.522 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.3045, allocations: 79.94 kB / 0.5221 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.3045, allocations: 2.766 kB / 0.5221 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.3045, allocations: 1.219 kB / 0.5221 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.3046, allocations: 0.75 kB / 0.5221 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.3046, allocations: 6.781 kB / 0.5221 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3046, allocations: 0.6094 kB / 0.5221 GB, free: 7.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.035e-05/0.3046, allocations: 83.23 kB / 0.5221 GB, free: 7.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3046, allocations: 0 / 0.5221 GB, free: 7.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001763/0.3048, allocations: 7.688 kB / 0.5222 GB, free: 7.262 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 4.76e-05/0.3048, allocations: 99.53 kB / 0.5222 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3049, allocations: 16.56 kB / 0.5223 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3049, allocations: 0 / 0.5223 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.305, allocations: 9.203 kB / 0.5223 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.3051, allocations: 1.375 kB / 0.5223 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.3053, allocations: 150.3 kB / 0.5224 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.795e-05/0.3054, allocations: 60.03 kB / 0.5225 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.3054, allocations: 8.938 kB / 0.5225 GB, free: 6.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3054, allocations: 0 / 0.5225 GB, free: 6.93 MB / 382.1 MB Notification: Performance of Templates: time 0.001855/0.3072, allocations: 495 kB / 0.523 GB, free: 6.914 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile [Timeout 660] (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 & ./AES_AES.Coursework.OOM_Intro.HelloWorld -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.908090611919761] Failed to read output from testmodel.py, exit status != 0: 0.3146993606351316 0.32601342299999997 0.021080791 Calling exit ...