Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.001953/0.001953, allocations: 107.7 kB / 16.46 MB, free: 6.453 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.002281/0.002281, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.519/1.519, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1047/0.1047, allocations: 23.82 MB / 332.7 MB, free: 12.91 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.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") [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.00212/0.00212, allocations: 71.88 kB / 465.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4597, allocations: 59.49 MB / 0.5129 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002797/0.4625, allocations: 1.477 MB / 0.5144 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.4635, allocations: 0.5408 MB / 0.5149 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.4636, allocations: 0.75 kB / 0.5149 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.4639, allocations: 26.86 kB / 0.5149 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.464, allocations: 28.5 kB / 0.515 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.4643, allocations: 46.61 kB / 0.515 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.4646, allocations: 119.8 kB / 0.5151 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.4648, allocations: 15.45 kB / 0.5151 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.465, allocations: 57.31 kB / 0.5152 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.4652, allocations: 63.05 kB / 0.5152 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.4653, allocations: 6.594 kB / 0.5153 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.788e-05/0.4653, allocations: 7.156 kB / 0.5153 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.4654, allocations: 38.69 kB / 0.5153 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.4655, allocations: 31.88 kB / 0.5153 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.4657, allocations: 83.69 kB / 0.5154 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.4657, allocations: 0 / 0.5154 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4657, allocations: 0 / 0.5154 GB, free: 7.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.4657, allocations: 1 kB / 0.5154 GB, free: 7.711 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001089/0.4668, allocations: 454.8 kB / 0.5158 GB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.4669, allocations: 10.91 kB / 0.5159 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.4669, allocations: 14.03 kB / 0.5159 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.4674, allocations: 234.4 kB / 0.5161 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4674, allocations: 2.344 kB / 0.5161 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.4675, allocations: 8.688 kB / 0.5161 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.4676, allocations: 84.66 kB / 0.5162 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4677, allocations: 0 / 0.5162 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.4677, allocations: 2.203 kB / 0.5162 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4677, allocations: 0.8125 kB / 0.5162 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.4678, allocations: 50.59 kB / 0.5162 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.4684, allocations: 367 kB / 0.5166 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.4686, allocations: 79.45 kB / 0.5167 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.4687, allocations: 34.12 kB / 0.5167 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.4687, allocations: 1.25 kB / 0.5167 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.4687, allocations: 32.47 kB / 0.5167 GB, free: 6.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.4687, allocations: 0 / 0.5167 GB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003173/0.469, allocations: 136 kB / 0.5169 GB, free: 6.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.4691, allocations: 52.06 kB / 0.5169 GB, free: 6.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.4694, allocations: 191.2 kB / 0.5171 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.4694, allocations: 25.7 kB / 0.5171 GB, free: 6.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.4695, allocations: 103.8 kB / 0.5172 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.4695, allocations: 24.69 kB / 0.5172 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.4696, allocations: 21.36 kB / 0.5173 GB, free: 6.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.4696, allocations: 329.7 kB / 0.5176 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.4697, allocations: 29.2 kB / 0.5176 GB, free: 5.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.4697, allocations: 36.61 kB / 0.5176 GB, free: 5.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.4699, allocations: 75.14 kB / 0.5177 GB, free: 5.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4699, allocations: 0.8906 kB / 0.5177 GB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001631/0.47, allocations: 111 kB / 0.5178 GB, free: 5.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.47, allocations: 5.344 kB / 0.5178 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4701, allocations: 1.703 kB / 0.5178 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4701, allocations: 0 / 0.5178 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.4703, allocations: 28.45 kB / 0.5178 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4703, allocations: 0 / 0.5178 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.4704, allocations: 21.89 kB / 0.5179 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.4704, allocations: 4.594 kB / 0.5179 GB, free: 5.738 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 (8): * Single equations (assignments): 8 * 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 7.294e-05/0.4705, allocations: 123.2 kB / 0.518 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.4705, allocations: 12.86 kB / 0.518 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.4706, allocations: 17.17 kB / 0.518 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4706, allocations: 2.828 kB / 0.518 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4706, allocations: 4 kB / 0.518 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4706, allocations: 3.938 kB / 0.518 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.471, allocations: 395.2 kB / 0.5184 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.471, allocations: 0 / 0.5184 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.4711, allocations: 11.45 kB / 0.5184 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4711, allocations: 6.125 kB / 0.5184 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4711, allocations: 4.656 kB / 0.5184 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4711, allocations: 0.7812 kB / 0.5184 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4711, allocations: 3.938 kB / 0.5184 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.4714, allocations: 233.8 kB / 0.5186 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.4714, allocations: 86.12 kB / 0.5187 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.4714, allocations: 2.953 kB / 0.5187 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4716, allocations: 13.66 kB / 0.5187 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.4716, allocations: 6.609 kB / 0.5188 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4716, allocations: 5.781 kB / 0.5188 GB, free: 4.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002811/0.4719, allocations: 157.4 kB / 0.5189 GB, free: 4.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4719, allocations: 0 / 0.5189 GB, free: 4.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.4721, allocations: 15.66 kB / 0.5189 GB, free: 4.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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 8.874e-05/0.4722, allocations: 96.66 kB / 0.519 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.4724, allocations: 63.28 kB / 0.5191 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4724, allocations: 0 / 0.5191 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.4725, allocations: 39.23 kB / 0.5191 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.4728, allocations: 16.94 kB / 0.5191 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.4733, allocations: 255.2 kB / 0.5194 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.4735, allocations: 0.7018 MB / 0.5201 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.705e-05/0.4735, allocations: 19.34 kB / 0.5201 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.4736, allocations: 12.28 kB / 0.5201 GB, free: 3.859 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4736, allocations: 4 kB / 0.5201 GB, free: 3.855 MB / 382.1 MB Notification: Performance of Templates: time 0.004204/0.4778, allocations: 1.012 MB / 0.5211 GB, free: 3.773 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile [Timeout 660] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.15802379976958] Failed to read output from testmodel.py, exit status != 0: 0.48534191586077213 0.49902484300000005 0.030240611 Calling exit ...