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.00142/0.00142, allocations: 92.42 kB / 20.46 MB, free: 1.246 MB / 14.72 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.001792/0.001792, allocations: 218.3 kB / 23.77 MB, free: 4.43 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 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: 24.04 MB / 338 MB, free: 11.36 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 71.89 kB / 475.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3017, allocations: 59.57 MB / 0.5221 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001599/0.3033, allocations: 0.511 MB / 0.5226 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001732/0.3035, allocations: 31.2 kB / 0.5226 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.3035, allocations: 0 / 0.5226 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.3035, allocations: 3.938 kB / 0.5226 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.3035, allocations: 5.125 kB / 0.5227 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.3037, allocations: 7.172 kB / 0.5227 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.083e-05/0.3037, allocations: 10.64 kB / 0.5227 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.3038, allocations: 1.094 kB / 0.5227 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.679e-05/0.3038, allocations: 2.844 kB / 0.5227 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.3039, allocations: 7.078 kB / 0.5227 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3039, allocations: 5.469 kB / 0.5227 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-06/0.3039, allocations: 4 kB / 0.5227 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.3039, allocations: 1.953 kB / 0.5227 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.3039, allocations: 6.031 kB / 0.5227 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.658e-05/0.304, allocations: 7.188 kB / 0.5227 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.304, allocations: 0 / 0.5227 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.304, allocations: 1.219 kB / 0.5227 GB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.304, allocations: 0 / 0.5227 GB, free: 10.04 MB / 382.1 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.0003274/0.3043, allocations: 246.1 kB / 0.5229 GB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3044, allocations: 10.08 kB / 0.5229 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.3044, allocations: 5.922 kB / 0.523 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.339e-05/0.3045, allocations: 117 kB / 0.5231 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3045, allocations: 1.594 kB / 0.5231 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3045, allocations: 1.406 kB / 0.5231 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.469e-05/0.3046, allocations: 32.31 kB / 0.5231 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3046, allocations: 192 / 0.5231 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3046, allocations: 4.875 kB / 0.5231 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3046, allocations: 0 / 0.5231 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.3046, allocations: 7.688 kB / 0.5231 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.3047, allocations: 102.1 kB / 0.5232 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.3048, allocations: 25.59 kB / 0.5232 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.3048, allocations: 12.36 kB / 0.5232 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3048, allocations: 0.5625 kB / 0.5232 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3048, allocations: 32.41 kB / 0.5233 GB, free: 9.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3048, allocations: 1.156 kB / 0.5233 GB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003142/0.3052, allocations: 68.95 kB / 0.5233 GB, free: 9.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.3052, allocations: 51.41 kB / 0.5234 GB, free: 9.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.3052, allocations: 98.61 kB / 0.5235 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.3052, allocations: 25.7 kB / 0.5235 GB, free: 9.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.338e-05/0.3052, allocations: 81.72 kB / 0.5236 GB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3053, allocations: 17.34 kB / 0.5236 GB, free: 9.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.3053, allocations: 17.67 kB / 0.5236 GB, free: 9.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.3053, allocations: 313 kB / 0.5239 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.3054, allocations: 3.016 kB / 0.5239 GB, free: 8.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.3054, allocations: 8.344 kB / 0.5239 GB, free: 8.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.3054, allocations: 21.95 kB / 0.524 GB, free: 8.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3054, allocations: 7.875 kB / 0.524 GB, free: 8.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.149e-05/0.3055, allocations: 44.31 kB / 0.524 GB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3055, allocations: 5.312 kB / 0.524 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3055, allocations: 0 / 0.524 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3055, allocations: 8.547 kB / 0.524 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.3056, allocations: 9.078 kB / 0.524 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3056, allocations: 0 / 0.524 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.3056, allocations: 1.328 kB / 0.524 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3056, allocations: 1.344 kB / 0.524 GB, free: 8.664 MB / 382.1 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.277e-05/0.3057, allocations: 112.2 kB / 0.5241 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-06/0.3057, allocations: 2.25 kB / 0.5241 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.3058, allocations: 61.31 kB / 0.5242 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3058, allocations: 0 / 0.5242 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3058, allocations: 1.156 kB / 0.5242 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3058, allocations: 4.656 kB / 0.5242 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.112e-05/0.3058, allocations: 102.7 kB / 0.5243 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3058, allocations: 0 / 0.5243 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.3059, allocations: 8.625 kB / 0.5243 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3059, allocations: 0 / 0.5243 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3059, allocations: 5.125 kB / 0.5243 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3059, allocations: 3.938 kB / 0.5243 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3059, allocations: 1.953 kB / 0.5243 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.217e-05/0.306, allocations: 76.81 kB / 0.5244 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.306, allocations: 1.828 kB / 0.5244 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.306, allocations: 5.797 kB / 0.5244 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.306, allocations: 5.094 kB / 0.5244 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.306, allocations: 2.531 kB / 0.5244 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.306, allocations: 1.094 kB / 0.5244 GB, free: 8.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.871e-05/0.3061, allocations: 78.11 kB / 0.5245 GB, free: 8.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3061, allocations: 0 / 0.5245 GB, free: 8.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001813/0.3062, allocations: 2.438 kB / 0.5245 GB, free: 8.195 MB / 382.1 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.179e-05/0.3063, allocations: 99.83 kB / 0.5246 GB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.362e-05/0.3064, allocations: 16.88 kB / 0.5246 GB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3064, allocations: 4.094 kB / 0.5246 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.3064, allocations: 9.766 kB / 0.5246 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.3066, allocations: 2.578 kB / 0.5246 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.3067, allocations: 129.4 kB / 0.5247 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.3068, allocations: 59.44 kB / 0.5248 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.3068, allocations: 8.688 kB / 0.5248 GB, free: 7.871 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3068, allocations: 0 / 0.5248 GB, free: 7.871 MB / 382.1 MB Notification: Performance of Templates: time 0.00188/0.3087, allocations: 450.1 kB / 0.5252 GB, free: 7.848 MB / 382.1 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: 6.926159911789] Failed to read output from testmodel.py, exit status != 0: 0.3172308620996773 0.3293767 0.022704737000000003 Calling exit ...