Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_zeroInit.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.001451/0.001451, allocations: 109.6 kB / 16.45 MB, free: 6.496 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.001964/0.001964, allocations: 213.7 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.522/1.522, 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.1051/0.1051, allocations: 23.82 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.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") translateModel(AES.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") [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.002189/0.002189, allocations: 75.89 kB / 465.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.451, allocations: 59.48 MB / 0.5129 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.00221/0.4532, allocations: 1.11 MB / 0.514 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.4549, allocations: 1.354 MB / 0.5153 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.455, allocations: 7.719 kB / 0.5153 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.4553, allocations: 69.78 kB / 0.5154 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.4556, allocations: 80.8 kB / 0.5155 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.4558, allocations: 147.7 kB / 0.5156 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005155/0.4564, allocations: 442.7 kB / 0.5161 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.4565, allocations: 36.58 kB / 0.5161 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.4568, allocations: 185.7 kB / 0.5163 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.4571, allocations: 196.1 kB / 0.5164 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.4572, allocations: 18.78 kB / 0.5165 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.731e-05/0.4572, allocations: 18.28 kB / 0.5165 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.4574, allocations: 99.22 kB / 0.5166 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.4575, allocations: 101.1 kB / 0.5167 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.4578, allocations: 226.5 kB / 0.5169 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4578, allocations: 0 / 0.5169 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4578, allocations: 1.438 kB / 0.5169 GB, free: 6.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.4578, allocations: 0 / 0.5169 GB, free: 6.949 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001746/0.4595, allocations: 0.7077 MB / 0.5176 GB, free: 6.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4596, allocations: 10.38 kB / 0.5176 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.4597, allocations: 29.84 kB / 0.5176 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009453/0.4606, allocations: 417.7 kB / 0.518 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4606, allocations: 8.938 kB / 0.518 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.4607, allocations: 12.66 kB / 0.518 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.461, allocations: 162.6 kB / 0.5182 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.461, allocations: 0 / 0.5182 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.461, allocations: 5.812 kB / 0.5182 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.461, allocations: 2.75 kB / 0.5182 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.4613, allocations: 145.4 kB / 0.5183 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.4623, allocations: 0.6437 MB / 0.519 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.463, allocations: 219.8 kB / 0.5192 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.4631, allocations: 71.11 kB / 0.5192 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.4631, allocations: 2.031 kB / 0.5193 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.4631, allocations: 32.28 kB / 0.5193 GB, free: 5.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.4631, allocations: 0 / 0.5193 GB, free: 5.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005003/0.4636, allocations: 249 kB / 0.5195 GB, free: 5.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.4636, allocations: 88.23 kB / 0.5196 GB, free: 5.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.4645, allocations: 421.3 kB / 0.52 GB, free: 5.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4646, allocations: 30.77 kB / 0.52 GB, free: 4.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4647, allocations: 166.6 kB / 0.5202 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.4647, allocations: 49.86 kB / 0.5202 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.4648, allocations: 37.3 kB / 0.5203 GB, free: 4.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.4649, allocations: 339.8 kB / 0.5206 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.465, allocations: 58.83 kB / 0.5207 GB, free: 4.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.4651, allocations: 83.72 kB / 0.5207 GB, free: 4.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.4654, allocations: 157.7 kB / 0.5209 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4654, allocations: 4 kB / 0.5209 GB, free: 4.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003189/0.4657, allocations: 212.3 kB / 0.5211 GB, free: 4.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4657, allocations: 5.375 kB / 0.5211 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4657, allocations: 0 / 0.5211 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4657, allocations: 2.438 kB / 0.5211 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.466, allocations: 49.73 kB / 0.5211 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.466, allocations: 10.25 kB / 0.5212 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.4663, allocations: 60.98 kB / 0.5212 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.4664, allocations: 7.281 kB / 0.5212 GB, free: 4.211 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.000107/0.4665, allocations: 147 kB / 0.5214 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.4665, allocations: 23.77 kB / 0.5214 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.4666, allocations: 36.03 kB / 0.5214 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4666, allocations: 6.188 kB / 0.5214 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4666, allocations: 4.719 kB / 0.5214 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4666, allocations: 5.25 kB / 0.5214 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.467, allocations: 298.9 kB / 0.5217 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.467, allocations: 1.438 kB / 0.5217 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4671, allocations: 23.12 kB / 0.5217 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4671, allocations: 1.094 kB / 0.5217 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.4672, allocations: 10.09 kB / 0.5218 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4672, allocations: 1.188 kB / 0.5218 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4672, allocations: 5.25 kB / 0.5218 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.4676, allocations: 446.8 kB / 0.5222 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.4677, allocations: 107.4 kB / 0.5223 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4677, allocations: 9.625 kB / 0.5223 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.4681, allocations: 42.83 kB / 0.5223 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4681, allocations: 21.28 kB / 0.5224 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4681, allocations: 3.781 kB / 0.5224 GB, free: 3.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000737/0.4689, allocations: 335.8 kB / 0.5227 GB, free: 3.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4689, allocations: 0 / 0.5227 GB, free: 3.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.4692, allocations: 37.64 kB / 0.5227 GB, free: 3.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],P22.x_scaled[1]) * 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 (14): * Single equations (assignments): 14 * 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.63e-05/0.4693, allocations: 97.44 kB / 0.5228 GB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.4695, allocations: 145.3 kB / 0.523 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4695, allocations: 0 / 0.523 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.4697, allocations: 75.47 kB / 0.523 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.4701, allocations: 55.27 kB / 0.5231 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.4714, allocations: 0.5781 MB / 0.5236 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4717, allocations: 0.7879 MB / 0.5244 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.4718, allocations: 49.94 kB / 0.5245 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.4719, allocations: 24.88 kB / 0.5245 GB, free: 2.023 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4719, allocations: 0 / 0.5245 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Templates: time 0.007418/0.4793, allocations: 2.513 MB / 0.5269 GB, free: 1.848 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.makefile [Timeout 660] (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & ./AES_AES.ProcessBlocks.TITO_rational_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.222517560236156] Failed to read output from testmodel.py, exit status != 0: 0.4878747770562768 0.5013344240000001 0.040720888000000004 Calling exit ...