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.001398/0.001398, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.00151/0.00151, allocations: 161.7 kB / 23.54 MB, free: 0.8984 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.499/1.499, 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.1125/0.1125, allocations: 18.15 MB / 278.5 MB, free: 11.33 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.803e-06/1.803e-06, allocations: 0 / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.792e-05, allocations: 2.312 kB / 356.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001994/0.002032, allocations: 0.5131 MB / 357 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002189/0.002251, allocations: 35.81 kB / 357.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.002275, allocations: 0 / 357.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.00229, allocations: 0 / 357.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.098e-05/0.002321, allocations: 3.938 kB / 357.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.002486, allocations: 12 kB / 357.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.002861, allocations: 7.938 kB / 357.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.002906, allocations: 3.984 kB / 357.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.002923, allocations: 0 / 357.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.003, allocations: 7.984 kB / 357.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.003017, allocations: 0 / 357.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.003024, allocations: 0 / 357.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.003037, allocations: 0 / 357.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.003066, allocations: 7.984 kB / 357.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.875e-05/0.003124, allocations: 7.938 kB / 357.1 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003126, allocations: 0 / 357.1 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003127, allocations: 4 kB / 357.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.003132, allocations: 0 / 357.1 MB, free: 7.617 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.0004634/0.003595, allocations: 246.4 kB / 357.3 MB, free: 7.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.003631, allocations: 8.922 kB / 357.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.003668, allocations: 0.9375 kB / 357.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.003801, allocations: 117.7 kB / 357.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.003812, allocations: 384 / 357.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.003835, allocations: 384 / 357.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.29e-05/0.003928, allocations: 30.27 kB / 357.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003935, allocations: 4.188 kB / 357.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.003944, allocations: 384 / 357.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.003948, allocations: 384 / 357.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.003981, allocations: 15.91 kB / 357.5 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.004146, allocations: 105.3 kB / 357.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.693e-05/0.004213, allocations: 26.55 kB / 357.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.004239, allocations: 8.922 kB / 357.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.004256, allocations: 0 / 357.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.004289, allocations: 34.56 kB / 357.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004289, allocations: 0 / 357.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000362/0.004651, allocations: 69.61 kB / 357.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.004702, allocations: 51.41 kB / 357.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.004801, allocations: 101.8 kB / 357.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.004823, allocations: 29.69 kB / 357.9 MB, free: 6.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.004874, allocations: 80.14 kB / 358 MB, free: 6.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.004908, allocations: 11.91 kB / 358 MB, free: 6.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.00494, allocations: 13.72 kB / 358 MB, free: 6.523 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.005121, allocations: 314.8 kB / 358.4 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.005139, allocations: 3.984 kB / 358.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.005151, allocations: 4.312 kB / 358.4 MB, free: 6.199 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.005196, allocations: 24.86 kB / 358.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.005197, allocations: 0 / 358.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.556e-05/0.005282, allocations: 49.62 kB / 358.4 MB, free: 6.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.005299, allocations: 7.938 kB / 358.4 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005303, allocations: 0 / 358.4 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.005324, allocations: 4 kB / 358.4 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.005408, allocations: 7.984 kB / 358.5 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.005416, allocations: 3.938 kB / 358.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.00544, allocations: 4 kB / 358.5 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.005446, allocations: 0 / 358.5 MB, free: 6.09 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 9.223e-05/0.005538, allocations: 109.8 kB / 358.6 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.005551, allocations: 4 kB / 358.6 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.005681, allocations: 53.31 kB / 358.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.005686, allocations: 4 kB / 358.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.00569, allocations: 0 / 358.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.005697, allocations: 3.938 kB / 358.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.005806, allocations: 105.3 kB / 358.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005807, allocations: 0 / 358.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.00586, allocations: 8 kB / 358.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.005865, allocations: 4 kB / 358.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.005871, allocations: 4 kB / 358.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005872, allocations: 0 / 358.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005873, allocations: 0 / 358.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.00599, allocations: 73.3 kB / 358.8 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.006, allocations: 11.92 kB / 358.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.00601, allocations: 48 / 358.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/0.006034, allocations: 3.984 kB / 358.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.006049, allocations: 0 / 358.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.006055, allocations: 4 kB / 358.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.006106, allocations: 79.22 kB / 358.9 MB, free: 5.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006107, allocations: 4.094 kB / 358.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.006312, allocations: 4 kB / 358.9 MB, free: 5.559 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.0001241/0.006436, allocations: 95.25 kB / 359 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.465e-05/0.00652, allocations: 11.98 kB / 359 MB, free: 5.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006522, allocations: 0 / 359 MB, free: 5.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.006549, allocations: 15.94 kB / 359 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.006696, allocations: 10.28 kB / 359.1 MB, free: 5.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.006955, allocations: 96.75 kB / 359.2 MB, free: 5.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.881e-05/0.007024, allocations: 63.28 kB / 359.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.119e-05/0.007045, allocations: 8 kB / 359.2 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.007085, allocations: 8.5 kB / 359.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007085, allocations: 0 / 359.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Templates: time 0.002628/0.009714, allocations: 267.6 kB / 359.5 MB, free: 4.941 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=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.451213235035539]