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.001457/0.001457, allocations: 77.97 kB / 21.46 MB, free: 3.051 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.001079/0.001079, allocations: 162.5 kB / 24.85 MB, free: 9.203 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.539 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.1078/0.1078, allocations: 18.14 MB / 280 MB, free: 11.2 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.513e-06/1.513e-06, allocations: 0 / 358.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.214e-05, allocations: 2.312 kB / 358.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001052/0.001074, allocations: 0.5246 MB / 359.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001895/0.001264, allocations: 27.89 kB / 359.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.001287, allocations: 0 / 359.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.001301, allocations: 3.938 kB / 359.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.911e-05/0.00132, allocations: 0 / 359.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.001451, allocations: 11.94 kB / 359.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.12e-05/0.001492, allocations: 7.984 kB / 359.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.001527, allocations: 3.984 kB / 359.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.416e-05/0.001541, allocations: 8 kB / 359.1 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.001596, allocations: 3.984 kB / 359.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.00161, allocations: 0 / 359.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.001616, allocations: 0 / 359.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.001631, allocations: 7.938 kB / 359.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.001646, allocations: 4 kB / 359.1 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.355e-05/0.001689, allocations: 3.984 kB / 359.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.001691, allocations: 0 / 359.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.001691, allocations: 0 / 359.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.001694, allocations: 4 kB / 359.2 MB, free: 6.938 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.0002717/0.001966, allocations: 348.3 kB / 359.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.001996, allocations: 12.92 kB / 359.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.002017, allocations: 4.938 kB / 359.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.002093, allocations: 105 kB / 359.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.002102, allocations: 384 / 359.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.002118, allocations: 12.27 kB / 359.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.199e-05/0.00217, allocations: 34.25 kB / 359.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.002176, allocations: 192 / 359.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-06/0.002181, allocations: 384 / 359.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.002185, allocations: 4.375 kB / 359.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.003e-05/0.002195, allocations: 7.938 kB / 359.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.859e-05/0.002283, allocations: 93.27 kB / 359.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.002321, allocations: 31.08 kB / 359.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.002335, allocations: 15.69 kB / 359.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.002344, allocations: 0 / 359.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.002364, allocations: 37.39 kB / 359.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.002364, allocations: 0 / 359.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001996/0.002564, allocations: 57.62 kB / 359.9 MB, free: 6.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.002589, allocations: 51.41 kB / 360 MB, free: 6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.002648, allocations: 166.1 kB / 360.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.002656, allocations: 25.7 kB / 360.1 MB, free: 5.789 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.002685, allocations: 130.8 kB / 360.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.002703, allocations: 11.89 kB / 360.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.002725, allocations: 19.38 kB / 360.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.002829, allocations: 0.4922 MB / 360.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.002836, allocations: 0 / 360.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.002843, allocations: 4 kB / 360.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/0.002865, allocations: 11.69 kB / 360.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.002865, allocations: 0 / 360.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.77e-05/0.002913, allocations: 53.58 kB / 360.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.002922, allocations: 8.125 kB / 360.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.002925, allocations: 0 / 360.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.002932, allocations: 0 / 360.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.00298, allocations: 11.98 kB / 360.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.002982, allocations: 0 / 360.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.142e-05/0.002993, allocations: 7.938 kB / 360.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.002997, allocations: 0 / 360.9 MB, free: 5.008 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.217e-05/0.003049, allocations: 160.6 kB / 361 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-06/0.003053, allocations: 0 / 361 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.003121, allocations: 61.47 kB / 361.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.003122, allocations: 4 kB / 361.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.003123, allocations: 0 / 361.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.003126, allocations: 0 / 361.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.58e-05/0.003181, allocations: 101.2 kB / 361.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.003182, allocations: 0 / 361.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.003202, allocations: 4 kB / 361.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.003203, allocations: 4 kB / 361.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.003208, allocations: 3.984 kB / 361.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.003208, allocations: 0 / 361.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.003209, allocations: 0 / 361.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.307e-05/0.003262, allocations: 84.38 kB / 361.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-06/0.003266, allocations: 0 / 361.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-06/0.003272, allocations: 0 / 361.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-06/0.00328, allocations: 4 kB / 361.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.003289, allocations: 0 / 361.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.00329, allocations: 3.938 kB / 361.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.603e-05/0.003316, allocations: 123.2 kB / 361.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003316, allocations: 3.938 kB / 361.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001066/0.003423, allocations: 0 / 361.4 MB, free: 4.395 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 5.592e-05/0.003478, allocations: 95.33 kB / 361.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.096e-05/0.003529, allocations: 23.69 kB / 361.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.00353, allocations: 0 / 361.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.003542, allocations: 19.67 kB / 361.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.589e-05/0.003628, allocations: 3.938 kB / 361.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001275/0.003756, allocations: 106.3 kB / 361.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.555e-05/0.003781, allocations: 55.34 kB / 361.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.384e-05/0.003795, allocations: 4 kB / 361.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.003827, allocations: 66.2 kB / 361.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.003827, allocations: 4 kB / 361.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of Templates: time 0.001363/0.00519, allocations: 298 kB / 362.1 MB, free: 3.668 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.7761998591013253]