Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_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.0009583/0.0009583, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.0009716/0.0009716, allocations: 169 kB / 23.82 MB, free: 0.7539 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.9706/0.9706, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.06408/0.06408, allocations: 18.14 MB / 278.9 MB, free: 11.33 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_component_models.Controlled_AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.415e-05, allocations: 5.406 kB / 357.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.004504/0.004528, allocations: 4.032 MB / 361.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.006164, allocations: 1.286 MB / 362.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.006325, allocations: 8 kB / 362.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.00645, allocations: 79.14 kB / 362.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.006812, allocations: 225.9 kB / 362.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.007269, allocations: 295.4 kB / 363.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008409/0.00811, allocations: 1.126 MB / 364.4 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.008565, allocations: 406 kB / 364.8 MB, free: 340 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.008942, allocations: 395.2 kB / 365.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005356/0.009477, allocations: 331.1 kB / 365.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.009584, allocations: 96 kB / 365.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.009703, allocations: 96 kB / 365.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.009827, allocations: 199.4 kB / 365.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.0101, allocations: 319.3 kB / 366.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.01068, allocations: 0.6229 MB / 366.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01068, allocations: 0 / 366.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01068, allocations: 0 / 366.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.01069, allocations: 4 kB / 366.8 MB, free: 14.3 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001421/0.01211, allocations: 1.023 MB / 367.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.01214, allocations: 8.031 kB / 367.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.01232, allocations: 144.5 kB / 368 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.01247, allocations: 190.3 kB / 368.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.01253, allocations: 66.31 kB / 368.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.804e-05/0.01262, allocations: 80.38 kB / 368.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.01344, allocations: 0.5607 MB / 368.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.01346, allocations: 192 / 368.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/0.01351, allocations: 39.94 kB / 368.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.01353, allocations: 20 kB / 368.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.01427, allocations: 455.6 kB / 369.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.0165, allocations: 1.516 MB / 370.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.01724, allocations: 482.4 kB / 371.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.01757, allocations: 214.6 kB / 371.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.01761, allocations: 17 kB / 371.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.01765, allocations: 54.33 kB / 371.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.204e-06/0.01765, allocations: 0 / 371.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=112): time 0.004774/0.02242, allocations: 2.294 MB / 373.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.02246, allocations: 64.41 kB / 374 MB, free: 6.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.02258, allocations: 215 kB / 374.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.02263, allocations: 45.7 kB / 374.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.02275, allocations: 288.2 kB / 374.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.02298, allocations: 400.5 kB / 374.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.02318, allocations: 160.3 kB / 375.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.02332, allocations: 0.5234 MB / 375.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.02365, allocations: 189.9 kB / 375.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.02404, allocations: 285.3 kB / 376 MB, free: 4.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.02519, allocations: 0.7492 MB / 376.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.02519, allocations: 4 kB / 376.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001473/0.02667, allocations: 0.8395 MB / 377.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.02668, allocations: 4 kB / 377.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.02669, allocations: 4 kB / 377.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008174/0.02751, allocations: 262.3 kB / 377.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/0.03072, allocations: 0.7648 MB / 378.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009192/0.03992, allocations: 18.63 MB / 397.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.04021, allocations: 27.98 kB / 397.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.04026, allocations: 32 kB / 397.4 MB, free: 14.13 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = 0.0 start = AHU.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real V.p:VARIABLE(min = 0.0 start = V.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 0.0 start = V.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.04053, allocations: 233.4 kB / 397.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.04065, allocations: 75.72 kB / 397.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.04239, allocations: 1.032 MB / 398.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.04239, allocations: 12 kB / 398.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.0424, allocations: 4 kB / 398.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.04241, allocations: 3.984 kB / 398.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.04497, allocations: 1.836 MB / 400.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.04498, allocations: 8 kB / 400.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003127/0.04811, allocations: 0.7103 MB / 401.3 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.04947, allocations: 414.3 kB / 401.7 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.04953, allocations: 31.94 kB / 401.7 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008495/0.05802, allocations: 18.78 MB / 420.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.05803, allocations: 19.92 kB / 420.5 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.0597, allocations: 1.543 MB / 422 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.05975, allocations: 43.72 kB / 422.1 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.05982, allocations: 35.92 kB / 422.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.06008, allocations: 32 kB / 422.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.06024, allocations: 116.6 kB / 422.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.06028, allocations: 43.98 kB / 422.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.06034, allocations: 159.9 kB / 422.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06034, allocations: 0 / 422.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008582/0.0612, allocations: 228 kB / 422.7 MB, free: 3.156 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.phi,V.Mv,V.p,V.T) * 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 (102): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001478/0.06135, allocations: 142.9 kB / 422.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.06449, allocations: 1.903 MB / 424.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.06449, allocations: 0 / 424.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1145/0.179, allocations: 1.634 MB / 426.4 MB, free: 74.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.1797, allocations: 161.6 kB / 426.5 MB, free: 74.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1818, allocations: 1.639 MB / 428.2 MB, free: 73.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.1819, allocations: 164.7 kB / 428.3 MB, free: 73.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002642/0.1822, allocations: 84.42 kB / 428.4 MB, free: 73.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1823, allocations: 51.59 kB / 428.4 MB, free: 73.35 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1823, allocations: 0 / 428.4 MB, free: 73.35 MB / 346.7 MB Notification: Performance of Templates: time 0.01211/0.1944, allocations: 11.7 MB / 440.1 MB, free: 69.95 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4295102232135832]