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.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.001272/0.001272, allocations: 110.4 kB / 18.68 MB, free: 3.316 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.001291/0.001291, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.409/1.409, allocations: 225.6 MB / 250.6 MB, free: 13.39 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.1052/0.1052, allocations: 22.69 MB / 328.5 MB, free: 2.641 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: 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 0.00203/0.00203, allocations: 67.89 kB / 462.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.0969, allocations: 58.03 MB / 0.5081 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001542/0.09844, allocations: 0.5169 MB / 0.5086 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000153/0.09859, allocations: 31.88 kB / 0.5086 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.09862, allocations: 0 / 0.5086 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.09863, allocations: 7.938 kB / 0.5087 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.669e-05/0.09865, allocations: 0 / 0.5087 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.09879, allocations: 8 kB / 0.5087 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.09884, allocations: 15.97 kB / 0.5087 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.09888, allocations: 0 / 0.5087 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.0989, allocations: 4 kB / 0.5087 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.09895, allocations: 3.938 kB / 0.5087 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.09897, allocations: 0 / 0.5087 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-06/0.09897, allocations: 3.938 kB / 0.5087 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.09899, allocations: 7.984 kB / 0.5087 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.09901, allocations: 0 / 0.5087 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.962e-05/0.09906, allocations: 15.92 kB / 0.5087 GB, free: 4.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.09906, allocations: 0 / 0.5087 GB, free: 4.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.09906, allocations: 0 / 0.5087 GB, free: 4.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.09907, allocations: 4 kB / 0.5087 GB, free: 4.367 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.000406/0.09948, allocations: 319.5 kB / 0.509 GB, free: 4.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.09952, allocations: 8.75 kB / 0.509 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.09954, allocations: 0.9375 kB / 0.509 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.09967, allocations: 164.4 kB / 0.5092 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.09969, allocations: 4.375 kB / 0.5092 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.0997, allocations: 4.375 kB / 0.5092 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.299e-05/0.09978, allocations: 34.27 kB / 0.5092 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.09979, allocations: 192 / 0.5092 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.0998, allocations: 7.875 kB / 0.5092 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.0998, allocations: 0 / 0.5092 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.09983, allocations: 11.92 kB / 0.5092 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1, allocations: 149.6 kB / 0.5094 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.1001, allocations: 30.59 kB / 0.5094 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.1001, allocations: 8.859 kB / 0.5094 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.1001, allocations: 0 / 0.5094 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1001, allocations: 34.62 kB / 0.5095 GB, free: 3.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1001, allocations: 0 / 0.5095 GB, free: 3.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002933/0.1004, allocations: 69.59 kB / 0.5095 GB, free: 3.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1004, allocations: 51.41 kB / 0.5096 GB, free: 3.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.1005, allocations: 98.05 kB / 0.5097 GB, free: 3.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1005, allocations: 25.7 kB / 0.5097 GB, free: 3.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.1006, allocations: 84.14 kB / 0.5098 GB, free: 3.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1006, allocations: 11.84 kB / 0.5098 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1006, allocations: 17.7 kB / 0.5098 GB, free: 3.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1008, allocations: 314.8 kB / 0.5101 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.1008, allocations: 7.938 kB / 0.5101 GB, free: 2.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.1008, allocations: 7.984 kB / 0.5101 GB, free: 2.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.35e-05/0.1008, allocations: 28.91 kB / 0.5101 GB, free: 2.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1008, allocations: 0 / 0.5101 GB, free: 2.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.019e-05/0.1009, allocations: 37.7 kB / 0.5102 GB, free: 2.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1009, allocations: 11.98 kB / 0.5102 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1009, allocations: 3.938 kB / 0.5102 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1009, allocations: 0 / 0.5102 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.101, allocations: 8 kB / 0.5102 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.101, allocations: 0 / 0.5102 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.101, allocations: 0 / 0.5102 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.101, allocations: 4 kB / 0.5102 GB, free: 2.613 MB / 382.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 7.764e-05/0.1011, allocations: 114.6 kB / 0.5103 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.1011, allocations: 3.984 kB / 0.5103 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.1012, allocations: 57.06 kB / 0.5104 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1013, allocations: 4 kB / 0.5104 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1013, allocations: 0 / 0.5104 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.1013, allocations: 77.11 kB / 0.5104 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.1013, allocations: 0 / 0.5104 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.1013, allocations: 0 / 0.5104 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.1013, allocations: 8 kB / 0.5105 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000142/0.1015, allocations: 128.9 kB / 0.5106 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001481/0.1016, allocations: 218.8 kB / 0.5108 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.242e-05/0.1017, allocations: 8 kB / 0.5108 GB, free: 1.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.1017, allocations: 75.28 kB / 0.5109 GB, free: 1.875 MB / 382.1 MB Notification: Performance of Backend: time 2.01e-07/0.1017, allocations: 3.938 kB / 0.5109 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.102, allocations: 90.48 kB / 0.511 GB, free: 1.773 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003748/0.1024, allocations: 0.5369 MB / 0.5115 GB, free: 1.188 MB / 382.1 MB Notification: Performance of Templates: time 0.00232/0.1047, allocations: 325.3 kB / 0.5118 GB, free: 0.8711 MB / 382.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.227519553969614] Failed to read output from testmodel.py, exit status != 0: 0.25938289699843153 0.269251406 0.167810762 Calling exit ...