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.001061/0.001061, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001647/0.001647, allocations: 169 kB / 23.82 MB, free: 0.75 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.037/1.037, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.0726/0.0726, allocations: 18.14 MB / 278.9 MB, free: 11.3 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.763e-06/1.763e-06, allocations: 0 / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.908e-05, allocations: 5.266 kB / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001234/0.001263, allocations: 0.5129 MB / 357.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002133/0.001476, allocations: 31.83 kB / 357.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.001507, allocations: 4 kB / 357.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.001531, allocations: 0 / 357.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/0.00156, allocations: 3.938 kB / 357.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.001771, allocations: 11.98 kB / 357.9 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.001838, allocations: 7.984 kB / 357.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.001887, allocations: 0 / 357.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.001909, allocations: 4 kB / 357.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.001988, allocations: 3.984 kB / 357.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.002012, allocations: 0 / 357.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.002021, allocations: 4 kB / 357.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.002035, allocations: 3.938 kB / 357.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.002057, allocations: 7.938 kB / 357.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.266e-05/0.002119, allocations: 11.97 kB / 357.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.002124, allocations: 4 kB / 357.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002124, allocations: 0 / 357.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.002129, allocations: 0 / 357.9 MB, free: 7.215 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.0003864/0.002516, allocations: 344.4 kB / 358.2 MB, free: 6.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.002557, allocations: 8.922 kB / 358.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.002596, allocations: 4.938 kB / 358.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.346e-05/0.00268, allocations: 105 kB / 358.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.00269, allocations: 384 / 358.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.002714, allocations: 16.33 kB / 358.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.113e-05/0.002796, allocations: 34.25 kB / 358.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.002804, allocations: 4.172 kB / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.002812, allocations: 384 / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.002819, allocations: 384 / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.572e-05/0.002835, allocations: 7.875 kB / 358.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.002959, allocations: 112.6 kB / 358.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.262e-05/0.003012, allocations: 35.08 kB / 358.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.003028, allocations: 7.688 kB / 358.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.003042, allocations: 4 kB / 358.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.003065, allocations: 37.45 kB / 358.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.003067, allocations: 0 / 358.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003167/0.003383, allocations: 65.61 kB / 358.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.003414, allocations: 51.41 kB / 358.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.003484, allocations: 157.9 kB / 358.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.003495, allocations: 25.7 kB / 358.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.003533, allocations: 126.9 kB / 359 MB, free: 5.914 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.003557, allocations: 15.84 kB / 359 MB, free: 5.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.003584, allocations: 31.61 kB / 359.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.003687, allocations: 0.4884 MB / 359.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.0037, allocations: 0 / 359.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.00371, allocations: 7.938 kB / 359.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.00374, allocations: 15.67 kB / 359.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.003741, allocations: 0 / 359.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.582e-05/0.003797, allocations: 45.7 kB / 359.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.003812, allocations: 11.11 kB / 359.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.003816, allocations: 0 / 359.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.00383, allocations: 0 / 359.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.003898, allocations: 8 kB / 359.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.003904, allocations: 7.938 kB / 359.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.003916, allocations: 4 kB / 359.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.003922, allocations: 0 / 359.7 MB, free: 5.254 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 5.837e-05/0.00398, allocations: 160.5 kB / 359.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-06/0.003986, allocations: 4 kB / 359.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/0.004083, allocations: 49.36 kB / 359.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.004085, allocations: 0 / 359.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.004089, allocations: 0 / 359.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.004093, allocations: 3.938 kB / 359.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.931e-05/0.004162, allocations: 112.6 kB / 360 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.004163, allocations: 4 kB / 360 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.004196, allocations: 11.98 kB / 360 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.004198, allocations: 0 / 360 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.004204, allocations: 0 / 360 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.004206, allocations: 0 / 360 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.004208, allocations: 4 kB / 360 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.513e-05/0.004273, allocations: 88.53 kB / 360.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.004279, allocations: 3.953 kB / 360.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-06/0.004287, allocations: 0 / 360.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/0.004294, allocations: 0 / 360.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.00431, allocations: 7.984 kB / 360.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.004312, allocations: 8 kB / 360.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.089e-05/0.004343, allocations: 123.1 kB / 360.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004343, allocations: 0 / 360.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001081/0.004452, allocations: 4 kB / 360.2 MB, free: 4.605 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 6.928e-05/0.004521, allocations: 95.19 kB / 360.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.28e-05/0.004604, allocations: 23.61 kB / 360.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.004605, allocations: 0 / 360.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.004616, allocations: 19.69 kB / 360.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.004719, allocations: 4.094 kB / 360.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.004905, allocations: 98.45 kB / 360.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.004933, allocations: 55.36 kB / 360.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.713e-05/0.004951, allocations: 0 / 360.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.004974, allocations: 8.5 kB / 360.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.004975, allocations: 0 / 360.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of Templates: time 0.001833/0.006808, allocations: 271.1 kB / 360.8 MB, free: 3.973 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.8979759411886334]