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.001274/0.001274, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001299/0.001299, allocations: 187 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09277/0.09277, allocations: 22.32 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.0977, allocations: 54.95 MB / 492.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.00335/0.1011, allocations: 2.195 MB / 494.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005826/0.1017, allocations: 199.3 kB / 495 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.1019, allocations: 11.94 kB / 495.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.662e-05/0.102, allocations: 31.7 kB / 495.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.1023, allocations: 103.2 kB / 495.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.1024, allocations: 39.89 kB / 495.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.1027, allocations: 278.6 kB / 495.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.103, allocations: 128.6 kB / 495.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1032, allocations: 135.5 kB / 495.8 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1033, allocations: 83.58 kB / 495.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.1034, allocations: 16 kB / 495.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.1034, allocations: 12 kB / 495.9 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.1035, allocations: 35.8 kB / 495.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1036, allocations: 115.5 kB / 496 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1038, allocations: 215.2 kB / 496.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1038, allocations: 0 / 496.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1038, allocations: 0 / 496.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1038, allocations: 7.938 kB / 496.2 MB, free: 1.18 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.0007534/0.1046, allocations: 0.5022 MB / 496.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1046, allocations: 8.031 kB / 496.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.1047, allocations: 32.64 kB / 496.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1051, allocations: 268.6 kB / 497 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1051, allocations: 8.375 kB / 497 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.1051, allocations: 16.31 kB / 497.1 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1054, allocations: 175.4 kB / 497.2 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1054, allocations: 4 kB / 497.2 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1054, allocations: 4 kB / 497.2 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1054, allocations: 7.938 kB / 497.3 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.1057, allocations: 91.97 kB / 497.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.1064, allocations: 0.8092 MB / 498.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1066, allocations: 78.53 kB / 498.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.04e-05/0.1067, allocations: 48.78 kB / 498.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.1067, allocations: 0 / 498.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1068, allocations: 34.56 kB / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.1068, allocations: 0 / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002853/0.1071, allocations: 125.5 kB / 498.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1071, allocations: 51.41 kB / 498.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.1073, allocations: 271 kB / 498.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1074, allocations: 29.7 kB / 498.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.1075, allocations: 139.9 kB / 498.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1075, allocations: 35.55 kB / 498.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.1076, allocations: 25.72 kB / 499 MB, free: 14.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1077, allocations: 334.8 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.1078, allocations: 31.92 kB / 499.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.1078, allocations: 46.56 kB / 499.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.1083, allocations: 166.3 kB / 499.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1084, allocations: 0 / 499.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002131/0.1086, allocations: 137.3 kB / 499.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1086, allocations: 4 kB / 499.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1086, allocations: 320 / 499.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1086, allocations: 8.062 kB / 499.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.1088, allocations: 23.98 kB / 499.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1088, allocations: 3.938 kB / 499.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.906e-05/0.1089, allocations: 11.84 kB / 499.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1089, allocations: 11.92 kB / 499.7 MB, free: 13.4 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.0001556/0.1091, allocations: 146.1 kB / 499.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.1092, allocations: 23.8 kB / 499.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.1092, allocations: 21.75 kB / 499.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1092, allocations: 0 / 499.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1092, allocations: 7.922 kB / 499.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1092, allocations: 0 / 499.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.1095, allocations: 245.5 kB / 0.4884 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1095, allocations: 3.938 kB / 0.4884 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1096, allocations: 19.98 kB / 0.4885 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1097, allocations: 0 / 0.4885 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1097, allocations: 8 kB / 0.4885 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1097, allocations: 4 kB / 0.4885 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1097, allocations: 3.938 kB / 0.4885 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.11, allocations: 227.2 kB / 0.4887 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.1101, allocations: 104.8 kB / 0.4888 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1101, allocations: 0 / 0.4888 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1102, allocations: 0 / 0.4888 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1102, allocations: 11.92 kB / 0.4888 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1103, allocations: 8.062 kB / 0.4888 GB, free: 12.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.1104, allocations: 194 kB / 0.489 GB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1104, allocations: 0 / 0.489 GB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1107, allocations: 43.94 kB / 0.489 GB, free: 12.26 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.927e-05/0.1108, allocations: 91.25 kB / 0.4891 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.111, allocations: 71.92 kB / 0.4892 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.111, allocations: 0 / 0.4892 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.1111, allocations: 40.05 kB / 0.4892 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1115, allocations: 53.08 kB / 0.4893 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.1124, allocations: 0.5146 MB / 0.4898 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1127, allocations: 0.7323 MB / 0.4905 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.1127, allocations: 19.44 kB / 0.4905 GB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1127, allocations: 3.938 kB / 0.4905 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004654/0.1174, allocations: 2.519 MB / 0.493 GB, free: 8.152 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)