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.007071/0.007071, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001341/0.001341, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2294/0.2294, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 65.06 kB / 437.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09737, allocations: 54.96 MB / 492 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002748/0.1002, allocations: 2.196 MB / 494.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003858/0.1006, allocations: 207.2 kB / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1007, allocations: 11.94 kB / 494.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.509e-05/0.1008, allocations: 31.72 kB / 494.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.101, allocations: 103.2 kB / 494.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.1011, allocations: 31.95 kB / 494.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1014, allocations: 290.5 kB / 494.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1016, allocations: 132.6 kB / 495 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1018, allocations: 131.5 kB / 495.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.102, allocations: 83.58 kB / 495.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.102, allocations: 16 kB / 495.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.578e-05/0.102, allocations: 12 kB / 495.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.1021, allocations: 35.84 kB / 495.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.1022, allocations: 107.4 kB / 495.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1024, allocations: 215.2 kB / 495.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1024, allocations: 4 kB / 495.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1024, allocations: 0 / 495.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1024, allocations: 0 / 495.6 MB, free: 13.63 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.0008934/0.1033, allocations: 0.5062 MB / 496.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1034, allocations: 8.031 kB / 496.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.1034, allocations: 24.66 kB / 496.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.1039, allocations: 280.5 kB / 496.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1039, allocations: 8.375 kB / 496.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.1039, allocations: 12.38 kB / 496.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.1042, allocations: 175.3 kB / 496.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1042, allocations: 0 / 496.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1042, allocations: 8 kB / 496.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1042, allocations: 4 kB / 496.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.1044, allocations: 95.89 kB / 496.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.1053, allocations: 0.8093 MB / 497.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1054, allocations: 74.55 kB / 497.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.1055, allocations: 40.78 kB / 497.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1055, allocations: 4 kB / 497.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1056, allocations: 38.5 kB / 497.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1056, allocations: 0 / 497.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002799/0.1059, allocations: 129.5 kB / 497.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.1059, allocations: 51.41 kB / 497.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1062, allocations: 271 kB / 498.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1062, allocations: 25.7 kB / 498.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1063, allocations: 147.9 kB / 498.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.1063, allocations: 27.55 kB / 498.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.1064, allocations: 33.7 kB / 498.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1065, allocations: 334.8 kB / 498.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/0.1066, allocations: 23.98 kB / 498.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.1066, allocations: 54.5 kB / 498.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.1072, allocations: 154.4 kB / 498.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1072, allocations: 0 / 498.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001995/0.1074, allocations: 137.3 kB / 499 MB, free: 9.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1074, allocations: 8 kB / 499 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1074, allocations: 0 / 499 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1074, allocations: 0 / 499 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1076, allocations: 31.98 kB / 499.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1076, allocations: 8 kB / 499.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.1077, allocations: 15.84 kB / 499.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.1078, allocations: 4 kB / 499.1 MB, free: 9.852 MB / 366.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.0001412/0.1079, allocations: 140.7 kB / 499.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.108, allocations: 23.72 kB / 499.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.108, allocations: 29.73 kB / 499.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.108, allocations: 0 / 499.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.108, allocations: 3.938 kB / 499.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.108, allocations: 0 / 499.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.1083, allocations: 253.4 kB / 499.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1083, allocations: 0 / 499.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1085, allocations: 19.98 kB / 499.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1085, allocations: 3.938 kB / 499.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1085, allocations: 0 / 499.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1085, allocations: 0 / 499.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1085, allocations: 3.938 kB / 499.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1088, allocations: 243.2 kB / 499.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.1088, allocations: 96.86 kB / 499.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1089, allocations: 4 kB / 499.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.109, allocations: 3.938 kB / 499.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.109, allocations: 7.922 kB / 499.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.109, allocations: 4 kB / 499.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1092, allocations: 198 kB / 0.4884 GB, free: 8.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1092, allocations: 4.062 kB / 0.4884 GB, free: 8.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1094, allocations: 32 kB / 0.4884 GB, free: 8.715 MB / 366.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 0.0001334/0.1096, allocations: 99.25 kB / 0.4885 GB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1098, allocations: 75.91 kB / 0.4886 GB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1098, allocations: 0 / 0.4886 GB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.1098, allocations: 27.94 kB / 0.4886 GB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1102, allocations: 60.33 kB / 0.4887 GB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007937/0.111, allocations: 0.489 MB / 0.4892 GB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1113, allocations: 0.7323 MB / 0.4899 GB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.1114, allocations: 34.27 kB / 0.4899 GB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.1114, allocations: 19.44 kB / 0.4899 GB, free: 7.113 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1114, allocations: 0 / 0.4899 GB, free: 7.113 MB / 366.1 MB Notification: Performance of Templates: time 0.004949/0.1164, allocations: 2.264 MB / 0.4921 GB, free: 4.887 MB / 366.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)