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.0009537/0.0009537, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.00149/0.00149, allocations: 173 kB / 24.17 MB, free: 332 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 0.9926/0.9926, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.06762/0.06762, allocations: 18.13 MB / 279.2 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.733e-06/1.733e-06, allocations: 0.5156 kB / 304.5 MB, free: 376 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.432e-05, allocations: 4.984 kB / 304.5 MB, free: 372 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.00123/0.001244, allocations: 0.5196 MB / 305 MB, free: 76 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001344/0.001379, allocations: 32.02 kB / 305.1 MB, free: 56 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.0014, allocations: 0 / 305.1 MB, free: 56 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.001411, allocations: 1.125 kB / 305.1 MB, free: 56 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.058e-05/0.001431, allocations: 4 kB / 305.1 MB, free: 52 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.002555, allocations: 15.8 kB / 305.1 MB, free: 40 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.002597, allocations: 5.406 kB / 305.1 MB, free: 40 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.002634, allocations: 2.312 kB / 305.1 MB, free: 40 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.002654, allocations: 7.25 kB / 305.1 MB, free: 36 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.002713, allocations: 2.656 kB / 305.1 MB, free: 36 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.00273, allocations: 1.375 kB / 305.1 MB, free: 36 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-06/0.002736, allocations: 0 / 305.1 MB, free: 36 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.002751, allocations: 2 kB / 305.1 MB, free: 36 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.002766, allocations: 0.7969 kB / 305.1 MB, free: 36 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.922e-05/0.002815, allocations: 12.77 kB / 305.1 MB, free: 28 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002817, allocations: 4 kB / 305.1 MB, free: 24 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.002818, allocations: 0 / 305.1 MB, free: 24 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.002821, allocations: 1.781 kB / 305.1 MB, free: 24 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.0002669/0.003088, allocations: 221.9 kB / 305.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.003116, allocations: 9.641 kB / 305.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.003136, allocations: 2.156 kB / 305.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.159e-05/0.003207, allocations: 109.8 kB / 305.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.003216, allocations: 2.062 kB / 305.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.003233, allocations: 1.625 kB / 305.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.354e-05/0.003287, allocations: 40.64 kB / 305.5 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.003292, allocations: 192 / 305.5 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.003297, allocations: 384 / 305.5 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.003302, allocations: 384 / 305.5 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.022e-05/0.003312, allocations: 11.39 kB / 305.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.985e-05/0.003392, allocations: 63.45 kB / 305.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.583e-05/0.003438, allocations: 24.44 kB / 305.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.003452, allocations: 7.984 kB / 305.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.003464, allocations: 0 / 305.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.003484, allocations: 40.75 kB / 305.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.003485, allocations: 1.312 kB / 305.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002156/0.003701, allocations: 58.06 kB / 305.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.003734, allocations: 57.23 kB / 305.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.326e-05/0.003787, allocations: 98.19 kB / 305.9 MB, free: 15.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.003798, allocations: 25.7 kB / 305.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.003821, allocations: 82.19 kB / 306 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.003842, allocations: 5.938 kB / 306 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.003873, allocations: 22.42 kB / 306 MB, free: 15.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.003956, allocations: 318.3 kB / 306.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-06/0.003964, allocations: 5.219 kB / 306.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.003971, allocations: 3.734 kB / 306.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.003997, allocations: 11.97 kB / 306.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.003998, allocations: 1.094 kB / 306.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.973e-05/0.004047, allocations: 37.17 kB / 306.4 MB, free: 14.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.004059, allocations: 9.094 kB / 306.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.004064, allocations: 1.344 kB / 306.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.004076, allocations: 0.6875 kB / 306.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.004133, allocations: 8.25 kB / 306.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.004136, allocations: 1.219 kB / 306.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.00415, allocations: 6.469 kB / 306.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.004157, allocations: 3.938 kB / 306.4 MB, free: 14.75 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.421e-05/0.004212, allocations: 107.2 kB / 306.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.004219, allocations: 2.141 kB / 306.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.911e-05/0.004308, allocations: 53.72 kB / 306.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00431, allocations: 1.344 kB / 306.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.004312, allocations: 0.75 kB / 306.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.004315, allocations: 240 / 306.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.167e-05/0.004377, allocations: 71.91 kB / 306.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.004378, allocations: 4.844 kB / 306.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.004408, allocations: 15.73 kB / 306.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.004411, allocations: 7.922 kB / 306.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.004415, allocations: 2.359 kB / 306.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.004416, allocations: 0 / 306.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.004417, allocations: 1.125 kB / 306.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.397e-05/0.004471, allocations: 63.36 kB / 306.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.004477, allocations: 2.156 kB / 306.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.004485, allocations: 1.156 kB / 306.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.004494, allocations: 1.344 kB / 306.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.004505, allocations: 0.9844 kB / 306.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.004507, allocations: 6.547 kB / 306.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.916e-06/0.004516, allocations: 6.172 kB / 306.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004516, allocations: 1.281 kB / 306.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.004657, allocations: 6.594 kB / 306.7 MB, free: 14.4 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 7.123e-05/0.004728, allocations: 76.78 kB / 306.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.235e-05/0.00478, allocations: 15.73 kB / 306.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.004783, allocations: 1.25 kB / 306.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.137e-05/0.004794, allocations: 10.61 kB / 306.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.51e-05/0.004849, allocations: 10.48 kB / 306.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001471/0.004996, allocations: 91.17 kB / 306.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.798e-05/0.005024, allocations: 54.92 kB / 307 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.678e-05/0.005041, allocations: 2.641 kB / 307 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.005318, allocations: 54.47 kB / 307 MB, free: 14.09 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005318, allocations: 0 / 307 MB, free: 14.09 MB / 282.7 MB Notification: Performance of Templates: time 0.001502/0.00682, allocations: 285.1 kB / 307.3 MB, free: 14.05 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.843118567019701]