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.0009484/0.0009484, allocations: 72.83 kB / 20.74 MB, free: 3.754 MB / 18.57 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.00097/0.00097, allocations: 173 kB / 24.17 MB, free: 336 kB / 18.57 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 0.9606/0.9606, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.06556/0.06556, allocations: 18.14 MB / 279.2 MB, free: 11.18 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 304.5 MB, free: 380 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.342e-05, allocations: 3.688 kB / 304.5 MB, free: 376 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002384/0.002397, allocations: 2.216 MB / 306.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.002834, allocations: 213.6 kB / 306.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.002931, allocations: 14.91 kB / 306.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.54e-05/0.002986, allocations: 28.52 kB / 307 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.003172, allocations: 114.1 kB / 307.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.003286, allocations: 36.56 kB / 307.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.003506, allocations: 301 kB / 307.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.003698, allocations: 115.2 kB / 307.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.003888, allocations: 126.3 kB / 307.7 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.003999, allocations: 70.14 kB / 307.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.004022, allocations: 13.31 kB / 307.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.287e-05/0.004045, allocations: 12.41 kB / 307.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.004075, allocations: 37.62 kB / 307.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.004136, allocations: 73.91 kB / 307.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.00429, allocations: 144.6 kB / 308 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004293, allocations: 0.7969 kB / 308 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004293, allocations: 0 / 308 MB, free: 14.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.004297, allocations: 0 / 308 MB, free: 14.09 MB / 282.7 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.0004163/0.004713, allocations: 433.4 kB / 308.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.004742, allocations: 8.922 kB / 308.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.004779, allocations: 26.14 kB / 308.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.004965, allocations: 200.1 kB / 308.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.004974, allocations: 12.31 kB / 308.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.004996, allocations: 16.38 kB / 308.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.005142, allocations: 153.3 kB / 308.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.005148, allocations: 192 / 308.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005159, allocations: 4.375 kB / 308.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.005166, allocations: 7.938 kB / 308.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.569e-05/0.005231, allocations: 47.28 kB / 308.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.005656, allocations: 0.6094 MB / 309.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.005736, allocations: 53.94 kB / 309.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.005762, allocations: 18.78 kB / 309.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.005769, allocations: 0 / 309.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.005785, allocations: 35.12 kB / 309.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.005786, allocations: 0 / 309.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001249/0.005911, allocations: 82.2 kB / 309.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.005937, allocations: 51.97 kB / 309.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.006054, allocations: 211 kB / 309.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.006064, allocations: 25.7 kB / 310 MB, free: 12.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.006124, allocations: 137.9 kB / 310.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.006144, allocations: 38.17 kB / 310.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.006178, allocations: 31.58 kB / 310.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.006256, allocations: 332.8 kB / 310.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.006273, allocations: 9.125 kB / 310.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.006306, allocations: 33.38 kB / 310.5 MB, free: 11.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.006381, allocations: 69.2 kB / 310.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006383, allocations: 0 / 310.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.249e-05/0.006475, allocations: 95.59 kB / 310.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.006484, allocations: 4 kB / 310.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.006489, allocations: 0 / 310.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.006499, allocations: 7.938 kB / 310.7 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.006592, allocations: 21.55 kB / 310.7 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.006595, allocations: 0 / 310.7 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.006636, allocations: 16.45 kB / 310.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006641, allocations: 4 kB / 310.7 MB, free: 11.31 MB / 282.7 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 9.633e-05/0.006738, allocations: 133.5 kB / 310.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.006759, allocations: 11.98 kB / 310.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.006789, allocations: 20.5 kB / 310.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.006793, allocations: 4 kB / 310.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006796, allocations: 4 kB / 310.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.0068, allocations: 0.75 kB / 310.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.006929, allocations: 111 kB / 311 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.006932, allocations: 4.453 kB / 311 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.007004, allocations: 22.48 kB / 311.1 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007006, allocations: 0.5625 kB / 311.1 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.007017, allocations: 4 kB / 311.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007018, allocations: 0 / 311.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007019, allocations: 0.5156 kB / 311.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.007164, allocations: 180.3 kB / 311.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.007183, allocations: 28.38 kB / 311.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.0072, allocations: 8 kB / 311.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.007242, allocations: 0 / 311.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.00726, allocations: 2.906 kB / 311.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007265, allocations: 8.641 kB / 311.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.801e-05/0.007323, allocations: 66.36 kB / 311.3 MB, free: 10.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007323, allocations: 0 / 311.3 MB, free: 10.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.007469, allocations: 43.95 kB / 311.4 MB, free: 10.67 MB / 282.7 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 8.831e-05/0.007558, allocations: 77.03 kB / 311.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.146e-05/0.007649, allocations: 45.34 kB / 311.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.007653, allocations: 0 / 311.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/0.007677, allocations: 34.75 kB / 311.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.007862, allocations: 58.27 kB / 311.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.00857, allocations: 434.7 kB / 312 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.008612, allocations: 72.33 kB / 312.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.208e-05/0.008674, allocations: 29.92 kB / 312.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.00877, allocations: 99.34 kB / 312.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of SimCode: time 4.5e-07/0.00877, allocations: 0 / 312.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of Templates: time 0.003705/0.01248, allocations: 2.428 MB / 314.6 MB, free: 7.453 MB / 282.7 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7373800110071898]