Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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.001386/0.001386, allocations: 83.62 kB / 19.96 MB, free: 1.754 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.001597/0.001597, allocations: 159.8 kB / 23.23 MB, free: 4.883 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.499/1.499, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.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.1073/0.1073, allocations: 18.14 MB / 278.1 MB, free: 15.04 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_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.788e-06/3.788e-06, allocations: 3.984 kB / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.306e-05, allocations: 4.812 kB / 415.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001597/0.00163, allocations: 0.5095 MB / 416.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.00183, allocations: 35.77 kB / 416.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.00186, allocations: 4 kB / 416.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.001872, allocations: 0 / 416.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.241e-05/0.001894, allocations: 4 kB / 416.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.002056, allocations: 11.97 kB / 416.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.002105, allocations: 4 kB / 416.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.002143, allocations: 0 / 416.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.00216, allocations: 4 kB / 416.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.00222, allocations: 3.984 kB / 416.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.002239, allocations: 4 kB / 416.1 MB, free: 2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-06/0.002246, allocations: 3.938 kB / 416.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.002259, allocations: 3.938 kB / 416.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.00228, allocations: 8 kB / 416.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.046e-05/0.002341, allocations: 11.97 kB / 416.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002343, allocations: 0 / 416.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.002344, allocations: 0 / 416.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.002347, allocations: 0 / 416.2 MB, free: 1.973 MB / 334.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.0004193/0.002767, allocations: 246.3 kB / 416.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.002809, allocations: 12.92 kB / 416.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.002841, allocations: 0.9375 kB / 416.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.002959, allocations: 109.8 kB / 416.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.002971, allocations: 4.375 kB / 416.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.00299, allocations: 4.375 kB / 416.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.537e-05/0.003085, allocations: 34.25 kB / 416.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.003094, allocations: 192 / 416.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003102, allocations: 384 / 416.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.003106, allocations: 384 / 416.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.003136, allocations: 7.875 kB / 416.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.003293, allocations: 105.3 kB / 416.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.003362, allocations: 26.61 kB / 416.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.003381, allocations: 4.859 kB / 416.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.003402, allocations: 8.062 kB / 416.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.003431, allocations: 30.56 kB / 416.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.003432, allocations: 0 / 416.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003435/0.003775, allocations: 65.61 kB / 416.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.003825, allocations: 59.34 kB / 416.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.003908, allocations: 97.8 kB / 417 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.003927, allocations: 25.7 kB / 417 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.003969, allocations: 84.14 kB / 417.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.003996, allocations: 7.906 kB / 417.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.004036, allocations: 22.02 kB / 417.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.004178, allocations: 314.8 kB / 417.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-05/0.004196, allocations: 4 kB / 417.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-06/0.004206, allocations: 0 / 417.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.004257, allocations: 28.91 kB / 417.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.004257, allocations: 0 / 417.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.091e-05/0.004338, allocations: 45.69 kB / 417.5 MB, free: 488 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.004351, allocations: 4 kB / 417.5 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.004355, allocations: 0 / 417.5 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.004373, allocations: 4 kB / 417.5 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.004457, allocations: 8 kB / 417.5 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.004464, allocations: 7.938 kB / 417.5 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.004492, allocations: 8 kB / 417.5 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.004498, allocations: 0 / 417.5 MB, free: 456 kB / 334.1 MB 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 8.175e-05/0.004579, allocations: 109.8 kB / 417.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.004592, allocations: 4 kB / 417.6 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.004721, allocations: 53.31 kB / 417.7 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.004723, allocations: 0 / 417.7 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.004729, allocations: 4 kB / 417.7 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.004734, allocations: 7.875 kB / 417.7 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.962e-05/0.004833, allocations: 105.3 kB / 417.8 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004834, allocations: 4 kB / 417.8 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.004885, allocations: 4 kB / 417.8 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.004887, allocations: 0 / 417.8 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.004895, allocations: 4 kB / 417.8 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.004897, allocations: 0 / 417.8 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.004898, allocations: 0 / 417.8 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.005007, allocations: 73 kB / 417.9 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.005015, allocations: 3.953 kB / 417.9 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.005027, allocations: 4 kB / 417.9 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.005048, allocations: 4 kB / 417.9 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.005086, allocations: 11.98 kB / 417.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.005089, allocations: 0 / 417.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.005134, allocations: 83.22 kB / 418 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.005134, allocations: 0 / 418 MB, free: 15.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.005338, allocations: 4 kB / 418 MB, free: 15.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001127/0.005451, allocations: 95.19 kB / 418.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.728e-05/0.005548, allocations: 15.92 kB / 418.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.005551, allocations: 0 / 418.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.005568, allocations: 7.938 kB / 418.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.005726, allocations: 16.03 kB / 418.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.005976, allocations: 85.05 kB / 418.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.769e-05/0.006043, allocations: 55.36 kB / 418.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.006066, allocations: 3.984 kB / 418.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.006099, allocations: 12.5 kB / 418.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.006099, allocations: 0 / 418.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Templates: time 0.002822/0.008922, allocations: 251.5 kB / 418.5 MB, free: 15.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile [Timeout 660] (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld_inverse -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3570944257080555] Failed to read output from testmodel.py, exit status != 0: 0.01887856423854828 0.034315674000000004 0.028709870000000002 Calling exit ...