Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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.00135/0.00135, allocations: 103.3 kB / 16.45 MB, free: 6.5 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.001528/0.001528, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_control_problems/Keep_limits_and_overrides/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Keep_within_two_limits Keep_below_limit Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1193/0.1193, allocations: 23.83 MB / 332.7 MB, free: 12.9 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") [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.001977/0.001977, allocations: 63.89 kB / 465.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4474, allocations: 59.49 MB / 0.5129 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001847/0.4492, allocations: 0.5162 MB / 0.5134 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.4494, allocations: 23.81 kB / 0.5135 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.4494, allocations: 0 / 0.5135 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.4494, allocations: 0 / 0.5135 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.24e-05/0.4495, allocations: 2.844 kB / 0.5135 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.4496, allocations: 1.719 kB / 0.5135 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.016e-05/0.4497, allocations: 14.61 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.256e-05/0.4498, allocations: 7.266 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.4498, allocations: 3.203 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.4499, allocations: 10.52 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.4499, allocations: 0 / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.4499, allocations: 0.9688 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.4499, allocations: 1.484 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.45, allocations: 8.125 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.57e-05/0.45, allocations: 8.031 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.45, allocations: 1 kB / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.45, allocations: 0 / 0.5135 GB, free: 8.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.45, allocations: 0 / 0.5135 GB, free: 8.742 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.0003948/0.4504, allocations: 326.5 kB / 0.5138 GB, free: 8.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4505, allocations: 14.58 kB / 0.5138 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.4505, allocations: 1.875 kB / 0.5139 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.4506, allocations: 174.9 kB / 0.514 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.4506, allocations: 384 / 0.514 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4507, allocations: 3.172 kB / 0.514 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.4508, allocations: 35.47 kB / 0.5141 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4508, allocations: 2.078 kB / 0.5141 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4508, allocations: 9.812 kB / 0.5141 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4508, allocations: 0 / 0.5141 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.4509, allocations: 6.891 kB / 0.5141 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.451, allocations: 154.9 kB / 0.5142 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.625e-05/0.4511, allocations: 25.91 kB / 0.5142 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.4511, allocations: 9.656 kB / 0.5143 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.4511, allocations: 5.547 kB / 0.5143 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.4511, allocations: 36.42 kB / 0.5143 GB, free: 7.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4511, allocations: 0 / 0.5143 GB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000204/0.4513, allocations: 50.03 kB / 0.5143 GB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.4514, allocations: 51.41 kB / 0.5144 GB, free: 7.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.453e-05/0.4514, allocations: 98.94 kB / 0.5145 GB, free: 7.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.4514, allocations: 27.36 kB / 0.5145 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.4515, allocations: 85.02 kB / 0.5146 GB, free: 7.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.4515, allocations: 14.11 kB / 0.5146 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.4515, allocations: 12.83 kB / 0.5146 GB, free: 7.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.4516, allocations: 315.1 kB / 0.5149 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.4516, allocations: 3.703 kB / 0.5149 GB, free: 7.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.4516, allocations: 8.594 kB / 0.5149 GB, free: 7.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.4518, allocations: 37.44 kB / 0.515 GB, free: 7.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4518, allocations: 0 / 0.515 GB, free: 7.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001091/0.452, allocations: 45.62 kB / 0.515 GB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.452, allocations: 5.031 kB / 0.515 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.452, allocations: 4.734 kB / 0.515 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.452, allocations: 1.312 kB / 0.515 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.4521, allocations: 6.156 kB / 0.515 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4521, allocations: 0 / 0.515 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.4521, allocations: 4.859 kB / 0.515 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.4521, allocations: 5.094 kB / 0.515 GB, free: 7.176 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real 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 0.0001082/0.4522, allocations: 116.8 kB / 0.5151 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.4522, allocations: 1.938 kB / 0.5151 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.4522, allocations: 17.2 kB / 0.5152 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4522, allocations: 1.312 kB / 0.5152 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4522, allocations: 0 / 0.5152 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4522, allocations: 1.859 kB / 0.5152 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.122e-05/0.4523, allocations: 151.4 kB / 0.5153 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4523, allocations: 0 / 0.5153 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.4524, allocations: 10.89 kB / 0.5153 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4524, allocations: 3.625 kB / 0.5153 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4524, allocations: 4.719 kB / 0.5153 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4524, allocations: 1.172 kB / 0.5153 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4524, allocations: 0 / 0.5153 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.4526, allocations: 76.33 kB / 0.5154 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.4526, allocations: 83.02 kB / 0.5155 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.4526, allocations: 10.53 kB / 0.5155 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.4526, allocations: 4.641 kB / 0.5155 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.4527, allocations: 1.828 kB / 0.5155 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.4527, allocations: 0 / 0.5155 GB, free: 6.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.436e-05/0.4527, allocations: 82.19 kB / 0.5156 GB, free: 6.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4527, allocations: 0 / 0.5156 GB, free: 6.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001787/0.4529, allocations: 2.188 kB / 0.5156 GB, free: 6.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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.869e-05/0.4529, allocations: 92.5 kB / 0.5157 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.4531, allocations: 20.47 kB / 0.5157 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4531, allocations: 0.5312 kB / 0.5157 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.4531, allocations: 9.406 kB / 0.5157 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.4533, allocations: 5.031 kB / 0.5157 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.4536, allocations: 117.7 kB / 0.5158 GB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.4537, allocations: 0.6756 MB / 0.5165 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.4537, allocations: 4.578 kB / 0.5165 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.4537, allocations: 9.188 kB / 0.5165 GB, free: 5.684 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4537, allocations: 0 / 0.5165 GB, free: 5.684 MB / 382.1 MB Notification: Performance of Templates: time 0.002732/0.4564, allocations: 285.3 kB / 0.5168 GB, free: 5.648 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile [Timeout 660] (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.212505644187331] Failed to read output from testmodel.py, exit status != 0: 0.46425714157521725 0.47795420200000005 0.025015279 Calling exit ...