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.0007739/0.0007739, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001846, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00077/0.00077, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001775, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9469/0.9469, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07618/1.023, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.06365/0.06365, allocations: 18.13 MB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009737/0.07339, allocations: 6.777 MB / 268.9 MB, free: 6.363 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.513e-06/1.513e-06, allocations: 0 / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.704e-05, allocations: 5.547 kB / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.003285/0.003302, allocations: 4.055 MB / 274.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1148/0.1181, allocations: 1.32 MB / 275.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.1184, allocations: 4 kB / 275.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1185, allocations: 78.16 kB / 275.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.1189, allocations: 231.2 kB / 276 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.1194, allocations: 297.4 kB / 276.3 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.1202, allocations: 1.118 MB / 277.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.1207, allocations: 410 kB / 277.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.1214, allocations: 0.621 MB / 278.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.1218, allocations: 334.1 kB / 278.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.122, allocations: 96.25 kB / 278.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1221, allocations: 94.59 kB / 278.9 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1222, allocations: 139.4 kB / 279.1 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.1225, allocations: 256.7 kB / 279.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.1231, allocations: 0.5597 MB / 279.9 MB, free: 1.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.1231, allocations: 0 / 279.9 MB, free: 1.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1231, allocations: 1.875 kB / 279.9 MB, free: 1.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.1232, allocations: 0 / 279.9 MB, free: 1.059 MB / 266.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.001496/0.1247, allocations: 1.067 MB / 281 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.1247, allocations: 14.14 kB / 281 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1249, allocations: 119.4 kB / 281.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.125, allocations: 186.7 kB / 281.3 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.1251, allocations: 65.17 kB / 281.3 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/0.1251, allocations: 78.12 kB / 281.4 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.1258, allocations: 0.5196 MB / 281.9 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.1258, allocations: 4.188 kB / 281.9 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.1259, allocations: 34.66 kB / 282 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1259, allocations: 19.56 kB / 282 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1264, allocations: 304.5 kB / 282.3 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.1284, allocations: 1.171 MB / 283.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.1289, allocations: 374.3 kB / 283.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1291, allocations: 157.2 kB / 284 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.1291, allocations: 18.62 kB / 284 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1292, allocations: 45.2 kB / 284 MB, free: 15.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=102): time 2.896e-06/0.1292, allocations: 0.5625 kB / 284 MB, free: 15.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=112): time 0.003936/0.1331, allocations: 1.975 MB / 286 MB, free: 15.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.1332, allocations: 65.23 kB / 286.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1333, allocations: 160.6 kB / 286.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.1333, allocations: 41.3 kB / 286.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1334, allocations: 242.2 kB / 286.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.1336, allocations: 407 kB / 286.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1338, allocations: 145.1 kB / 287 MB, free: 14.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.134, allocations: 362.7 kB / 287.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.1341, allocations: 109.5 kB / 287.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.1344, allocations: 206.5 kB / 287.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.135, allocations: 0.5715 MB / 288.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.135, allocations: 0 / 288.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0009223/0.136, allocations: 0.5888 MB / 288.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.136, allocations: 6.094 kB / 288.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.136, allocations: 2.656 kB / 288.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006553/0.1366, allocations: 238.1 kB / 289.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/0.1397, allocations: 0.835 MB / 289.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/0.1467, allocations: 12.58 MB / 302.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.147, allocations: 24 kB / 302.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.147, allocations: 27.98 kB / 302.6 MB, free: 0.5352 MB / 282.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.0002256/0.1472, allocations: 179 kB / 302.7 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.1473, allocations: 67.89 kB / 302.8 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.1486, allocations: 0.7988 MB / 303.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1486, allocations: 11.94 kB / 303.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1486, allocations: 5.5 kB / 303.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1486, allocations: 3.984 kB / 303.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.1505, allocations: 1.381 MB / 305 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.1505, allocations: 8 kB / 305 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/0.1532, allocations: 0.7568 MB / 305.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.1533, allocations: 57.55 kB / 305.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.1544, allocations: 386.4 kB / 306.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.1545, allocations: 33.36 kB / 306.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007084/0.1616, allocations: 12.7 MB / 318.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/0.1616, allocations: 7.938 kB / 319 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.1631, allocations: 1.137 MB / 320.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.1631, allocations: 32 kB / 320.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.1634, allocations: 35.92 kB / 320.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.1636, allocations: 116.6 kB / 320.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.1637, allocations: 31.98 kB / 320.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.785e-05/0.1637, allocations: 34.39 kB / 320.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1637, allocations: 0 / 320.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007511/0.1645, allocations: 235.9 kB / 320.6 MB, free: 13.61 MB / 314.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.0001388/0.1646, allocations: 129.8 kB / 320.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.1678, allocations: 1.592 MB / 322.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/0.1679, allocations: 13.28 kB / 322.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.17, allocations: 1.399 MB / 323.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/0.1708, allocations: 216.1 kB / 323.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007859/0.1786, allocations: 1.529 MB / 325.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.1787, allocations: 173.3 kB / 325.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000297/0.179, allocations: 88.22 kB / 325.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.1793, allocations: 193.2 kB / 325.9 MB, free: 8.102 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1793, allocations: 0 / 325.9 MB, free: 8.102 MB / 314.7 MB Notification: Performance of Templates: time 0.01383/0.1932, allocations: 12.75 MB / 338.6 MB, free: 11.62 MB / 330.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.1511236168444157]