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.001112/0.001112, allocations: 119.8 kB / 16.42 MB, free: 6.504 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.001148/0.001148, allocations: 190.6 kB / 17.35 MB, free: 5.758 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09518/0.09518, allocations: 22.32 MB / 313.5 MB, free: 8.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.89 kB / 437.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08871, allocations: 54.96 MB / 492.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002961/0.0917, allocations: 2.185 MB / 494.9 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004766/0.0922, allocations: 203.3 kB / 495.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.09235, allocations: 11.94 kB / 495.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.948e-05/0.09244, allocations: 27.7 kB / 495.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.0927, allocations: 107.2 kB / 495.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.09285, allocations: 35.95 kB / 495.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.09314, allocations: 286.5 kB / 495.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.09341, allocations: 132.6 kB / 495.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.09363, allocations: 131.5 kB / 495.8 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.09379, allocations: 95.58 kB / 495.9 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.09383, allocations: 12 kB / 495.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.117e-05/0.09387, allocations: 16 kB / 495.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.09391, allocations: 31.8 kB / 495.9 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.09403, allocations: 111.5 kB / 496 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.09425, allocations: 215.2 kB / 496.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.09426, allocations: 0 / 496.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09427, allocations: 0 / 496.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.09428, allocations: 0 / 496.2 MB, free: 1.207 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.0006576/0.09494, allocations: 0.5023 MB / 496.7 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.09499, allocations: 15.97 kB / 496.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.09504, allocations: 24.66 kB / 496.8 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.09537, allocations: 272.5 kB / 497 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.0954, allocations: 12.38 kB / 497.1 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.09544, allocations: 20.36 kB / 497.1 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.0957, allocations: 171.3 kB / 497.2 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.09572, allocations: 0 / 497.2 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.09574, allocations: 4 kB / 497.3 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.09575, allocations: 4 kB / 497.3 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.09595, allocations: 91.97 kB / 497.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.09676, allocations: 0.8092 MB / 498.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.09693, allocations: 86.55 kB / 498.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.09701, allocations: 32.86 kB / 498.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.09702, allocations: 3.938 kB / 498.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.09706, allocations: 42.55 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.09707, allocations: 0 / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002749/0.09735, allocations: 121.5 kB / 498.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.09738, allocations: 55.41 kB / 498.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.09764, allocations: 271 kB / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.09767, allocations: 33.7 kB / 498.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.09776, allocations: 139.9 kB / 498.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.09779, allocations: 31.55 kB / 499 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.09784, allocations: 25.72 kB / 499 MB, free: 14.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.09795, allocations: 330.8 kB / 499.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.09802, allocations: 31.98 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.09809, allocations: 50.5 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.09861, allocations: 170.3 kB / 499.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.09863, allocations: 4 kB / 499.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002163/0.09885, allocations: 137.3 kB / 499.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.09887, allocations: 4 kB / 499.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.09888, allocations: 4 kB / 499.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.0989, allocations: 3.984 kB / 499.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.09907, allocations: 23.98 kB / 499.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.09908, allocations: 4 kB / 499.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.09919, allocations: 15.78 kB / 499.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.0992, allocations: 4 kB / 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.0001483/0.09936, allocations: 142.2 kB / 499.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.09941, allocations: 23.75 kB / 499.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.09946, allocations: 25.73 kB / 499.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.09946, allocations: 0 / 499.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.09947, allocations: 0 / 499.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.09954, allocations: 104.8 kB / 0.4883 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.09958, allocations: 4 kB / 0.4883 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.09969, allocations: 4 kB / 0.4883 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.09973, allocations: 7.984 kB / 0.4883 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003491/0.1001, allocations: 180.8 kB / 0.4885 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002881/0.1004, allocations: 318.4 kB / 0.4888 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.7e-05/0.1005, allocations: 36 kB / 0.4888 GB, free: 12.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.1006, allocations: 190 kB / 0.489 GB, free: 12.36 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1006, allocations: 4 kB / 0.489 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003957/0.101, allocations: 122.3 kB / 0.4891 GB, free: 12.22 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009229/0.102, allocations: 0.9719 MB / 0.4901 GB, free: 11.19 MB / 382.1 MB Notification: Performance of Templates: time 0.005165/0.1071, allocations: 2.379 MB / 0.4924 GB, free: 8.844 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)