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.001016/0.001016, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.001097/0.001097, allocations: 177.3 kB / 24.08 MB, free: 432 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 1.025/1.025, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.06525/0.06525, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.813e-06/1.813e-06, allocations: 0 / 357.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.177e-05, allocations: 5.266 kB / 357.8 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001126/0.001148, allocations: 0.5246 MB / 358.3 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.001297, allocations: 31.88 kB / 358.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.001321, allocations: 3.938 kB / 358.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.001337, allocations: 0 / 358.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.279e-05/0.00136, allocations: 3.938 kB / 358.3 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.001514, allocations: 8 kB / 358.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.001559, allocations: 7.984 kB / 358.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.001596, allocations: 0 / 358.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.001617, allocations: 0 / 358.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.00168, allocations: 7.984 kB / 358.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.001697, allocations: 0 / 358.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.001703, allocations: 4 kB / 358.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.001718, allocations: 3.938 kB / 358.4 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.001738, allocations: 7.984 kB / 358.4 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.096e-05/0.001789, allocations: 3.984 kB / 358.4 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.001792, allocations: 4 kB / 358.4 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.1e-07/0.001792, allocations: 0 / 358.4 MB, free: 6.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.001795, allocations: 0 / 358.4 MB, free: 6.918 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.0002755/0.002071, allocations: 348.4 kB / 358.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.002105, allocations: 8.922 kB / 358.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.002125, allocations: 0.9375 kB / 358.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.4e-05/0.002189, allocations: 113 kB / 358.8 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.002197, allocations: 384 / 358.8 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.002212, allocations: 8.266 kB / 358.8 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.382e-05/0.002266, allocations: 34.25 kB / 358.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.002272, allocations: 192 / 358.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.002278, allocations: 4.375 kB / 358.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.002283, allocations: 384 / 358.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-06/0.002291, allocations: 7.938 kB / 358.9 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.71e-05/0.002388, allocations: 93.27 kB / 359 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.00243, allocations: 35.08 kB / 359 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.366e-05/0.002444, allocations: 19.67 kB / 359 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.002457, allocations: 0 / 359 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.002476, allocations: 33.39 kB / 359.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.002476, allocations: 0 / 359.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.00021/0.002686, allocations: 57.62 kB / 359.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.002713, allocations: 55.41 kB / 359.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.002779, allocations: 157.9 kB / 359.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.002787, allocations: 29.95 kB / 359.4 MB, free: 5.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.002819, allocations: 130.9 kB / 359.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.002842, allocations: 11.89 kB / 359.5 MB, free: 5.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.002868, allocations: 19.36 kB / 359.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.002994, allocations: 0.4922 MB / 360 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.003004, allocations: 0 / 360 MB, free: 5.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.003012, allocations: 4 kB / 360 MB, free: 5.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.003039, allocations: 15.69 kB / 360 MB, free: 5.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.00304, allocations: 0 / 360 MB, free: 5.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.454e-05/0.003094, allocations: 49.58 kB / 360.1 MB, free: 5.016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.003105, allocations: 4 kB / 360.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.00311, allocations: 0 / 360.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.003123, allocations: 4 kB / 360.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.003187, allocations: 15.98 kB / 360.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.00319, allocations: 0 / 360.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.003204, allocations: 7.938 kB / 360.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.003209, allocations: 0 / 360.1 MB, free: 4.984 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 6.978e-05/0.003279, allocations: 156.6 kB / 360.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-06/0.003283, allocations: 0 / 360.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.003385, allocations: 57.47 kB / 360.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.003387, allocations: 4 kB / 360.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.003389, allocations: 4 kB / 360.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.003393, allocations: 0 / 360.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.978e-05/0.003462, allocations: 101.2 kB / 360.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.003464, allocations: 0 / 360.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.003487, allocations: 4 kB / 360.4 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.003489, allocations: 0 / 360.4 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.003494, allocations: 7.984 kB / 360.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.003496, allocations: 0 / 360.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.003496, allocations: 0 / 360.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.084e-05/0.003557, allocations: 80.36 kB / 360.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.003563, allocations: 0 / 360.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.003571, allocations: 8 kB / 360.5 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-06/0.003578, allocations: 4 kB / 360.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.00359, allocations: 3.938 kB / 360.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.003592, allocations: 0 / 360.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.591e-05/0.003628, allocations: 127.1 kB / 360.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003628, allocations: 0 / 360.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001074/0.003736, allocations: 0 / 360.6 MB, free: 4.371 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 7.078e-05/0.003807, allocations: 95.23 kB / 360.7 MB, free: 4.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.417e-05/0.003861, allocations: 15.69 kB / 360.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.003862, allocations: 4.094 kB / 360.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.003875, allocations: 19.67 kB / 360.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.654e-05/0.003971, allocations: 7.938 kB / 360.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001292/0.004101, allocations: 98.36 kB / 360.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.614e-05/0.004127, allocations: 55.34 kB / 360.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.772e-05/0.004144, allocations: 4 kB / 360.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.004175, allocations: 66.2 kB / 361 MB, free: 3.945 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.004175, allocations: 0 / 361 MB, free: 3.945 MB / 282.7 MB Notification: Performance of Templates: time 0.001398/0.005573, allocations: 296.1 kB / 361.3 MB, free: 3.66 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: 2.689071001019329]