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.0008253/0.0008253, allocations: 75.7 kB / 20.8 MB, free: 3.711 MB / 18.57 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.0008236/0.0008236, allocations: 166 kB / 24.09 MB, free: 424 kB / 18.57 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 0.9506/0.9506, allocations: 177.1 MB / 204.4 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.06335/0.06335, allocations: 18.13 MB / 279 MB, free: 11.48 MB / 266.7 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 1.753e-06/1.753e-06, allocations: 0 / 416.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.258e-05, allocations: 3.125 kB / 416.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001915/0.001947, allocations: 0.524 MB / 417.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.002151, allocations: 27.58 kB / 417.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.002179, allocations: 0 / 417.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.002193, allocations: 0 / 417.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.002221, allocations: 3.938 kB / 417.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.002414, allocations: 4.812 kB / 417.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.00247, allocations: 5.391 kB / 417.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.002521, allocations: 10.06 kB / 417.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.002544, allocations: 1.984 kB / 417.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.002621, allocations: 4.906 kB / 417.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.002641, allocations: 3.938 kB / 417.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.002649, allocations: 1.375 kB / 417.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.002666, allocations: 0.6562 kB / 417.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.002692, allocations: 9.922 kB / 417.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.439e-05/0.002756, allocations: 3.531 kB / 417.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.00276, allocations: 2.031 kB / 417.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.002762, allocations: 0 / 417.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.002766, allocations: 0 / 417.1 MB, free: 12.16 MB / 330.7 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.0003523/0.003119, allocations: 247.8 kB / 417.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.003164, allocations: 10.52 kB / 417.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.003198, allocations: 2.234 kB / 417.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.225e-05/0.00327, allocations: 113.1 kB / 417.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.003284, allocations: 384 / 417.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.003311, allocations: 1.75 kB / 417.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.003406, allocations: 31.83 kB / 417.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.003415, allocations: 1.562 kB / 417.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.003425, allocations: 0.875 kB / 417.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.00343, allocations: 4.375 kB / 417.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.003461, allocations: 11.61 kB / 417.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.003576, allocations: 103 kB / 417.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.241e-05/0.003638, allocations: 25.53 kB / 417.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.00366, allocations: 8.688 kB / 417.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.003679, allocations: 0 / 417.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.003701, allocations: 37.31 kB / 417.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.003702, allocations: 0 / 417.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004039/0.004106, allocations: 66.2 kB / 417.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.004132, allocations: 52.97 kB / 417.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.004184, allocations: 106 kB / 417.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.613e-06/0.004191, allocations: 25.7 kB / 418 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.341e-05/0.004204, allocations: 86.39 kB / 418.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.004255, allocations: 13.22 kB / 418.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.004285, allocations: 18.2 kB / 418.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.74e-05/0.004312, allocations: 317.8 kB / 418.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.004332, allocations: 2.75 kB / 418.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.004342, allocations: 7.688 kB / 418.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.004376, allocations: 21.27 kB / 418.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.004377, allocations: 128 / 418.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.558e-05/0.004433, allocations: 51.64 kB / 418.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.004447, allocations: 6.156 kB / 418.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004451, allocations: 0 / 418.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.004466, allocations: 1.375 kB / 418.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.004545, allocations: 8.844 kB / 418.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.004551, allocations: 4.641 kB / 418.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.004564, allocations: 2.266 kB / 418.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.004572, allocations: 1.938 kB / 418.5 MB, free: 10.77 MB / 330.7 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 3.135e-05/0.004603, allocations: 108 kB / 418.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-06/0.004608, allocations: 1.375 kB / 418.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.994e-05/0.004698, allocations: 60.44 kB / 418.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.0047, allocations: 1.375 kB / 418.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.004704, allocations: 0 / 418.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.004708, allocations: 4.641 kB / 418.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.98e-05/0.004747, allocations: 107.2 kB / 418.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.004749, allocations: 1.375 kB / 418.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.004773, allocations: 6.766 kB / 418.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.004775, allocations: 1.375 kB / 418.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.00478, allocations: 0 / 418.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.004782, allocations: 0.8438 kB / 418.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.004783, allocations: 5.375 kB / 418.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.517e-05/0.004828, allocations: 73.14 kB / 418.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-06/0.004834, allocations: 6.266 kB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.004842, allocations: 5.375 kB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-06/0.00485, allocations: 0 / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.004861, allocations: 2.875 kB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.004863, allocations: 1.375 kB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.218e-05/0.004876, allocations: 81.77 kB / 419 MB, free: 10.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004876, allocations: 0 / 419 MB, free: 10.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001217/0.004997, allocations: 2.75 kB / 419 MB, free: 10.31 MB / 330.7 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 5.108e-05/0.005048, allocations: 96.28 kB / 419.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.015e-05/0.005129, allocations: 20.47 kB / 419.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00513, allocations: 0 / 419.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.00514, allocations: 14.31 kB / 419.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.005246, allocations: 3.219 kB / 419.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/0.005403, allocations: 85.42 kB / 419.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.00543, allocations: 59.83 kB / 419.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.767e-05/0.005448, allocations: 4 kB / 419.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.005468, allocations: 10.5 kB / 419.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.005469, allocations: 0 / 419.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of Templates: time 0.001585/0.007053, allocations: 256.6 kB / 419.5 MB, free: 9.98 MB / 330.7 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.864017046056688] Failed to read output from testmodel.py, exit status != 0: 0.01475720014423132 0.022843365 0.018250881 Calling exit ...