Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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.001849/0.001849, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.002344/0.002344, allocations: 216.7 kB / 23.77 MB, free: 4.52 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.437/1.437, 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.1085/0.1085, allocations: 24.04 MB / 338 MB, free: 11.32 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.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") [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.002157/0.002157, allocations: 59.91 kB / 475.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 59.58 MB / 0.5221 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002834/0.3071, allocations: 2.059 MB / 0.5241 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003903/0.3075, allocations: 202 kB / 0.5243 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.3076, allocations: 12.62 kB / 0.5243 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.741e-05/0.3076, allocations: 30.66 kB / 0.5244 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.3078, allocations: 107.2 kB / 0.5245 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.308, allocations: 32.19 kB / 0.5245 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.3082, allocations: 297 kB / 0.5248 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.3085, allocations: 98.56 kB / 0.5249 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3086, allocations: 134.5 kB / 0.525 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3088, allocations: 82.78 kB / 0.5251 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.3088, allocations: 14.12 kB / 0.5251 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.3089, allocations: 13.31 kB / 0.5251 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.3089, allocations: 38.06 kB / 0.5251 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.309, allocations: 90.08 kB / 0.5252 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3092, allocations: 220.8 kB / 0.5254 GB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3092, allocations: 1.312 kB / 0.5254 GB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3092, allocations: 0 / 0.5254 GB, free: 8.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3092, allocations: 0 / 0.5254 GB, free: 8.367 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006067/0.3098, allocations: 451.9 kB / 0.5259 GB, free: 7.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3099, allocations: 11.53 kB / 0.5259 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.3099, allocations: 24.27 kB / 0.5259 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3102, allocations: 216.5 kB / 0.5261 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3102, allocations: 13.94 kB / 0.5261 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3103, allocations: 13.45 kB / 0.5261 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.3105, allocations: 164.5 kB / 0.5263 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3105, allocations: 1.062 kB / 0.5263 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3105, allocations: 14.17 kB / 0.5263 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3105, allocations: 3.312 kB / 0.5263 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.3107, allocations: 93.53 kB / 0.5264 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.3113, allocations: 0.6996 MB / 0.5271 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3115, allocations: 79.02 kB / 0.5272 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.3115, allocations: 39.84 kB / 0.5272 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.3115, allocations: 1.219 kB / 0.5272 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.3116, allocations: 33.56 kB / 0.5272 GB, free: 6.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3116, allocations: 0 / 0.5272 GB, free: 6.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002617/0.3118, allocations: 126.2 kB / 0.5274 GB, free: 6.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.3118, allocations: 52.5 kB / 0.5274 GB, free: 6.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.312, allocations: 216 kB / 0.5276 GB, free: 6.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.312, allocations: 27.2 kB / 0.5276 GB, free: 6.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.3121, allocations: 156.3 kB / 0.5278 GB, free: 6.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3121, allocations: 38.02 kB / 0.5278 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.3122, allocations: 32.16 kB / 0.5279 GB, free: 6.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.3122, allocations: 333.8 kB / 0.5282 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.3123, allocations: 28.16 kB / 0.5282 GB, free: 6.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.3123, allocations: 49.55 kB / 0.5282 GB, free: 6.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.3128, allocations: 160.8 kB / 0.5284 GB, free: 5.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3128, allocations: 0 / 0.5284 GB, free: 5.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001891/0.313, allocations: 132.1 kB / 0.5285 GB, free: 5.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.313, allocations: 5.25 kB / 0.5285 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.313, allocations: 1.75 kB / 0.5285 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.313, allocations: 2.109 kB / 0.5285 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3132, allocations: 27.59 kB / 0.5286 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.3132, allocations: 1.125 kB / 0.5286 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-05/0.3133, allocations: 24.38 kB / 0.5286 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3133, allocations: 6.516 kB / 0.5286 GB, free: 5.824 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 prepare postOptimizeDAE: time 0.0001214/0.3134, allocations: 126.5 kB / 0.5287 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.3135, allocations: 21.81 kB / 0.5287 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.3135, allocations: 24.09 kB / 0.5288 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3135, allocations: 2.25 kB / 0.5288 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3135, allocations: 0.7031 kB / 0.5288 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3135, allocations: 7.938 kB / 0.5288 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3137, allocations: 171.1 kB / 0.5289 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3137, allocations: 1.156 kB / 0.5289 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.3139, allocations: 21.92 kB / 0.529 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3139, allocations: 0.6562 kB / 0.529 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3139, allocations: 1.188 kB / 0.529 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3139, allocations: 1.766 kB / 0.529 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3139, allocations: 0 / 0.529 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3141, allocations: 237.8 kB / 0.5292 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.3141, allocations: 17.39 kB / 0.5292 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.3142, allocations: 9.375 kB / 0.5292 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3143, allocations: 5.547 kB / 0.5292 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.3143, allocations: 5.188 kB / 0.5292 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3143, allocations: 2.281 kB / 0.5292 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3144, allocations: 159.7 kB / 0.5294 GB, free: 5.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3144, allocations: 0 / 0.5294 GB, free: 5.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3147, allocations: 47.83 kB / 0.5294 GB, free: 5.195 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (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 Backend phase and start with SimCode phase: time 7.337e-05/0.3147, allocations: 105.9 kB / 0.5295 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.3149, allocations: 65.08 kB / 0.5296 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3149, allocations: 5.219 kB / 0.5296 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.315, allocations: 32.77 kB / 0.5296 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3153, allocations: 45.3 kB / 0.5297 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.3161, allocations: 0.5227 MB / 0.5302 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3162, allocations: 123.3 kB / 0.5303 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.3162, allocations: 22.28 kB / 0.5303 GB, free: 4.578 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3162, allocations: 0 / 0.5303 GB, free: 4.578 MB / 382.1 MB Notification: Performance of Templates: time 0.004736/0.321, allocations: 2.475 MB / 0.5327 GB, free: 4.371 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.338699708227068] Failed to read output from testmodel.py, exit status != 0: 0.32916928827762604 0.34141283 0.029300014000000003 Calling exit ...