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.001661/0.001661, allocations: 75.64 kB / 19.96 MB, free: 1.746 MB / 14.72 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.001569/0.001569, allocations: 171.6 kB / 23.24 MB, free: 4.855 MB / 14.72 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 1.463/1.463, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1034/0.1034, allocations: 18.13 MB / 278.1 MB, free: 15.05 MB / 270.1 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 4.048e-06/4.048e-06, allocations: 4 kB / 415.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/4.034e-05, allocations: 6.219 kB / 415.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003926/0.003967, allocations: 2.067 MB / 417.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007464/0.004713, allocations: 211.1 kB / 417.8 MB, free: 292 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.004984, allocations: 11.94 kB / 417.8 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.005111, allocations: 27.66 kB / 417.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.00552, allocations: 111.1 kB / 418 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.005727, allocations: 39.88 kB / 418 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004892/0.006216, allocations: 302.3 kB / 418.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.006572, allocations: 108.9 kB / 418.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.006927, allocations: 115.6 kB / 418.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.007279, allocations: 71.81 kB / 418.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.007324, allocations: 12 kB / 418.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.678e-05/0.007381, allocations: 12 kB / 418.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.007435, allocations: 43.78 kB / 418.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.007557, allocations: 67.84 kB / 418.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.00789, allocations: 211.3 kB / 418.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.007897, allocations: 7.922 kB / 419 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007898, allocations: 0 / 419 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.007909, allocations: 0 / 419 MB, free: 15.16 MB / 350.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.000913/0.008822, allocations: 449 kB / 419.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.008873, allocations: 16.86 kB / 419.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/0.008957, allocations: 24.8 kB / 419.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.009348, allocations: 202.4 kB / 419.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.009369, allocations: 12.36 kB / 419.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.009406, allocations: 12.38 kB / 419.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.009752, allocations: 170.8 kB / 419.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.009764, allocations: 192 / 419.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.009784, allocations: 4.375 kB / 419.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.009795, allocations: 7.938 kB / 419.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.01002, allocations: 91.89 kB / 419.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.01104, allocations: 0.6961 MB / 420.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.01124, allocations: 78.53 kB / 420.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.01132, allocations: 36.84 kB / 420.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.01133, allocations: 7.938 kB / 420.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.01137, allocations: 34.56 kB / 420.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.01137, allocations: 0 / 420.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000348/0.01172, allocations: 121.5 kB / 420.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.01178, allocations: 51.41 kB / 420.9 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.01203, allocations: 217.8 kB / 421.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01205, allocations: 25.7 kB / 421.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.01218, allocations: 160.1 kB / 421.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.01222, allocations: 31.89 kB / 421.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.01229, allocations: 33.66 kB / 421.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.01245, allocations: 330.8 kB / 421.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.01252, allocations: 31.98 kB / 421.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.0126, allocations: 50.5 kB / 421.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.01318, allocations: 154.4 kB / 422 MB, free: 11.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01319, allocations: 4 kB / 422 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000263/0.01345, allocations: 133.5 kB / 422.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01347, allocations: 4 kB / 422.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01347, allocations: 0 / 422.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01349, allocations: 4 kB / 422.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.01367, allocations: 27.98 kB / 422.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.01368, allocations: 3.938 kB / 422.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.01378, allocations: 11.89 kB / 422.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01379, allocations: 4 kB / 422.1 MB, free: 11.74 MB / 350.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.0001959/0.01399, allocations: 145.8 kB / 422.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.01404, allocations: 23.86 kB / 422.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.01409, allocations: 21.77 kB / 422.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01409, allocations: 0 / 422.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.01409, allocations: 0 / 422.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.0141, allocations: 0 / 422.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.01435, allocations: 173.2 kB / 422.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01435, allocations: 4 kB / 422.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.01451, allocations: 23.98 kB / 422.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01452, allocations: 0 / 422.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01453, allocations: 0 / 422.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01453, allocations: 3.938 kB / 422.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01453, allocations: 0 / 422.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.01489, allocations: 239.2 kB / 422.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.01493, allocations: 19.88 kB / 422.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.01496, allocations: 0 / 422.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01506, allocations: 3.984 kB / 422.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.01509, allocations: 4.062 kB / 422.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.0151, allocations: 4 kB / 422.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.01526, allocations: 165.2 kB / 423 MB, free: 10.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01526, allocations: 0 / 423 MB, free: 10.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.01554, allocations: 43.95 kB / 423 MB, free: 10.83 MB / 350.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.000128/0.01567, allocations: 95.72 kB / 423.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.01588, allocations: 72.12 kB / 423.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01589, allocations: 0 / 423.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/0.01595, allocations: 27.94 kB / 423.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.01633, allocations: 63.56 kB / 423.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.01728, allocations: 435.2 kB / 423.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.01741, allocations: 121.6 kB / 423.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.01752, allocations: 25.94 kB / 423.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.01757, allocations: 20.5 kB / 423.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.01757, allocations: 0 / 423.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Templates: time 0.006806/0.02438, allocations: 2.188 MB / 426 MB, free: 7.812 MB / 350.1 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.456911593675613] Failed to read output from testmodel.py, exit status != 0: 0.03492002189159393 0.051231081000000005 0.039897864000000005 Calling exit ...