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.001399/0.001399, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001742/0.001742, allocations: 153.4 kB / 23 MB, free: 4.949 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.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.1016/0.1016, allocations: 17.81 MB / 277.6 MB, free: 15.34 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.002221/0.002221, allocations: 79.88 kB / 414.6 MB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1355, allocations: 59.56 MB / 474.2 MB, free: 8.832 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001863/0.1374, allocations: 0.5199 MB / 474.7 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001943/0.1376, allocations: 31.88 kB / 474.7 MB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.1376, allocations: 0 / 474.7 MB, free: 8.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.1376, allocations: 0 / 474.7 MB, free: 8.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.348e-05/0.1377, allocations: 3.938 kB / 474.7 MB, free: 8.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.1378, allocations: 7.984 kB / 474.8 MB, free: 8.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.1379, allocations: 7.938 kB / 474.8 MB, free: 8.266 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.1379, allocations: 0 / 474.8 MB, free: 8.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.138, allocations: 11.98 kB / 474.8 MB, free: 8.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.138, allocations: 7.984 kB / 474.8 MB, free: 8.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1381, allocations: 0 / 474.8 MB, free: 8.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.1381, allocations: 0 / 474.8 MB, free: 8.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1381, allocations: 0 / 474.8 MB, free: 8.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.1381, allocations: 11.94 kB / 474.8 MB, free: 8.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.254e-05/0.1382, allocations: 3.984 kB / 474.8 MB, free: 8.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1382, allocations: 0 / 474.8 MB, free: 8.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1382, allocations: 0 / 474.8 MB, free: 8.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1382, allocations: 0 / 474.8 MB, free: 8.23 MB / 446.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.0004702/0.1387, allocations: 258.4 kB / 475.1 MB, free: 7.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1387, allocations: 8.922 kB / 475.1 MB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1387, allocations: 0.9375 kB / 475.1 MB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1388, allocations: 110.5 kB / 475.2 MB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.1388, allocations: 384 / 475.2 MB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1389, allocations: 384 / 475.2 MB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.139, allocations: 38.25 kB / 475.2 MB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.139, allocations: 192 / 475.2 MB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.139, allocations: 3.938 kB / 475.2 MB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.139, allocations: 0 / 475.2 MB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.139, allocations: 8 kB / 475.2 MB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.1392, allocations: 109.2 kB / 475.3 MB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.761e-05/0.1392, allocations: 22.55 kB / 475.3 MB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.1393, allocations: 8.922 kB / 475.4 MB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1393, allocations: 4 kB / 475.4 MB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1393, allocations: 30.56 kB / 475.4 MB, free: 7.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1393, allocations: 0 / 475.4 MB, free: 7.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000335/0.1396, allocations: 81.44 kB / 475.5 MB, free: 7.441 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1397, allocations: 51.41 kB / 475.5 MB, free: 7.379 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.1398, allocations: 98.05 kB / 475.6 MB, free: 7.273 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1398, allocations: 25.7 kB / 475.6 MB, free: 7.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1398, allocations: 84.08 kB / 475.7 MB, free: 7.156 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1399, allocations: 15.92 kB / 475.7 MB, free: 7.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1399, allocations: 13.72 kB / 475.8 MB, free: 7.121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.14, allocations: 310.8 kB / 476.1 MB, free: 6.809 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.1401, allocations: 8 kB / 476.1 MB, free: 6.801 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.1401, allocations: 7.984 kB / 476.1 MB, free: 6.793 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/0.1401, allocations: 20.86 kB / 476.1 MB, free: 6.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.1401, allocations: 0 / 476.1 MB, free: 6.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.563e-05/0.1402, allocations: 49.75 kB / 476.1 MB, free: 6.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1402, allocations: 8 kB / 476.1 MB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1402, allocations: 0 / 476.1 MB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1402, allocations: 3.938 kB / 476.2 MB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.1403, allocations: 8 kB / 476.2 MB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1403, allocations: 0 / 476.2 MB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.1403, allocations: 0 / 476.2 MB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1404, allocations: 3.984 kB / 476.2 MB, free: 6.691 MB / 446.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.06e-05/0.1404, allocations: 117.8 kB / 476.3 MB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.1404, allocations: 3.953 kB / 476.3 MB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.1406, allocations: 65.42 kB / 476.3 MB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1406, allocations: 0 / 476.3 MB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1406, allocations: 0 / 476.3 MB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1406, allocations: 0 / 476.3 MB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.407e-05/0.1407, allocations: 105.3 kB / 476.4 MB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1407, allocations: 0 / 476.4 MB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.1407, allocations: 8 kB / 476.5 MB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1407, allocations: 0 / 476.5 MB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1407, allocations: 3.938 kB / 476.5 MB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1407, allocations: 3.938 kB / 476.5 MB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1407, allocations: 0 / 476.5 MB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.1409, allocations: 81.06 kB / 476.5 MB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.1409, allocations: 0 / 476.5 MB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.1409, allocations: 0 / 476.5 MB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.1409, allocations: 7.922 kB / 476.6 MB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1409, allocations: 4 kB / 476.6 MB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1409, allocations: 0 / 476.6 MB, free: 6.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.141, allocations: 79.28 kB / 476.6 MB, free: 6.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.141, allocations: 0 / 476.6 MB, free: 6.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001774/0.1412, allocations: 4 kB / 476.6 MB, free: 6.148 MB / 446.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.0001131/0.1413, allocations: 99.28 kB / 476.7 MB, free: 6.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.194e-05/0.1414, allocations: 15.98 kB / 476.7 MB, free: 6.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1414, allocations: 4 kB / 476.8 MB, free: 6.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.1414, allocations: 7.938 kB / 476.8 MB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.1415, allocations: 3.938 kB / 476.8 MB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.1418, allocations: 100.9 kB / 476.9 MB, free: 5.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.491e-05/0.1418, allocations: 63.34 kB / 476.9 MB, free: 5.801 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.78e-05/0.1418, allocations: 0 / 476.9 MB, free: 5.801 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.1419, allocations: 12.5 kB / 476.9 MB, free: 5.789 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1419, allocations: 0 / 476.9 MB, free: 5.789 MB / 446.1 MB Notification: Performance of Templates: time 0.1005/0.2424, allocations: 244.8 kB / 477.2 MB, free: 5.551 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.926373178022914] Failed to read output from testmodel.py, exit status != 0: 0.2867842660052702 0.48575173 0.34458169299999997 Calling exit ...