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.0007629/0.0007629, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.0007639/0.0007639, allocations: 165.2 kB / 23.98 MB, free: 0.5859 MB / 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.8087/0.8087, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.05897/0.05897, allocations: 18.13 MB / 278.8 MB, free: 11.54 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.232e-06/1.232e-06, allocations: 0 / 416.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.125e-05, allocations: 6.219 kB / 416.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.001823/0.001844, allocations: 2.058 MB / 418.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002955/0.00214, allocations: 207 kB / 418.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.00223, allocations: 12.19 kB / 418.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.002284, allocations: 31.72 kB / 418.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.002434, allocations: 106.3 kB / 418.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.002541, allocations: 48.47 kB / 418.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.002707, allocations: 305.2 kB / 419.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.002882, allocations: 109.4 kB / 419.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.00302, allocations: 118.9 kB / 419.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.003127, allocations: 71.53 kB / 419.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.003155, allocations: 13.19 kB / 419.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.003177, allocations: 18.28 kB / 419.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.003202, allocations: 29.55 kB / 419.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.003259, allocations: 78.12 kB / 419.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.003458, allocations: 214.7 kB / 419.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.00346, allocations: 0 / 419.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003461, allocations: 1.312 kB / 419.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003465, allocations: 0 / 419.7 MB, free: 10.38 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.0004229/0.003888, allocations: 447.5 kB / 420.1 MB, free: 10 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.003921, allocations: 10.67 kB / 420.1 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.003958, allocations: 23.83 kB / 420.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.004163, allocations: 205 kB / 420.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.004175, allocations: 9.969 kB / 420.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.004199, allocations: 13.53 kB / 420.4 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.004373, allocations: 164.2 kB / 420.6 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004381, allocations: 192 / 420.6 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.004393, allocations: 11.88 kB / 420.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004399, allocations: 6.812 kB / 420.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.004522, allocations: 98.2 kB / 420.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.004951, allocations: 0.6952 MB / 421.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.005062, allocations: 74.69 kB / 421.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.005106, allocations: 36.97 kB / 421.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.005113, allocations: 1.094 kB / 421.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.005125, allocations: 32.5 kB / 421.5 MB, free: 8.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.005126, allocations: 5.031 kB / 421.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001871/0.005313, allocations: 124.9 kB / 421.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.005334, allocations: 53.91 kB / 421.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.005457, allocations: 221.3 kB / 421.9 MB, free: 8.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.005463, allocations: 25.7 kB / 421.9 MB, free: 8.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.005514, allocations: 161.2 kB / 422.1 MB, free: 8.465 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.005528, allocations: 33.5 kB / 422.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.005558, allocations: 31.56 kB / 422.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.048e-05/0.005589, allocations: 334.4 kB / 422.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.005626, allocations: 31.36 kB / 422.5 MB, free: 8.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.005667, allocations: 55.05 kB / 422.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.005967, allocations: 152.9 kB / 422.7 MB, free: 7.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.005969, allocations: 1.219 kB / 422.7 MB, free: 7.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001239/0.006093, allocations: 137 kB / 422.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.006104, allocations: 5.234 kB / 422.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006108, allocations: 1.156 kB / 422.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.006119, allocations: 5.047 kB / 422.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.006213, allocations: 25.5 kB / 422.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.006218, allocations: 1.188 kB / 422.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.00626, allocations: 10.94 kB / 422.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.006266, allocations: 3.219 kB / 422.9 MB, free: 7.871 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 9.264e-05/0.006359, allocations: 144.3 kB / 423 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.00638, allocations: 20.48 kB / 423.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.006405, allocations: 25.36 kB / 423.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006407, allocations: 1.25 kB / 423.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.006411, allocations: 1.094 kB / 423.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.006414, allocations: 0.7969 kB / 423.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.00653, allocations: 174.1 kB / 423.3 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006531, allocations: 0.5625 kB / 423.3 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.006607, allocations: 23.31 kB / 423.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006609, allocations: 2.219 kB / 423.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.006617, allocations: 0 / 423.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.006619, allocations: 2.469 kB / 423.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00662, allocations: 0 / 423.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.006781, allocations: 238 kB / 423.5 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.006798, allocations: 14.02 kB / 423.5 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.006814, allocations: 1.922 kB / 423.5 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.006862, allocations: 8.656 kB / 423.5 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.00688, allocations: 5.141 kB / 423.5 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006884, allocations: 1.922 kB / 423.5 MB, free: 7.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.236e-05/0.006956, allocations: 161.1 kB / 423.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006956, allocations: 0 / 423.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.007121, allocations: 50.42 kB / 423.8 MB, free: 7.234 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 5.483e-05/0.007176, allocations: 106.7 kB / 423.9 MB, free: 7.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.007302, allocations: 73.39 kB / 423.9 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007303, allocations: 1.094 kB / 423.9 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.007337, allocations: 32.98 kB / 424 MB, free: 7.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.007563, allocations: 55.61 kB / 424 MB, free: 7.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.008043, allocations: 446.3 kB / 424.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.008109, allocations: 123.9 kB / 424.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.008143, allocations: 19.38 kB / 424.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.008143, allocations: 0 / 424.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of Templates: time 0.003243/0.01139, allocations: 2.477 MB / 427.1 MB, free: 6.473 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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.087477574124932] Failed to read output from testmodel.py, exit status != 0: 0.016143123619258404 0.023323788 0.018232036 Calling exit ...