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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,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=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 105 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09452/0.09452, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 437.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 54.95 MB / 492.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003267/0.1062, allocations: 2.195 MB / 494.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004115/0.1066, allocations: 203.3 kB / 495 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1068, allocations: 11.94 kB / 495.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.809e-05/0.1069, allocations: 35.64 kB / 495.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.1071, allocations: 95.22 kB / 495.2 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.1072, allocations: 43.89 kB / 495.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1075, allocations: 278.6 kB / 495.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.1077, allocations: 128.6 kB / 495.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.1079, allocations: 135.5 kB / 495.8 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.108, allocations: 87.58 kB / 495.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.1081, allocations: 12 kB / 495.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.692e-05/0.1081, allocations: 16 kB / 495.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.1082, allocations: 35.8 kB / 495.9 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1083, allocations: 111.4 kB / 496 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1086, allocations: 219.2 kB / 496.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1086, allocations: 0 / 496.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1086, allocations: 0 / 496.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1086, allocations: 0 / 496.2 MB, free: 1.199 MB / 366.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.0007091/0.1093, allocations: 0.5061 MB / 496.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1093, allocations: 12.03 kB / 496.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.1094, allocations: 28.64 kB / 496.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.1098, allocations: 268.5 kB / 497 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1098, allocations: 16.38 kB / 497.1 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1098, allocations: 16.36 kB / 497.1 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.1101, allocations: 171.4 kB / 497.2 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1101, allocations: 0 / 497.2 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1101, allocations: 4 kB / 497.2 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1101, allocations: 4 kB / 497.2 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1103, allocations: 102.7 kB / 497.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007986/0.1111, allocations: 0.8015 MB / 498.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1113, allocations: 86.48 kB / 498.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.1114, allocations: 40.84 kB / 498.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1114, allocations: 0 / 498.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1114, allocations: 34.56 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1114, allocations: 0 / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002789/0.1117, allocations: 117.4 kB / 498.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1118, allocations: 55.41 kB / 498.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.112, allocations: 271 kB / 498.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1121, allocations: 37.64 kB / 498.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.1122, allocations: 144.1 kB / 498.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1122, allocations: 31.55 kB / 498.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.1122, allocations: 25.66 kB / 499 MB, free: 14.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1124, allocations: 334.8 kB / 499.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.1124, allocations: 27.98 kB / 499.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/0.1125, allocations: 58.5 kB / 499.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.113, allocations: 162.3 kB / 499.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1131, allocations: 0 / 499.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000213/0.1133, allocations: 137.3 kB / 499.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1133, allocations: 4 kB / 499.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1133, allocations: 8 kB / 499.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1133, allocations: 0 / 499.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1135, allocations: 23.98 kB / 499.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1135, allocations: 7.938 kB / 499.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/0.1136, allocations: 11.84 kB / 499.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1136, allocations: 64 / 499.7 MB, free: 13.42 MB / 382.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.0001656/0.1138, allocations: 150.1 kB / 499.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.1138, allocations: 23.8 kB / 499.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1139, allocations: 21.75 kB / 499.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1139, allocations: 0 / 499.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1139, allocations: 11.92 kB / 499.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1139, allocations: 4 kB / 499.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.1142, allocations: 233.5 kB / 0.4884 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1142, allocations: 0 / 0.4884 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1143, allocations: 19.98 kB / 0.4885 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1143, allocations: 4 kB / 0.4885 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1144, allocations: 4 kB / 0.4885 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1144, allocations: 0 / 0.4885 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1144, allocations: 3.938 kB / 0.4885 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.1147, allocations: 239.2 kB / 0.4887 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.1147, allocations: 104.8 kB / 0.4888 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1148, allocations: 0 / 0.4888 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.1149, allocations: 0 / 0.4888 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.1149, allocations: 11.94 kB / 0.4888 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.1149, allocations: 7.984 kB / 0.4888 GB, free: 12.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.1151, allocations: 189.9 kB / 0.489 GB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1151, allocations: 0 / 0.489 GB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1154, allocations: 47.92 kB / 0.489 GB, free: 12.27 MB / 382.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 8.647e-05/0.1155, allocations: 99.31 kB / 0.4891 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1157, allocations: 67.92 kB / 0.4892 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1157, allocations: 0 / 0.4892 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.1157, allocations: 39.92 kB / 0.4892 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1161, allocations: 53.52 kB / 0.4893 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.117, allocations: 0.5063 MB / 0.4898 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1173, allocations: 0.7323 MB / 0.4905 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.1174, allocations: 19.44 kB / 0.4905 GB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.304e-06/0.1174, allocations: 0 / 0.4905 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.005041/0.1224, allocations: 2.554 MB / 0.493 GB, free: 8.141 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile (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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)