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.001503/0.001503, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001627/0.001627, allocations: 173 kB / 24.17 MB, free: 336 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.146/1.146, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.06578/0.06578, allocations: 18.14 MB / 279.2 MB, free: 11.21 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.433e-06/1.433e-06, allocations: 0 / 304.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.655e-05, allocations: 5.859 kB / 304.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001297/0.001313, allocations: 0.5733 MB / 305.1 MB, free: 220 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.001477, allocations: 32.45 kB / 305.2 MB, free: 200 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.001501, allocations: 0 / 305.2 MB, free: 200 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.001515, allocations: 3.938 kB / 305.2 MB, free: 196 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.001538, allocations: 0 / 305.2 MB, free: 196 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.001693, allocations: 4.219 kB / 305.2 MB, free: 196 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.926e-05/0.001742, allocations: 17.55 kB / 305.2 MB, free: 184 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.00178, allocations: 1.781 kB / 305.2 MB, free: 184 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.001801, allocations: 3.469 kB / 305.2 MB, free: 184 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.001868, allocations: 8.953 kB / 305.2 MB, free: 180 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.001882, allocations: 0 / 305.2 MB, free: 180 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-06/0.001888, allocations: 0 / 305.2 MB, free: 180 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.001901, allocations: 1.375 kB / 305.2 MB, free: 180 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.001918, allocations: 1.875 kB / 305.2 MB, free: 180 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.175e-05/0.001969, allocations: 4.125 kB / 305.2 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.001973, allocations: 1.375 kB / 305.2 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.001973, allocations: 0 / 305.2 MB, free: 180 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.001976, allocations: 7.938 kB / 305.2 MB, free: 172 kB / 266.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.0002558/0.002232, allocations: 225.9 kB / 305.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.002266, allocations: 9.859 kB / 305.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.002291, allocations: 6.25 kB / 305.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.002365, allocations: 105.6 kB / 305.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.002373, allocations: 1.781 kB / 305.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.002389, allocations: 4.375 kB / 305.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.507e-05/0.002444, allocations: 33.05 kB / 305.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.002449, allocations: 192 / 305.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.002455, allocations: 4.375 kB / 305.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.002461, allocations: 1.656 kB / 305.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.246e-05/0.002474, allocations: 6.922 kB / 305.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.87e-05/0.002552, allocations: 58.06 kB / 305.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.344e-05/0.002596, allocations: 26.23 kB / 305.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.002608, allocations: 6.172 kB / 305.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.002624, allocations: 1.375 kB / 305.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.002649, allocations: 36.47 kB / 305.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.002649, allocations: 0 / 305.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002378/0.002887, allocations: 66.64 kB / 305.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.002917, allocations: 53.53 kB / 305.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.002969, allocations: 97.91 kB / 305.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.002977, allocations: 27.05 kB / 306 MB, free: 15.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.857e-05/0.002996, allocations: 80.14 kB / 306 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.003021, allocations: 11.2 kB / 306.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.003043, allocations: 14.03 kB / 306.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.003122, allocations: 321 kB / 306.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.00313, allocations: 2.969 kB / 306.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.003138, allocations: 6.391 kB / 306.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.781e-05/0.003166, allocations: 17.33 kB / 306.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.003167, allocations: 3.938 kB / 306.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.414e-05/0.003211, allocations: 37.48 kB / 306.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.003226, allocations: 8.625 kB / 306.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.003231, allocations: 0 / 306.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.003245, allocations: 0.7031 kB / 306.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.003328, allocations: 10.44 kB / 306.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.003333, allocations: 6.047 kB / 306.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.003345, allocations: 9.125 kB / 306.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.003351, allocations: 4 kB / 306.5 MB, free: 14.88 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 4.888e-05/0.0034, allocations: 113.1 kB / 306.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-06/0.003406, allocations: 2.031 kB / 306.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.003479, allocations: 53.69 kB / 306.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00348, allocations: 0.7031 kB / 306.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.003482, allocations: 0 / 306.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.003485, allocations: 1.312 kB / 306.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.544e-05/0.00354, allocations: 66.94 kB / 306.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.003541, allocations: 1.156 kB / 306.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.003575, allocations: 10.56 kB / 306.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.003577, allocations: 4 kB / 306.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.003581, allocations: 0.5625 kB / 306.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.003582, allocations: 1.094 kB / 306.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.003583, allocations: 0.5156 kB / 306.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.092e-05/0.003634, allocations: 72.89 kB / 306.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.00364, allocations: 1.938 kB / 306.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-06/0.003648, allocations: 4 kB / 306.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-06/0.003655, allocations: 1.906 kB / 306.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.003668, allocations: 2.219 kB / 306.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.003669, allocations: 0 / 306.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.856e-06/0.003678, allocations: 12.2 kB / 306.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003678, allocations: 0 / 306.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 8.619e-05/0.003764, allocations: 2.531 kB / 306.8 MB, free: 14.55 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.166e-05/0.003826, allocations: 74.53 kB / 306.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.444e-05/0.003881, allocations: 18.86 kB / 306.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.003883, allocations: 0 / 306.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.003893, allocations: 15.19 kB / 306.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.348e-05/0.003956, allocations: 5.906 kB / 306.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001433/0.004099, allocations: 90.05 kB / 307 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.004131, allocations: 53.7 kB / 307.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.625e-05/0.004148, allocations: 6.156 kB / 307.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.004183, allocations: 51.08 kB / 307.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of SimCode: time 9.41e-07/0.004184, allocations: 0 / 307.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of Templates: time 0.001716/0.005901, allocations: 348.9 kB / 307.5 MB, free: 14.18 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.915573852136731]