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.001193/0.001194, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001133/0.001133, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09302/0.09302, allocations: 22.33 MB / 313.5 MB, free: 8.855 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.17 kB / 382.2 MB, free: 40.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09243, allocations: 54.96 MB / 437.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003258/0.09574, allocations: 2.185 MB / 439.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003894/0.09615, allocations: 207.2 kB / 439.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.09627, allocations: 11.94 kB / 439.6 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.12e-05/0.09636, allocations: 27.72 kB / 439.6 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.09659, allocations: 95.17 kB / 439.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.09673, allocations: 39.94 kB / 439.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.097, allocations: 290.5 kB / 440 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.09728, allocations: 132.6 kB / 440.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.09745, allocations: 111.6 kB / 440.3 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.09762, allocations: 91.52 kB / 440.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.09766, allocations: 16 kB / 440.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.36e-05/0.0977, allocations: 12 kB / 440.4 MB, free: 9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.09774, allocations: 35.84 kB / 440.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.09787, allocations: 111.4 kB / 440.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.09811, allocations: 215.2 kB / 440.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.09812, allocations: 0 / 440.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09813, allocations: 0 / 440.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.09814, allocations: 0 / 440.7 MB, free: 8.645 MB / 318.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.0007796/0.09893, allocations: 0.51 MB / 441.3 MB, free: 8.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.09897, allocations: 12.02 kB / 441.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.09903, allocations: 24.66 kB / 441.3 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.09938, allocations: 272.5 kB / 441.6 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.0994, allocations: 12.31 kB / 441.6 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.09945, allocations: 16.38 kB / 441.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.09972, allocations: 175.3 kB / 441.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.09974, allocations: 4 kB / 441.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.09976, allocations: 4 kB / 441.8 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.09977, allocations: 4 kB / 441.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.09996, allocations: 91.89 kB / 441.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.1009, allocations: 0.8016 MB / 442.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1011, allocations: 82.53 kB / 442.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.1011, allocations: 44.84 kB / 442.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1012, allocations: 0 / 442.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1012, allocations: 30.56 kB / 442.8 MB, free: 6.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.1012, allocations: 0 / 442.8 MB, free: 6.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002986/0.1015, allocations: 125.3 kB / 442.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.1015, allocations: 51.41 kB / 443 MB, free: 6.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.1018, allocations: 271 kB / 443.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1018, allocations: 37.64 kB / 443.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.102, allocations: 143.9 kB / 443.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.102, allocations: 35.69 kB / 443.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.102, allocations: 21.72 kB / 443.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1022, allocations: 334.8 kB / 443.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.1022, allocations: 23.98 kB / 443.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.1023, allocations: 58.19 kB / 443.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.1028, allocations: 162.4 kB / 444.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1029, allocations: 8 kB / 444.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002118/0.1031, allocations: 137.3 kB / 444.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1031, allocations: 6.188 kB / 444.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1031, allocations: 0 / 444.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.1031, allocations: 4 kB / 444.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1033, allocations: 27.92 kB / 444.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1033, allocations: 3.938 kB / 444.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.1034, allocations: 19.69 kB / 444.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1034, allocations: 4 kB / 444.3 MB, free: 4.855 MB / 318.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.0001528/0.1036, allocations: 138 kB / 444.4 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.1036, allocations: 31.64 kB / 444.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.1037, allocations: 21.75 kB / 444.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.1037, allocations: 3.984 kB / 444.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1037, allocations: 7.875 kB / 444.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1037, allocations: 0 / 444.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.104, allocations: 241.6 kB / 444.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.104, allocations: 0 / 444.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1041, allocations: 19.98 kB / 444.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1042, allocations: 0 / 444.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1042, allocations: 4 kB / 444.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1042, allocations: 4 kB / 444.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1042, allocations: 3.938 kB / 444.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1045, allocations: 231.2 kB / 444.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.1046, allocations: 108.9 kB / 445.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.1046, allocations: 0 / 445.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1047, allocations: 3.938 kB / 445.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1048, allocations: 15.92 kB / 445.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1048, allocations: 0 / 445.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.105, allocations: 194 kB / 445.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.105, allocations: 0 / 445.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1052, allocations: 40 kB / 445.3 MB, free: 3.715 MB / 318.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.0001002/0.1053, allocations: 99.19 kB / 445.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1055, allocations: 71.92 kB / 445.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1055, allocations: 0 / 445.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.447e-05/0.1056, allocations: 31.98 kB / 445.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.106, allocations: 57.52 kB / 445.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.1068, allocations: 496.8 kB / 446 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.107, allocations: 0.7323 MB / 446.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.521e-05/0.1071, allocations: 30.27 kB / 446.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.1072, allocations: 19.44 kB / 446.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1072, allocations: 4 kB / 446.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of Templates: time 0.005254/0.1125, allocations: 2.246 MB / 449.1 MB, free: 15.91 MB / 334.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 -s gbode -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)