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.0007474/0.0007474, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001772, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007256/0.0007256, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009981/0.001724, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.05/1.05, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09407/1.144, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.0634/0.0634, allocations: 18.14 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01121/0.07461, allocations: 6.782 MB / 269.1 MB, free: 6.238 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.463e-06/1.463e-06, allocations: 0 / 270.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.242e-05, allocations: 5.406 kB / 270.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001385/0.001417, allocations: 0.5753 MB / 271.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 8.03e-05/0.001498, allocations: 35.81 kB / 271.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.001515, allocations: 0 / 271.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.502e-06/0.001521, allocations: 3.938 kB / 271.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.724e-06/0.001529, allocations: 0 / 271.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.27e-05/0.001602, allocations: 12 kB / 271.1 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.001653, allocations: 11.92 kB / 271.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.001692, allocations: 0 / 271.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.001742, allocations: 4 kB / 271.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.001816, allocations: 7.984 kB / 271.1 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.001836, allocations: 0 / 271.1 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.001842, allocations: 0 / 271.1 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.001927, allocations: 3.938 kB / 271.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.001946, allocations: 4 kB / 271.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.182e-05/0.002007, allocations: 0 / 271.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.002019, allocations: 4 kB / 271.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00202, allocations: 0 / 271.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.00203, allocations: 0 / 271.2 MB, free: 4.125 MB / 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.0003421/0.002372, allocations: 232.6 kB / 271.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.002403, allocations: 12.03 kB / 271.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.002429, allocations: 0.9375 kB / 271.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.451e-05/0.002514, allocations: 113.7 kB / 271.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.002527, allocations: 384 / 271.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.002549, allocations: 384 / 271.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.379e-05/0.002612, allocations: 30.27 kB / 271.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.002618, allocations: 4.188 kB / 271.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-06/0.002624, allocations: 384 / 271.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.00263, allocations: 384 / 271.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.359e-05/0.002643, allocations: 11.92 kB / 271.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.302e-05/0.002726, allocations: 57.05 kB / 271.6 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/0.00277, allocations: 26.55 kB / 271.6 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.092e-05/0.002781, allocations: 4.859 kB / 271.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.002794, allocations: 4.062 kB / 271.6 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.002819, allocations: 34.5 kB / 271.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.00282, allocations: 4 kB / 271.7 MB, free: 3.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002547/0.003074, allocations: 65.59 kB / 271.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.003103, allocations: 51.41 kB / 271.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.402e-05/0.003157, allocations: 98.72 kB / 271.9 MB, free: 3.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.003166, allocations: 25.7 kB / 271.9 MB, free: 3.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.003186, allocations: 84.12 kB / 272 MB, free: 3.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.003208, allocations: 7.906 kB / 272 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.003233, allocations: 13.72 kB / 272 MB, free: 3.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.003303, allocations: 318.8 kB / 272.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.003312, allocations: 4.312 kB / 272.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.003322, allocations: 7.984 kB / 272.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.00336, allocations: 16.86 kB / 272.4 MB, free: 2.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.003361, allocations: 0 / 272.4 MB, free: 2.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.465e-05/0.003406, allocations: 41.62 kB / 272.4 MB, free: 2.723 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.003417, allocations: 4 kB / 272.4 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.003422, allocations: 0 / 272.4 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.003433, allocations: 4.188 kB / 272.4 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.003547, allocations: 11.98 kB / 272.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.00355, allocations: 0 / 272.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.003563, allocations: 3.938 kB / 272.4 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.003571, allocations: 11.98 kB / 272.4 MB, free: 2.688 MB / 266.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.993e-05/0.003621, allocations: 109.8 kB / 272.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.003627, allocations: 3.984 kB / 272.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.396e-05/0.003711, allocations: 49.31 kB / 272.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.003713, allocations: 0 / 272.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.003715, allocations: 0 / 272.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.003718, allocations: 0 / 272.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.32e-05/0.003791, allocations: 65.84 kB / 272.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.003792, allocations: 0 / 272.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.003836, allocations: 11.98 kB / 272.7 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.003842, allocations: 8 kB / 272.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.003843, allocations: 0 / 272.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.003849, allocations: 4 kB / 272.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.003851, allocations: 0 / 272.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.003853, allocations: 0 / 272.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.788e-05/0.003911, allocations: 76.92 kB / 272.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.003919, allocations: 3.984 kB / 272.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.003926, allocations: 0 / 272.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.003937, allocations: 4 kB / 272.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.003939, allocations: 0 / 272.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.146e-05/0.003951, allocations: 8.859 kB / 272.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003951, allocations: 0 / 272.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.589e-05/0.004037, allocations: 4 kB / 272.8 MB, free: 2.285 MB / 266.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.298e-05/0.00411, allocations: 76.42 kB / 272.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.183e-05/0.004172, allocations: 24.78 kB / 272.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.004176, allocations: 4 kB / 272.9 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.004188, allocations: 8.859 kB / 272.9 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.327e-05/0.004281, allocations: 33.69 kB / 272.9 MB, free: 2.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001577/0.004438, allocations: 100.7 kB / 273 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.004469, allocations: 59.45 kB / 273.1 MB, free: 1.914 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.148e-05/0.00449, allocations: 0 / 273.1 MB, free: 1.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.00453, allocations: 51.38 kB / 273.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.004531, allocations: 0 / 273.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of Templates: time 0.001865/0.006396, allocations: 398.8 kB / 273.5 MB, free: 1.48 MB / 266.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.645531547255814]