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.001358/0.001358, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.001463/0.001463, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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.1211/0.1211, allocations: 17.8 MB / 277.6 MB, free: 15.33 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.002225/0.002225, allocations: 63.91 kB / 414.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1022, allocations: 59.56 MB / 474.2 MB, free: 8.836 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003426/0.1056, allocations: 2.076 MB / 476.3 MB, free: 6.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005663/0.1062, allocations: 199.3 kB / 476.5 MB, free: 6.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1064, allocations: 15.88 kB / 476.5 MB, free: 6.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.973e-05/0.1065, allocations: 31.7 kB / 476.5 MB, free: 6.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.1067, allocations: 107.2 kB / 476.6 MB, free: 6.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.1069, allocations: 35.89 kB / 476.7 MB, free: 6.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.1072, allocations: 282.6 kB / 476.9 MB, free: 6.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.1075, allocations: 112.8 kB / 477 MB, free: 5.977 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.1077, allocations: 131.5 kB / 477.2 MB, free: 5.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1079, allocations: 87.5 kB / 477.3 MB, free: 5.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.1079, allocations: 12 kB / 477.3 MB, free: 5.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.854e-05/0.108, allocations: 16 kB / 477.3 MB, free: 5.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.108, allocations: 35.84 kB / 477.3 MB, free: 5.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1081, allocations: 87.59 kB / 477.4 MB, free: 5.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1084, allocations: 211.1 kB / 477.6 MB, free: 5.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1084, allocations: 0 / 477.6 MB, free: 5.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1084, allocations: 0 / 477.6 MB, free: 5.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.1084, allocations: 11.94 kB / 477.6 MB, free: 5.395 MB / 446.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.0007531/0.1092, allocations: 453 kB / 478.1 MB, free: 4.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1092, allocations: 12.92 kB / 478.1 MB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.1093, allocations: 24.75 kB / 478.1 MB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1096, allocations: 203.2 kB / 478.3 MB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1096, allocations: 12.38 kB / 478.3 MB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1097, allocations: 16.31 kB / 478.3 MB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.11, allocations: 170.6 kB / 478.5 MB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.11, allocations: 0 / 478.5 MB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.11, allocations: 4 kB / 478.5 MB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.11, allocations: 7.984 kB / 478.5 MB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1102, allocations: 94.7 kB / 478.6 MB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.1111, allocations: 0.7001 MB / 479.3 MB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1113, allocations: 74.55 kB / 479.4 MB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.1113, allocations: 40.78 kB / 479.4 MB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1114, allocations: 4 kB / 479.4 MB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1114, allocations: 30.56 kB / 479.4 MB, free: 3.422 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1114, allocations: 0 / 479.4 MB, free: 3.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002977/0.1117, allocations: 121.5 kB / 479.6 MB, free: 3.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1117, allocations: 55.41 kB / 479.6 MB, free: 3.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.112, allocations: 217.7 kB / 479.8 MB, free: 3.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.112, allocations: 25.7 kB / 479.9 MB, free: 2.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1121, allocations: 168 kB / 480 MB, free: 2.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1121, allocations: 31.91 kB / 480 MB, free: 2.777 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1122, allocations: 29.7 kB / 480.1 MB, free: 2.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1123, allocations: 330.8 kB / 480.4 MB, free: 2.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.1124, allocations: 35.92 kB / 480.4 MB, free: 2.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.1125, allocations: 50.5 kB / 480.5 MB, free: 2.316 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.113, allocations: 158.4 kB / 480.6 MB, free: 2.152 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.113, allocations: 4 kB / 480.6 MB, free: 2.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002358/0.1133, allocations: 141.5 kB / 480.8 MB, free: 2.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1133, allocations: 4 kB / 480.8 MB, free: 2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1133, allocations: 0 / 480.8 MB, free: 2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1133, allocations: 4 kB / 480.8 MB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.1135, allocations: 23.98 kB / 480.8 MB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1135, allocations: 0 / 480.8 MB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-05/0.1136, allocations: 15.94 kB / 480.8 MB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1136, allocations: 8 kB / 480.8 MB, free: 1.949 MB / 446.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.0001642/0.1138, allocations: 137.7 kB / 481 MB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.1138, allocations: 15.91 kB / 481 MB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.1138, allocations: 21.78 kB / 481 MB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1138, allocations: 3.984 kB / 481 MB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1139, allocations: 4 kB / 481 MB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1139, allocations: 3.938 kB / 481 MB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.1141, allocations: 173.2 kB / 481.2 MB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1141, allocations: 4 kB / 481.2 MB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1142, allocations: 15.98 kB / 481.2 MB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1142, allocations: 4 kB / 481.2 MB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.1142, allocations: 0 / 481.2 MB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1143, allocations: 0 / 481.2 MB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1143, allocations: 0 / 481.2 MB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1146, allocations: 243.5 kB / 481.4 MB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.1146, allocations: 15.94 kB / 481.5 MB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1146, allocations: 4.062 kB / 481.5 MB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1147, allocations: 7.984 kB / 481.5 MB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.1148, allocations: 7.938 kB / 481.5 MB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1148, allocations: 0 / 481.5 MB, free: 1.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1149, allocations: 161.2 kB / 481.6 MB, free: 1.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1149, allocations: 0 / 481.6 MB, free: 1.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1152, allocations: 47.83 kB / 481.7 MB, free: 1.043 MB / 446.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 9.638e-05/0.1153, allocations: 99.72 kB / 481.8 MB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1155, allocations: 71.91 kB / 481.9 MB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1155, allocations: 4.125 kB / 481.9 MB, free: 0.8633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.076e-05/0.1155, allocations: 27.94 kB / 481.9 MB, free: 0.8359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1159, allocations: 44.47 kB / 481.9 MB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.1168, allocations: 0.5016 MB / 482.4 MB, free: 272 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.1169, allocations: 117.6 kB / 482.5 MB, free: 136 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.117, allocations: 37.86 kB / 482.6 MB, free: 96 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1171, allocations: 16.5 kB / 482.6 MB, free: 80 kB / 446.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1171, allocations: 4 kB / 482.6 MB, free: 76 kB / 446.1 MB Notification: Performance of Templates: time 0.1807/0.2978, allocations: 2.201 MB / 484.8 MB, free: 51.95 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.41027412598487] Failed to read output from testmodel.py, exit status != 0: 0.3054994619451463 0.314120681 0.20346111900000002 Calling exit ...