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.001053/0.001053, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002545, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009996/0.0009996, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.002046, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9719/0.9719, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08068/1.053, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.06355/0.06355, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01245/0.076, allocations: 6.77 MB / 268.9 MB, free: 6.363 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.342e-06/1.342e-06, allocations: 0 / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.285e-05, allocations: 2.312 kB / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003267/0.003289, allocations: 2.251 MB / 272.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005562/0.003846, allocations: 219 kB / 272.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.003979, allocations: 15.88 kB / 272.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.707e-05/0.004046, allocations: 27.7 kB / 272.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.004259, allocations: 111.1 kB / 272.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.004363, allocations: 31.95 kB / 273 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.004665, allocations: 302.3 kB / 273.3 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.004903, allocations: 126.7 kB / 273.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.005224, allocations: 191.5 kB / 273.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.005359, allocations: 75.73 kB / 273.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.005389, allocations: 12 kB / 273.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-05/0.005419, allocations: 12 kB / 273.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.005451, allocations: 27.88 kB / 273.7 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.005531, allocations: 67.88 kB / 273.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.005739, allocations: 135.4 kB / 273.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.005755, allocations: 0 / 273.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005756, allocations: 0 / 273.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.005773, allocations: 0 / 273.9 MB, free: 1.301 MB / 266.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.0006252/0.006398, allocations: 471.3 kB / 274.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.006432, allocations: 11.97 kB / 274.4 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.006486, allocations: 28.91 kB / 274.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.006744, allocations: 210.4 kB / 274.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.006758, allocations: 8.375 kB / 274.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.006787, allocations: 12.38 kB / 274.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.00699, allocations: 147.5 kB / 274.8 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.006999, allocations: 192 / 274.8 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.007012, allocations: 4.375 kB / 274.8 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007021, allocations: 7.938 kB / 274.8 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.007118, allocations: 54.91 kB / 274.8 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/0.1294, allocations: 0.5833 MB / 275.4 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.9e-05/0.1295, allocations: 48.17 kB / 275.5 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.1295, allocations: 22.34 kB / 275.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1296, allocations: 2 kB / 275.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.1296, allocations: 34.31 kB / 275.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.1296, allocations: 0 / 275.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001281/0.1297, allocations: 84.36 kB / 275.6 MB, free: 3.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.1297, allocations: 54.25 kB / 275.6 MB, free: 3.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.1298, allocations: 212.8 kB / 275.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.1298, allocations: 27.86 kB / 275.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.1299, allocations: 135.5 kB / 276 MB, free: 3.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1299, allocations: 32.64 kB / 276 MB, free: 3.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1299, allocations: 32.53 kB / 276.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.315e-05/0.13, allocations: 331.7 kB / 276.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.13, allocations: 9.938 kB / 276.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.13, allocations: 36.33 kB / 276.4 MB, free: 2.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.1301, allocations: 68.19 kB / 276.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1301, allocations: 0 / 276.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.179e-05/0.1302, allocations: 88.25 kB / 276.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1302, allocations: 6.422 kB / 276.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1302, allocations: 5.031 kB / 276.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1302, allocations: 1.484 kB / 276.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1303, allocations: 33.3 kB / 276.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1303, allocations: 3.375 kB / 276.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.1304, allocations: 14.91 kB / 276.7 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1304, allocations: 4.172 kB / 276.7 MB, free: 2.848 MB / 266.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 8.947e-05/0.1305, allocations: 125.4 kB / 276.8 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1305, allocations: 12.98 kB / 276.8 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.1305, allocations: 29.16 kB / 276.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1305, allocations: 1.625 kB / 276.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1305, allocations: 2.484 kB / 276.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1305, allocations: 0.8438 kB / 276.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1307, allocations: 113.8 kB / 276.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1307, allocations: 1.25 kB / 276.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.1307, allocations: 26.25 kB / 277 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.1308, allocations: 21.64 kB / 277 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1308, allocations: 1.031 kB / 277 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1308, allocations: 2.438 kB / 277 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1308, allocations: 3.938 kB / 277 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1308, allocations: 1.656 kB / 277 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.1309, allocations: 186.1 kB / 277.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1309, allocations: 6.594 kB / 277.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.393e-05/0.131, allocations: 5 kB / 277.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.131, allocations: 9.328 kB / 277.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.131, allocations: 1.906 kB / 277.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.131, allocations: 67.53 kB / 277.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.131, allocations: 0.8125 kB / 277.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.1312, allocations: 44.36 kB / 277.3 MB, free: 2.484 MB / 266.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 5.802e-05/0.1312, allocations: 77.98 kB / 277.4 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.286e-05/0.1313, allocations: 53.39 kB / 277.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.1313, allocations: 6.297 kB / 277.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.1e-05/0.1313, allocations: 24.2 kB / 277.5 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.1315, allocations: 64.66 kB / 277.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.135, allocations: 418.2 kB / 277.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.689e-05/0.135, allocations: 73.86 kB / 278 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.875e-05/0.1351, allocations: 27.64 kB / 278 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1352, allocations: 98.45 kB / 278.1 MB, free: 2.059 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1352, allocations: 0 / 278.1 MB, free: 2.059 MB / 266.7 MB Notification: Performance of Templates: time 0.005074/0.1403, allocations: 2.565 MB / 280.7 MB, free: 1.891 MB / 266.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.568348507396877]