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.001016/0.001016, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00167/0.002687, 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.001116/0.001116, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00166/0.002776, 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.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09421/1.122, 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.09879/0.09879, allocations: 18.12 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01229/0.1111, allocations: 6.793 MB / 269.1 MB, free: 6.234 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.452e-06/1.452e-06, allocations: 0 / 270.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.673e-05, allocations: 6.25 kB / 270.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.005586/0.005613, allocations: 4.048 MB / 274.6 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1316/0.1373, allocations: 1.324 MB / 275.9 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.1375, allocations: 2.875 kB / 275.9 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.1377, allocations: 79.59 kB / 276 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.1381, allocations: 239.9 kB / 276.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.1386, allocations: 296.9 kB / 276.5 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009341/0.1396, allocations: 1.112 MB / 277.6 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005442/0.1401, allocations: 408.7 kB / 278 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008634/0.141, allocations: 0.628 MB / 278.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.1416, allocations: 331.4 kB / 279 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.1417, allocations: 93.25 kB / 279.1 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1419, allocations: 95.22 kB / 279.1 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.142, allocations: 139.8 kB / 279.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.1423, allocations: 256.9 kB / 279.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.1429, allocations: 0.5609 MB / 280.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.1429, allocations: 1.938 kB / 280.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1429, allocations: 0 / 280.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.1429, allocations: 1.938 kB / 280.1 MB, free: 0.9844 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.001471/0.1444, allocations: 1.072 MB / 281.2 MB, free: 484 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1444, allocations: 13.61 kB / 281.2 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1446, allocations: 120.3 kB / 281.3 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1448, allocations: 183.1 kB / 281.5 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.1448, allocations: 60.72 kB / 281.5 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/0.1449, allocations: 83.77 kB / 281.6 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/0.1456, allocations: 0.5149 MB / 282.1 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1456, allocations: 384 / 282.1 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.1457, allocations: 40.19 kB / 282.2 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.1457, allocations: 20.06 kB / 282.2 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.1461, allocations: 300.1 kB / 282.5 MB, free: 0 / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.148, allocations: 1.174 MB / 283.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.1485, allocations: 387.2 kB / 284 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.1487, allocations: 155.5 kB / 284.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.1488, allocations: 18.89 kB / 284.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1488, allocations: 44.12 kB / 284.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=102): time 2.314e-06/0.1488, allocations: 0 / 284.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=112): time 0.003675/0.1525, allocations: 1.999 MB / 286.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1525, allocations: 67.81 kB / 286.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1526, allocations: 160.2 kB / 286.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.1527, allocations: 41.27 kB / 286.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1528, allocations: 240.6 kB / 286.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.153, allocations: 402.1 kB / 287.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1532, allocations: 148.3 kB / 287.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1533, allocations: 360.3 kB / 287.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.1535, allocations: 107.3 kB / 287.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1537, allocations: 208.6 kB / 287.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.1543, allocations: 0.5727 MB / 288.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1543, allocations: 0 / 288.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.000796/0.1551, allocations: 0.5904 MB / 289.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1551, allocations: 7.375 kB / 289.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1551, allocations: 0 / 289.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/0.1558, allocations: 240.3 kB / 289.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/0.1584, allocations: 0.8271 MB / 290.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006329/0.1648, allocations: 12.59 MB / 302.8 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.165, allocations: 32.02 kB / 302.8 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.1651, allocations: 16 kB / 302.8 MB, free: 352 kB / 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.0002501/0.1653, allocations: 180.6 kB / 303 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.1654, allocations: 67.56 kB / 303.1 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.1664, allocations: 0.8044 MB / 303.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1664, allocations: 12 kB / 303.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1664, allocations: 7.938 kB / 303.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1664, allocations: 3.984 kB / 303.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.168, allocations: 1.373 MB / 305.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.168, allocations: 9.938 kB / 305.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.1701, allocations: 0.7629 MB / 306 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1701, allocations: 54.08 kB / 306.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009005/0.171, allocations: 387.7 kB / 306.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.1711, allocations: 31.98 kB / 306.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006684/0.1778, allocations: 12.69 MB / 319.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/0.1778, allocations: 15.97 kB / 319.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.1795, allocations: 1.143 MB / 320.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.1796, allocations: 35.98 kB / 320.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.18, allocations: 28 kB / 320.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.1802, allocations: 116.6 kB / 320.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.1803, allocations: 31.98 kB / 320.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.393e-05/0.1803, allocations: 43.16 kB / 320.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1803, allocations: 0 / 320.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007862/0.1811, allocations: 232 kB / 320.8 MB, free: 13.4 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.0001869/0.1813, allocations: 128.1 kB / 320.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003923/0.1852, allocations: 1.596 MB / 322.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-05/0.1852, allocations: 16.89 kB / 322.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003504/0.1888, allocations: 1.464 MB / 324 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/0.1897, allocations: 429.7 kB / 324.4 MB, free: 9.637 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009096/0.1988, allocations: 1.528 MB / 326 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.199, allocations: 161.4 kB / 326.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.1993, allocations: 87.7 kB / 326.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.1996, allocations: 193.2 kB / 326.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1996, allocations: 0 / 326.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of Templates: time 0.01368/0.2132, allocations: 13.13 MB / 339.5 MB, free: 10.73 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.279876694083214]