Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.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.0009893/0.0009893, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002195, allocations: 440 kB / 10.41 MB, free: 284 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.0006905/0.0006905, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002104, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.043/1.043, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.146, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.06354/0.06354, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01199/0.07553, allocations: 6.785 MB / 269.1 MB, free: 6.23 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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 270.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.737e-05, allocations: 2.312 kB / 270.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.003822/0.00385, allocations: 4.27 MB / 274.8 MB, free: 472 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1348/0.1387, allocations: 1.378 MB / 276.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.139, allocations: 4.969 kB / 276.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.1392, allocations: 88.38 kB / 276.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.1397, allocations: 250.8 kB / 276.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.1404, allocations: 307.2 kB / 276.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.1417, allocations: 1.19 MB / 278 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008225/0.1425, allocations: 0.5332 MB / 278.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.1436, allocations: 0.7226 MB / 279.2 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007848/0.1444, allocations: 426.2 kB / 279.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.1447, allocations: 109.9 kB / 279.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.1449, allocations: 116.8 kB / 279.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.145, allocations: 161.3 kB / 280 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.1454, allocations: 291.9 kB / 280.3 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.1461, allocations: 0.6565 MB / 281 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.1461, allocations: 0 / 281 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1461, allocations: 1.094 kB / 281 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.1462, allocations: 0.8438 kB / 281 MB, free: 0.6797 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001691/0.1478, allocations: 1.149 MB / 282.1 MB, free: 144 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1479, allocations: 10.03 kB / 282.1 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.1481, allocations: 128.7 kB / 282.3 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1483, allocations: 186.1 kB / 282.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.1483, allocations: 70.84 kB / 282.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.1484, allocations: 87.75 kB / 282.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.1494, allocations: 0.6064 MB / 283.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1494, allocations: 0 / 283.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.1494, allocations: 34.75 kB / 283.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.1494, allocations: 22 kB / 283.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005234/0.15, allocations: 355.3 kB / 283.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.1522, allocations: 1.367 MB / 285 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.1532, allocations: 0.5992 MB / 285.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1534, allocations: 192.8 kB / 285.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.165e-05/0.1535, allocations: 36.34 kB / 285.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1535, allocations: 45.91 kB / 285.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003512/0.1539, allocations: 160.4 kB / 286 MB, free: 14.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=113): time 3.226e-06/0.1539, allocations: 0.9688 kB / 286 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=124): time 0.003769/0.1576, allocations: 2.223 MB / 288.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1577, allocations: 71.41 kB / 288.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1578, allocations: 169.4 kB / 288.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.1578, allocations: 49.3 kB / 288.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.158, allocations: 247.1 kB / 288.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.1583, allocations: 442.3 kB / 289.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.1584, allocations: 172.7 kB / 289.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1585, allocations: 368 kB / 289.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.1587, allocations: 134 kB / 289.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.1589, allocations: 241.1 kB / 290.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.1597, allocations: 0.6972 MB / 290.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1597, allocations: 1.25 kB / 290.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0009347/0.1606, allocations: 0.6654 MB / 291.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1607, allocations: 7.984 kB / 291.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1607, allocations: 0 / 291.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.1612, allocations: 238.8 kB / 291.7 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.1639, allocations: 0.9095 MB / 292.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/0.1702, allocations: 12.59 MB / 305.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.1707, allocations: 24 kB / 305.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.1707, allocations: 31.97 kB / 305.2 MB, free: 13.98 MB / 298.7 MB Warning: Assuming fixed start value for the following 4 variables: U1.T:VARIABLE(min = 0.0 start = U1.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real U1.phi:VARIABLE(start = U1.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 (124): * Single equations (assignments): 114 * 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,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003272/0.171, allocations: 180.8 kB / 305.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.1711, allocations: 75.95 kB / 305.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.1723, allocations: 0.9511 MB / 306.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1723, allocations: 12 kB / 306.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1723, allocations: 0 / 306.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.1723, allocations: 15.92 kB / 306.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.1742, allocations: 1.478 MB / 308 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1742, allocations: 4 kB / 308 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/0.1766, allocations: 0.8522 MB / 308.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.1767, allocations: 62.19 kB / 308.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.1777, allocations: 389.5 kB / 309.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-05/0.1778, allocations: 35.98 kB / 309.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006826/0.1846, allocations: 12.74 MB / 322 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.1846, allocations: 11.94 kB / 322 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.1861, allocations: 1.262 MB / 323.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.1861, allocations: 35.94 kB / 323.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.1865, allocations: 31.98 kB / 323.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.1867, allocations: 128.6 kB / 323.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.1867, allocations: 35.98 kB / 323.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.715e-05/0.1868, allocations: 42.3 kB / 323.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1868, allocations: 0 / 323.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008036/0.1876, allocations: 256 kB / 323.8 MB, free: 10.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (U1.T,U1.phi,V.Ma,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 (119): * Single equations (assignments): 109 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.1878, allocations: 123.3 kB / 323.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.1909, allocations: 1.688 MB / 325.6 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-05/0.1909, allocations: 16.02 kB / 325.6 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.1934, allocations: 1.546 MB / 327.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.1941, allocations: 451.9 kB / 327.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008549/0.2027, allocations: 1.62 MB / 329.2 MB, free: 4.867 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2029, allocations: 182.7 kB / 329.4 MB, free: 4.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004848/0.2033, allocations: 111.7 kB / 329.5 MB, free: 4.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.2037, allocations: 213.2 kB / 329.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of SimCode: time 1.784e-06/0.2037, allocations: 0 / 329.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of Templates: time 0.01816/0.2219, allocations: 15.21 MB / 345 MB, free: 5.449 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.389327828772366]