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.001308/0.001308, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001577/0.001577, allocations: 215.6 kB / 23.01 MB, free: 4.566 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.1063/0.1063, allocations: 24.13 MB / 337.3 MB, free: 11.55 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.002241/0.002241, allocations: 79.8 kB / 474.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3132, allocations: 59.59 MB / 0.5216 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002887/0.3161, allocations: 2.214 MB / 0.5238 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.3165, allocations: 202.2 kB / 0.524 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.3166, allocations: 19.75 kB / 0.524 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.768e-05/0.3167, allocations: 31.91 kB / 0.524 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.3169, allocations: 98.09 kB / 0.5241 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.317, allocations: 40.77 kB / 0.5242 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.3172, allocations: 289.5 kB / 0.5244 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.3175, allocations: 106.5 kB / 0.5245 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.3177, allocations: 134.2 kB / 0.5247 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3178, allocations: 94.8 kB / 0.5248 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.3178, allocations: 13.81 kB / 0.5248 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.693e-05/0.3179, allocations: 13.91 kB / 0.5248 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.3179, allocations: 34.14 kB / 0.5248 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.54e-05/0.318, allocations: 111 kB / 0.5249 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3182, allocations: 217.1 kB / 0.5251 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3182, allocations: 4 kB / 0.5251 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3182, allocations: 7.516 kB / 0.5251 GB, free: 8.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3182, allocations: 0 / 0.5251 GB, free: 8.102 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.0006115/0.3189, allocations: 440 kB / 0.5256 GB, free: 7.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3189, allocations: 10.52 kB / 0.5256 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.3189, allocations: 27.28 kB / 0.5256 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.3192, allocations: 225.4 kB / 0.5258 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3192, allocations: 9.531 kB / 0.5258 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.3193, allocations: 13.56 kB / 0.5258 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3195, allocations: 165.6 kB / 0.526 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3195, allocations: 1.344 kB / 0.526 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3195, allocations: 13.22 kB / 0.526 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3195, allocations: 7.688 kB / 0.526 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.3197, allocations: 89.72 kB / 0.5261 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.3203, allocations: 0.7708 MB / 0.5269 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3205, allocations: 74.92 kB / 0.5269 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.3205, allocations: 36.27 kB / 0.527 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.3206, allocations: 0.9688 kB / 0.527 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.3206, allocations: 31.62 kB / 0.527 GB, free: 6.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3206, allocations: 0 / 0.527 GB, free: 6.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002682/0.3208, allocations: 128.7 kB / 0.5271 GB, free: 6.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.3209, allocations: 52.84 kB / 0.5272 GB, free: 6.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.3211, allocations: 281.7 kB / 0.5274 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.3211, allocations: 25.7 kB / 0.5275 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.3212, allocations: 141.7 kB / 0.5276 GB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.3212, allocations: 34.27 kB / 0.5276 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.3213, allocations: 32.67 kB / 0.5277 GB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.3213, allocations: 331.9 kB / 0.528 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.3214, allocations: 31.67 kB / 0.528 GB, free: 5.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.3214, allocations: 52.36 kB / 0.5281 GB, free: 5.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.3219, allocations: 159.6 kB / 0.5282 GB, free: 5.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3219, allocations: 0 / 0.5282 GB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002088/0.3221, allocations: 135.3 kB / 0.5283 GB, free: 5.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3222, allocations: 4.844 kB / 0.5283 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3222, allocations: 1.312 kB / 0.5283 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3222, allocations: 1.938 kB / 0.5283 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.3223, allocations: 23.97 kB / 0.5284 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3224, allocations: 9.859 kB / 0.5284 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.3224, allocations: 20.42 kB / 0.5284 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3224, allocations: 3.25 kB / 0.5284 GB, free: 5.496 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.000124/0.3226, allocations: 134.6 kB / 0.5285 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.3226, allocations: 22.64 kB / 0.5285 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.3227, allocations: 30.88 kB / 0.5286 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3227, allocations: 9.859 kB / 0.5286 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3227, allocations: 5.031 kB / 0.5286 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3227, allocations: 0.75 kB / 0.5286 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3229, allocations: 212.8 kB / 0.5288 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3229, allocations: 0 / 0.5288 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.323, allocations: 18.72 kB / 0.5288 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.323, allocations: 1.438 kB / 0.5288 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3231, allocations: 2.109 kB / 0.5288 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3231, allocations: 0 / 0.5288 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3231, allocations: 7.875 kB / 0.5288 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3233, allocations: 243 kB / 0.5291 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.3233, allocations: 23.66 kB / 0.5291 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.3234, allocations: 6 kB / 0.5291 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3235, allocations: 0.75 kB / 0.5291 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.3235, allocations: 9.547 kB / 0.5291 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3235, allocations: 1.688 kB / 0.5291 GB, free: 4.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.3237, allocations: 194 kB / 0.5293 GB, free: 4.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 4.062 kB / 0.5293 GB, free: 4.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3239, allocations: 38.81 kB / 0.5293 GB, free: 4.801 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 6.869e-05/0.324, allocations: 105.3 kB / 0.5294 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.3242, allocations: 69.88 kB / 0.5295 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3242, allocations: 1.031 kB / 0.5295 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.3242, allocations: 31.31 kB / 0.5295 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3246, allocations: 50.72 kB / 0.5296 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007681/0.3253, allocations: 0.5305 MB / 0.5301 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.3255, allocations: 0.7329 MB / 0.5308 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.3255, allocations: 19.84 kB / 0.5308 GB, free: 3.555 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3255, allocations: 0 / 0.5308 GB, free: 3.555 MB / 382.1 MB Notification: Performance of Templates: time 0.004791/0.3303, allocations: 2.551 MB / 0.5333 GB, free: 3.328 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.561652492033318] Failed to read output from testmodel.py, exit status != 0: 0.3392697270028293 0.351558097 0.030307616000000002 Calling exit ...