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.001646/0.001646, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001983/0.001983, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.1065/0.1065, allocations: 24.12 MB / 337.3 MB, free: 11.45 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: 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.002362/0.002362, allocations: 71.89 kB / 474.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.445, allocations: 59.6 MB / 0.5216 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001759/0.4468, allocations: 0.5125 MB / 0.5221 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000189/0.4469, allocations: 35.23 kB / 0.5222 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.447, allocations: 5.344 kB / 0.5222 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.447, allocations: 3.938 kB / 0.5222 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.151e-05/0.447, allocations: 0 / 0.5222 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.4472, allocations: 4.594 kB / 0.5222 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.4473, allocations: 4.734 kB / 0.5222 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.4473, allocations: 2.156 kB / 0.5222 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.4473, allocations: 11.23 kB / 0.5222 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.4474, allocations: 10.5 kB / 0.5222 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.4474, allocations: 1.312 kB / 0.5222 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-06/0.4474, allocations: 0 / 0.5222 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.4474, allocations: 6.25 kB / 0.5222 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.4475, allocations: 5.656 kB / 0.5222 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.153e-05/0.4475, allocations: 3.234 kB / 0.5222 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4475, allocations: 0.8906 kB / 0.5222 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4475, allocations: 1.406 kB / 0.5222 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4475, allocations: 0 / 0.5222 GB, free: 10.07 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.0003673/0.4479, allocations: 245.8 kB / 0.5225 GB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4479, allocations: 10.75 kB / 0.5225 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.448, allocations: 5.859 kB / 0.5225 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.4481, allocations: 109.3 kB / 0.5226 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4481, allocations: 2.234 kB / 0.5226 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.4481, allocations: 1.594 kB / 0.5226 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.4482, allocations: 35.17 kB / 0.5226 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4482, allocations: 1.438 kB / 0.5226 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4482, allocations: 3.938 kB / 0.5226 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4482, allocations: 3.984 kB / 0.5226 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.4482, allocations: 8.125 kB / 0.5226 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.4484, allocations: 130.3 kB / 0.5228 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.4484, allocations: 20.98 kB / 0.5228 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.4484, allocations: 11.66 kB / 0.5228 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.4485, allocations: 5.141 kB / 0.5228 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4485, allocations: 32.12 kB / 0.5228 GB, free: 9.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.4485, allocations: 0 / 0.5228 GB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003335/0.4488, allocations: 73.48 kB / 0.5229 GB, free: 9.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.4488, allocations: 53.44 kB / 0.5229 GB, free: 9.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.4489, allocations: 92.55 kB / 0.523 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.4489, allocations: 27.14 kB / 0.5231 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.633e-05/0.4489, allocations: 80.75 kB / 0.5231 GB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.449, allocations: 15.55 kB / 0.5231 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.449, allocations: 14.64 kB / 0.5232 GB, free: 9.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.449, allocations: 317.2 kB / 0.5235 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.4491, allocations: 7.328 kB / 0.5235 GB, free: 8.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.4491, allocations: 11.42 kB / 0.5235 GB, free: 8.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.4491, allocations: 16.78 kB / 0.5235 GB, free: 8.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.4491, allocations: 1.25 kB / 0.5235 GB, free: 8.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.499e-05/0.4492, allocations: 43.94 kB / 0.5235 GB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4492, allocations: 9.156 kB / 0.5236 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4492, allocations: 0 / 0.5236 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4492, allocations: 1.891 kB / 0.5236 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.4493, allocations: 7.969 kB / 0.5236 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4493, allocations: 4 kB / 0.5236 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.4493, allocations: 1.906 kB / 0.5236 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4493, allocations: 5.312 kB / 0.5236 GB, free: 8.652 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 4.412e-05/0.4494, allocations: 115.8 kB / 0.5237 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.4494, allocations: 6.031 kB / 0.5237 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.4495, allocations: 51.56 kB / 0.5237 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4495, allocations: 2.031 kB / 0.5237 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4495, allocations: 0 / 0.5237 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4495, allocations: 5.188 kB / 0.5237 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.686e-05/0.4496, allocations: 119.3 kB / 0.5239 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4496, allocations: 1.594 kB / 0.5239 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.4496, allocations: 11.14 kB / 0.5239 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4496, allocations: 5.094 kB / 0.5239 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.4496, allocations: 4.594 kB / 0.5239 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4496, allocations: 1.344 kB / 0.5239 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4496, allocations: 0 / 0.5239 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.577e-05/0.4497, allocations: 76.59 kB / 0.524 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.4497, allocations: 3.188 kB / 0.524 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.4497, allocations: 12.48 kB / 0.524 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.4497, allocations: 1.188 kB / 0.524 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.4498, allocations: 3.016 kB / 0.524 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.4498, allocations: 1.438 kB / 0.524 GB, free: 8.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.047e-05/0.4498, allocations: 77.11 kB / 0.524 GB, free: 8.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4498, allocations: 0 / 0.524 GB, free: 8.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001833/0.45, allocations: 2.719 kB / 0.524 GB, free: 8.148 MB / 382.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 6.449e-05/0.45, allocations: 100.7 kB / 0.5241 GB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.4501, allocations: 19.48 kB / 0.5242 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4501, allocations: 0 / 0.5242 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.4502, allocations: 10.72 kB / 0.5242 GB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.4503, allocations: 2.125 kB / 0.5242 GB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.4505, allocations: 124.8 kB / 0.5243 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.4506, allocations: 0.6753 MB / 0.525 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.4506, allocations: 16.62 kB / 0.525 GB, free: 7.195 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4506, allocations: 0 / 0.525 GB, free: 7.195 MB / 382.1 MB Notification: Performance of Templates: time 0.002036/0.4527, allocations: 431.9 kB / 0.5254 GB, free: 7.184 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: 7.31654077488929] Failed to read output from testmodel.py, exit status != 0: 0.4621057999320328 0.47480237 0.024425113000000002 Calling exit ...