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.00214/0.00214, allocations: 77.88 kB / 20.67 MB, free: 3.82 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.0011/0.0011, allocations: 177 kB / 24.07 MB, free: 432 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.9752/0.9752, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.06639/0.06639, allocations: 18.13 MB / 279.2 MB, free: 11.17 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 3.647e-06/3.647e-06, allocations: 0 / 357.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.215e-05/4.58e-05, allocations: 2.312 kB / 357.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.004879/0.004925, allocations: 2.216 MB / 360 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.005825, allocations: 203.2 kB / 360.2 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.006035, allocations: 15.88 kB / 360.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.943e-05/0.006135, allocations: 27.72 kB / 360.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.006463, allocations: 111 kB / 360.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.00667, allocations: 43.92 kB / 360.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.007097, allocations: 294.3 kB / 360.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.00744, allocations: 115.7 kB / 360.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.007826, allocations: 123.6 kB / 360.9 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.008053, allocations: 67.81 kB / 361 MB, free: 5.367 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.008116, allocations: 16 kB / 361 MB, free: 5.352 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.008166, allocations: 12 kB / 361 MB, free: 5.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.008214, allocations: 35.83 kB / 361 MB, free: 5.305 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.008348, allocations: 75.8 kB / 361.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.008638, allocations: 147.4 kB / 361.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.008645, allocations: 4 kB / 361.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.008647, allocations: 4 kB / 361.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.008654, allocations: 0 / 361.2 MB, free: 5.078 MB / 330.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.0007528/0.009407, allocations: 0.5306 MB / 361.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.009458, allocations: 12.92 kB / 361.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.009544, allocations: 32.8 kB / 361.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.009914, allocations: 225.2 kB / 362 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.009934, allocations: 8.375 kB / 362 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.009966, allocations: 12.38 kB / 362.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.01023, allocations: 161.6 kB / 362.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01024, allocations: 192 / 362.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.01026, allocations: 4.375 kB / 362.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.01027, allocations: 7.938 kB / 362.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01039, allocations: 51.89 kB / 362.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.0113, allocations: 0.902 MB / 363.2 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.01154, allocations: 55.03 kB / 363.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.0116, allocations: 31.61 kB / 363.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.01161, allocations: 4 kB / 363.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.01165, allocations: 33.39 kB / 363.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.01165, allocations: 0 / 363.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001969/0.01185, allocations: 105.6 kB / 363.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.01188, allocations: 51.41 kB / 363.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.01203, allocations: 260.2 kB / 363.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01205, allocations: 33.7 kB / 363.7 MB, free: 2.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01215, allocations: 194.8 kB / 363.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.01217, allocations: 31.73 kB / 364 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.01222, allocations: 35.31 kB / 364 MB, free: 2.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.01238, allocations: 0.5117 MB / 364.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.0124, allocations: 8 kB / 364.5 MB, free: 1.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.01244, allocations: 47.02 kB / 364.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.01253, allocations: 87.06 kB / 364.6 MB, free: 1.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01253, allocations: 0 / 364.6 MB, free: 1.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001074/0.01264, allocations: 113.5 kB / 364.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01265, allocations: 4 kB / 364.8 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01266, allocations: 0 / 364.8 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.01267, allocations: 0 / 364.8 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01277, allocations: 31.92 kB / 364.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.01277, allocations: 0 / 364.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.01282, allocations: 11.89 kB / 364.8 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.01282, allocations: 4 kB / 364.8 MB, free: 1.238 MB / 330.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 0.0001461/0.01297, allocations: 168.6 kB / 365 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.013, allocations: 23.86 kB / 365 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.01303, allocations: 25.7 kB / 365 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01303, allocations: 11.98 kB / 365 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01304, allocations: 0 / 365 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01304, allocations: 0 / 365 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.0132, allocations: 149.1 kB / 365.2 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.0132, allocations: 0 / 365.2 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.01327, allocations: 20 kB / 365.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.01328, allocations: 7.984 kB / 365.2 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.01328, allocations: 0 / 365.2 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.01328, allocations: 0 / 365.2 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01329, allocations: 0 / 365.2 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.01346, allocations: 256 kB / 365.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.01348, allocations: 15.84 kB / 365.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.01349, allocations: 0 / 365.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.01354, allocations: 12.03 kB / 365.5 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.01356, allocations: 7.922 kB / 365.5 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.01356, allocations: 0 / 365.5 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.01364, allocations: 185.1 kB / 365.7 MB, free: 320 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01364, allocations: 0 / 365.7 MB, free: 320 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.01381, allocations: 35.95 kB / 365.7 MB, free: 284 kB / 330.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 9.899e-05/0.01391, allocations: 103.2 kB / 365.8 MB, free: 172 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.01402, allocations: 51.59 kB / 365.9 MB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01402, allocations: 0 / 365.9 MB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.01404, allocations: 35.86 kB / 365.9 MB, free: 76 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.0143, allocations: 50.44 kB / 365.9 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.01516, allocations: 451.2 kB / 366.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.0152, allocations: 76.33 kB / 366.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.492e-05/0.01528, allocations: 29.92 kB / 366.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.01539, allocations: 122.2 kB / 366.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01539, allocations: 4 kB / 366.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of Templates: time 0.004582/0.01997, allocations: 2.418 MB / 369 MB, free: 12.96 MB / 346.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.863748012110591]