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.001062/0.001062, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001381/0.001381, allocations: 166.6 kB / 24.86 MB, free: 8.641 MB / 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 1.002/1.002, allocations: 177.2 MB / 205.3 MB, free: 5.512 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.06597/0.06597, allocations: 18.13 MB / 280 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.583e-06/1.583e-06, allocations: 0 / 358.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.386e-05, allocations: 2.312 kB / 358.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.00254/0.002564, allocations: 2.21 MB / 360.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004708/0.003035, allocations: 199.3 kB / 361 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.003145, allocations: 15.88 kB / 361 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.494e-05/0.0032, allocations: 31.64 kB / 361 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.003371, allocations: 111.1 kB / 361.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.00349, allocations: 43.88 kB / 361.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.003703, allocations: 298.3 kB / 361.4 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.003914, allocations: 119.7 kB / 361.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.0041, allocations: 123.7 kB / 361.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.0042, allocations: 63.81 kB / 361.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.004224, allocations: 16 kB / 361.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.145e-05/0.004245, allocations: 12 kB / 361.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.004274, allocations: 35.78 kB / 361.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.004338, allocations: 79.83 kB / 361.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.004497, allocations: 139.4 kB / 362 MB, free: 4.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.004501, allocations: 4 kB / 362 MB, free: 4.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004502, allocations: 0 / 362 MB, free: 4.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004506, allocations: 0 / 362 MB, free: 4.023 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.0004867/0.004993, allocations: 0.5423 MB / 362.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.005027, allocations: 12.86 kB / 362.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.005077, allocations: 32.8 kB / 362.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.005295, allocations: 213.3 kB / 362.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.005306, allocations: 12.38 kB / 362.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.005329, allocations: 20.27 kB / 362.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.005498, allocations: 153.7 kB / 363 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.005505, allocations: 4.172 kB / 363 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.005516, allocations: 4.375 kB / 363 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005522, allocations: 11.88 kB / 363 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.0056, allocations: 51.89 kB / 363.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.006196, allocations: 0.8981 MB / 364 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.006303, allocations: 63.02 kB / 364 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.006333, allocations: 27.62 kB / 364.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.006343, allocations: 4 kB / 364.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.006366, allocations: 33.39 kB / 364.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.006367, allocations: 0 / 364.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001806/0.006548, allocations: 97.72 kB / 364.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.006579, allocations: 51.41 kB / 364.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.006731, allocations: 260.2 kB / 364.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.006748, allocations: 37.7 kB / 364.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.006842, allocations: 198.8 kB / 364.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.006859, allocations: 31.73 kB / 364.8 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.006898, allocations: 31.36 kB / 364.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.007024, allocations: 0.5078 MB / 365.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.00705, allocations: 19.92 kB / 365.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.47e-05/0.007085, allocations: 39.05 kB / 365.3 MB, free: 452 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.00718, allocations: 86.95 kB / 365.4 MB, free: 352 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.007183, allocations: 7.938 kB / 365.4 MB, free: 344 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001151/0.007298, allocations: 109.5 kB / 365.5 MB, free: 228 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.007311, allocations: 7.125 kB / 365.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.007316, allocations: 0 / 365.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.007324, allocations: 0 / 365.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.007433, allocations: 27.98 kB / 365.6 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.007436, allocations: 0 / 365.6 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.00748, allocations: 11.89 kB / 365.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.007486, allocations: 4 kB / 365.6 MB, free: 180 kB / 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 0.0001526/0.007639, allocations: 180.8 kB / 365.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.007669, allocations: 23.86 kB / 365.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.007698, allocations: 17.78 kB / 365.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.007702, allocations: 4 kB / 365.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.007706, allocations: 3.984 kB / 365.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007709, allocations: 0 / 365.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.007849, allocations: 141.1 kB / 366 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00785, allocations: 4 kB / 366 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/0.00794, allocations: 27.81 kB / 366 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.007943, allocations: 4 kB / 366 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.007954, allocations: 0 / 366 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007954, allocations: 0 / 366 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007955, allocations: 0 / 366 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.008154, allocations: 255.6 kB / 366.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.008177, allocations: 19.83 kB / 366.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.008193, allocations: 0 / 366.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.008242, allocations: 4 kB / 366.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.00826, allocations: 12.02 kB / 366.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.008264, allocations: 0 / 366.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.433e-05/0.008338, allocations: 185.1 kB / 366.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008338, allocations: 4 kB / 366.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.008504, allocations: 35.95 kB / 366.5 MB, free: 15.22 MB / 298.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.362e-05/0.008598, allocations: 99.25 kB / 366.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.869e-05/0.008697, allocations: 59.97 kB / 366.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008698, allocations: 0 / 366.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.008725, allocations: 35.72 kB / 366.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.008968, allocations: 48.42 kB / 366.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.009762, allocations: 459.2 kB / 367.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.00981, allocations: 76.31 kB / 367.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.009879, allocations: 25.95 kB / 367.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.009986, allocations: 122.2 kB / 367.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009987, allocations: 4 kB / 367.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of Templates: time 0.004374/0.01436, allocations: 2.457 MB / 369.9 MB, free: 11.85 MB / 298.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.8494269168004394]