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.001868/0.001868, allocations: 83.69 kB / 20.23 MB, free: 4.047 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.002409/0.002409, allocations: 157.4 kB / 23.54 MB, free: 0.7383 MB / 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 1.549/1.549, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.116/0.116, allocations: 18.13 MB / 278.5 MB, free: 11.35 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.643e-06/1.643e-06, allocations: 0 / 356.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.952e-05/4.117e-05, allocations: 5.125 kB / 356.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001913/0.001954, allocations: 0.5132 MB / 357 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.002129, allocations: 35.81 kB / 357.1 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.002157, allocations: 0 / 357.1 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.002172, allocations: 3.938 kB / 357.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.002197, allocations: 4 kB / 357.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.002357, allocations: 7.984 kB / 357.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.736e-05/0.002404, allocations: 11.94 kB / 357.1 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.002441, allocations: 0 / 357.1 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.004e-05/0.002461, allocations: 4 kB / 357.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.002519, allocations: 3.984 kB / 357.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.002535, allocations: 0 / 357.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.002544, allocations: 4 kB / 357.1 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.002557, allocations: 0 / 357.1 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.002579, allocations: 3.984 kB / 357.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.285e-05/0.002632, allocations: 3.984 kB / 357.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.002636, allocations: 8 kB / 357.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002636, allocations: 0 / 357.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.00264, allocations: 7.875 kB / 357.1 MB, free: 7.598 MB / 282.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.000457/0.003097, allocations: 348.4 kB / 357.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.003132, allocations: 8.922 kB / 357.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.00317, allocations: 4.938 kB / 357.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.003299, allocations: 104.6 kB / 357.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.003312, allocations: 384 / 357.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.003331, allocations: 4.375 kB / 357.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.003432, allocations: 42.25 kB / 357.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.003442, allocations: 192 / 357.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.00345, allocations: 384 / 357.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.003455, allocations: 384 / 357.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.572e-05/0.00348, allocations: 7.938 kB / 357.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.003654, allocations: 112.6 kB / 357.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.003728, allocations: 39.02 kB / 357.8 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.003755, allocations: 11.75 kB / 357.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.003772, allocations: 0 / 357.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.003805, allocations: 33.39 kB / 357.8 MB, free: 6.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.003805, allocations: 4 kB / 357.8 MB, free: 6.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003433/0.004149, allocations: 69.61 kB / 357.9 MB, free: 6.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.004207, allocations: 51.41 kB / 357.9 MB, free: 6.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.004331, allocations: 161.9 kB / 358.1 MB, free: 6.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.004351, allocations: 25.7 kB / 358.1 MB, free: 6.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.004424, allocations: 126.9 kB / 358.2 MB, free: 6.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.004449, allocations: 7.906 kB / 358.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.004497, allocations: 27.36 kB / 358.3 MB, free: 6.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.004752, allocations: 496.1 kB / 358.8 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.004767, allocations: 4.312 kB / 358.8 MB, free: 5.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.00478, allocations: 4 kB / 358.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.00483, allocations: 27.61 kB / 358.8 MB, free: 5.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.004831, allocations: 0 / 358.8 MB, free: 5.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.542e-05/0.004916, allocations: 45.88 kB / 358.8 MB, free: 5.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.00493, allocations: 4 kB / 358.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004934, allocations: 0 / 358.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.004948, allocations: 0 / 358.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.00503, allocations: 11.98 kB / 358.9 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.005038, allocations: 3.938 kB / 358.9 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.005061, allocations: 7.938 kB / 358.9 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.005066, allocations: 4 kB / 358.9 MB, free: 5.629 MB / 282.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 0.0001234/0.005189, allocations: 156.6 kB / 359 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.005206, allocations: 7.984 kB / 359 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.00534, allocations: 53.31 kB / 359.1 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.005344, allocations: 4 kB / 359.1 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.005347, allocations: 0 / 359.1 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.005353, allocations: 3.938 kB / 359.1 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.005472, allocations: 108.6 kB / 359.2 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.005473, allocations: 0 / 359.2 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.005526, allocations: 7.984 kB / 359.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005528, allocations: 8 kB / 359.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.005537, allocations: 4 kB / 359.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005539, allocations: 0 / 359.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00554, allocations: 0 / 359.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.005668, allocations: 88.31 kB / 359.3 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.005674, allocations: 4 kB / 359.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.005683, allocations: 0 / 359.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.005702, allocations: 0 / 359.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.005725, allocations: 7.984 kB / 359.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.005728, allocations: 0 / 359.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.005803, allocations: 127.1 kB / 359.4 MB, free: 4.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005803, allocations: 0 / 359.4 MB, free: 4.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.005973, allocations: 8 kB / 359.5 MB, free: 4.977 MB / 282.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 0.0001081/0.006081, allocations: 91.25 kB / 359.5 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.761e-05/0.006179, allocations: 27.67 kB / 359.6 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.00618, allocations: 0 / 359.6 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.006205, allocations: 15.62 kB / 359.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.006341, allocations: 7.938 kB / 359.6 MB, free: 4.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.006567, allocations: 102.4 kB / 359.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.006633, allocations: 63.44 kB / 359.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.796e-05/0.006651, allocations: 0 / 359.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.006681, allocations: 12.5 kB / 359.8 MB, free: 4.594 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006682, allocations: 0 / 359.8 MB, free: 4.594 MB / 282.7 MB Notification: Performance of Templates: time 0.002682/0.009364, allocations: 279.2 kB / 360 MB, free: 4.32 MB / 282.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=240 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.471198531915434]