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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008007/0.0008007, allocations: 75.59 kB / 20.8 MB, free: 3.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008744/0.0008744, allocations: 170 kB / 24.1 MB, free: 424 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8663/0.8663, allocations: 177.1 MB / 204.4 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.05898/0.05898, allocations: 18.12 MB / 279 MB, free: 11.48 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,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=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0.6562 kB / 416.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.643e-05, allocations: 8.422 kB / 416.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002128/0.002154, allocations: 2.069 MB / 418.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004721/0.002626, allocations: 199 kB / 418.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.00275, allocations: 14.75 kB / 418.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.843e-05/0.002808, allocations: 29.23 kB / 418.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.00299, allocations: 109.2 kB / 419 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.003124, allocations: 36.48 kB / 419 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.003353, allocations: 305.2 kB / 419.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.003562, allocations: 118.8 kB / 419.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.003763, allocations: 120.9 kB / 419.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.003888, allocations: 71.92 kB / 419.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.003917, allocations: 12.81 kB / 419.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.09e-05/0.003948, allocations: 14.03 kB / 419.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.003974, allocations: 34.59 kB / 419.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.004042, allocations: 74.19 kB / 419.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.004265, allocations: 218.1 kB / 419.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.004268, allocations: 0.75 kB / 419.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004269, allocations: 1.156 kB / 419.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.004277, allocations: 0 / 419.9 MB, free: 10.39 MB / 330.7 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.000479/0.004756, allocations: 442.8 kB / 420.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.004792, allocations: 10.42 kB / 420.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.004835, allocations: 24.39 kB / 420.4 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.005053, allocations: 218.3 kB / 420.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.005066, allocations: 9.219 kB / 420.6 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.005093, allocations: 12.81 kB / 420.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.005282, allocations: 170.9 kB / 420.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.005291, allocations: 0.6875 kB / 420.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.005304, allocations: 5.688 kB / 420.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.00531, allocations: 7.562 kB / 420.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.005439, allocations: 98.23 kB / 420.9 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.005941, allocations: 0.7023 MB / 421.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.006061, allocations: 71.53 kB / 421.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.006111, allocations: 35.72 kB / 421.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.00612, allocations: 2.266 kB / 421.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.006135, allocations: 32.41 kB / 421.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.006137, allocations: 0 / 421.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002082/0.006345, allocations: 125.9 kB / 421.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.006364, allocations: 56.5 kB / 421.9 MB, free: 8.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.006508, allocations: 217.6 kB / 422.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.006517, allocations: 26.41 kB / 422.2 MB, free: 8.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.006575, allocations: 160.6 kB / 422.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.006593, allocations: 38.42 kB / 422.4 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.00663, allocations: 32.5 kB / 422.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.662e-05/0.006666, allocations: 332.3 kB / 422.7 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.006705, allocations: 28.91 kB / 422.8 MB, free: 8.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.006751, allocations: 50.22 kB / 422.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.007087, allocations: 155.3 kB / 423 MB, free: 7.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.00709, allocations: 0 / 423 MB, free: 7.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000142/0.007232, allocations: 134.8 kB / 423.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.007245, allocations: 5.5 kB / 423.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.007251, allocations: 5.641 kB / 423.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.007265, allocations: 1.188 kB / 423.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.007373, allocations: 28.34 kB / 423.1 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.00738, allocations: 1.656 kB / 423.1 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.007427, allocations: 12.27 kB / 423.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.007433, allocations: 6.438 kB / 423.2 MB, free: 7.875 MB / 330.7 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.0001067/0.00754, allocations: 138.5 kB / 423.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.007564, allocations: 21.22 kB / 423.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.007589, allocations: 21.06 kB / 423.3 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007592, allocations: 1.547 kB / 423.3 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007596, allocations: 0 / 423.3 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007599, allocations: 1.641 kB / 423.3 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.007732, allocations: 174.5 kB / 423.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007734, allocations: 0.5625 kB / 423.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.007822, allocations: 23.2 kB / 423.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.007825, allocations: 3.984 kB / 423.5 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.007833, allocations: 1.438 kB / 423.5 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.007834, allocations: 4 kB / 423.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007835, allocations: 1.906 kB / 423.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.008023, allocations: 237.6 kB / 423.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.008042, allocations: 18.02 kB / 423.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.00806, allocations: 1.938 kB / 423.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.00811, allocations: 0.6562 kB / 423.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.008132, allocations: 8.75 kB / 423.8 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.008136, allocations: 2.406 kB / 423.8 MB, free: 7.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.366e-05/0.00822, allocations: 157.1 kB / 424 MB, free: 7.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00822, allocations: 3.938 kB / 424 MB, free: 7.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.008395, allocations: 47.48 kB / 424 MB, free: 7.242 MB / 330.7 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 6.278e-05/0.008458, allocations: 94.08 kB / 424.1 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.00859, allocations: 74.69 kB / 424.2 MB, free: 7.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008592, allocations: 0 / 424.2 MB, free: 7.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.008626, allocations: 27.62 kB / 424.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.008871, allocations: 57.03 kB / 424.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.009416, allocations: 428.3 kB / 424.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.133e-05/0.009488, allocations: 123.9 kB / 424.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.913e-05/0.009567, allocations: 26.25 kB / 424.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.009598, allocations: 18.44 kB / 424.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009598, allocations: 0 / 424.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of Templates: time 0.004321/0.01392, allocations: 2.202 MB / 427 MB, free: 6.414 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile [Timeout 660] (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 -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.608922654762864] Failed to read output from testmodel.py, exit status != 0: 0.019390149042010307 0.027251051000000002 0.021268615 Calling exit ...