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.001792/0.001792, allocations: 111.5 kB / 17.15 MB, free: 5.945 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.001876/0.001876, allocations: 204.4 kB / 20.11 MB, free: 2.992 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.821/1.821, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.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.1055/0.1055, allocations: 24.03 MB / 333.6 MB, free: 1.66 MB / 254.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_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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 67.08 kB / 468.9 MB, free: 30.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 59.54 MB / 0.5161 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.005251/0.1277, allocations: 4.048 MB / 0.52 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1299, allocations: 1.309 MB / 0.5213 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.1301, allocations: 4 kB / 0.5213 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1303, allocations: 79.14 kB / 0.5214 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004234/0.1307, allocations: 226 kB / 0.5216 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.1313, allocations: 291.5 kB / 0.5219 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1323, allocations: 1.092 MB / 0.5229 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.1328, allocations: 381 kB / 0.5233 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004509/0.1332, allocations: 414.9 kB / 0.5237 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005148/0.1337, allocations: 422.4 kB / 0.5241 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.1339, allocations: 92 kB / 0.5242 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.134, allocations: 96 kB / 0.5243 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.1342, allocations: 191.5 kB / 0.5244 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.1346, allocations: 430.2 kB / 0.5249 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009503/0.1355, allocations: 0.9652 MB / 0.5258 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1355, allocations: 0 / 0.5258 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1355, allocations: 4 kB / 0.5258 GB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1355, allocations: 0 / 0.5258 GB, free: 1.785 MB / 382.1 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.002145/0.1377, allocations: 0.9982 MB / 0.5268 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1377, allocations: 8.031 kB / 0.5268 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1379, allocations: 80.47 kB / 0.5269 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1381, allocations: 235.5 kB / 0.5271 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.1382, allocations: 70.31 kB / 0.5272 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.1383, allocations: 80.38 kB / 0.5272 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1395, allocations: 0.6907 MB / 0.5279 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1395, allocations: 4 kB / 0.5279 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/0.1396, allocations: 39.94 kB / 0.5279 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.1396, allocations: 20 kB / 0.528 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.1409, allocations: 0.6949 MB / 0.5286 GB, free: 14.78 MB / 398.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.1446, allocations: 2.304 MB / 0.5309 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.1458, allocations: 0.6211 MB / 0.5315 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.1463, allocations: 295.8 kB / 0.5318 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.326e-05/0.1464, allocations: 24.98 kB / 0.5318 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1464, allocations: 39.56 kB / 0.5318 GB, free: 11.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 2.555e-06/0.1464, allocations: 96 / 0.5318 GB, free: 11.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.007873/0.1543, allocations: 3.111 MB / 0.5349 GB, free: 8.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.1544, allocations: 64.41 kB / 0.5349 GB, free: 8.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1546, allocations: 207.7 kB / 0.5351 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.1547, allocations: 41.7 kB / 0.5352 GB, free: 7.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1549, allocations: 237.5 kB / 0.5354 GB, free: 7.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.1552, allocations: 408.4 kB / 0.5358 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.1555, allocations: 150.7 kB / 0.5359 GB, free: 6.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1557, allocations: 354.8 kB / 0.5363 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005574/0.1562, allocations: 297.9 kB / 0.5366 GB, free: 6.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.1568, allocations: 383.1 kB / 0.5369 GB, free: 5.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/0.1678, allocations: 2.247 MB / 0.5391 GB, free: 3.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1678, allocations: 0 / 0.5391 GB, free: 3.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002341/0.1701, allocations: 1.051 MB / 0.5402 GB, free: 2.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.1701, allocations: 4 kB / 0.5402 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1701, allocations: 4 kB / 0.5402 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.1711, allocations: 215.2 kB / 0.5404 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/0.1768, allocations: 0.753 MB / 0.5411 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.1901, allocations: 14.94 MB / 0.5557 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/0.1908, allocations: 32.02 kB / 0.5557 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.1909, allocations: 28 kB / 0.5557 GB, free: 1.211 MB / 414.1 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.000477/0.1914, allocations: 236.8 kB / 0.556 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.1915, allocations: 47.72 kB / 0.556 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.1943, allocations: 1.246 MB / 0.5572 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.1944, allocations: 15.98 kB / 0.5572 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1944, allocations: 4 kB / 0.5573 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.1944, allocations: 3.984 kB / 0.5573 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.1987, allocations: 2.382 MB / 0.5596 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.1987, allocations: 8 kB / 0.5596 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005059/0.2037, allocations: 0.6989 MB / 0.5603 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/0.2057, allocations: 363.1 kB / 0.5606 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.2058, allocations: 43.86 kB / 0.5607 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.2192, allocations: 15.1 MB / 0.5754 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.2192, allocations: 12.06 kB / 0.5754 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.2228, allocations: 1.819 MB / 0.5772 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.2229, allocations: 140.8 kB / 0.5773 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.223, allocations: 31.98 kB / 0.5774 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/0.2236, allocations: 36 kB / 0.5774 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.2239, allocations: 116.6 kB / 0.5775 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/0.2239, allocations: 39.94 kB / 0.5775 GB, free: 9.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.2241, allocations: 158.8 kB / 0.5777 GB, free: 8.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2241, allocations: 0 / 0.5777 GB, free: 8.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00101/0.2251, allocations: 232 kB / 0.5779 GB, free: 8.75 MB / 446.1 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.0002159/0.2253, allocations: 147 kB / 0.5781 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007013/0.2324, allocations: 1.83 MB / 0.5798 GB, free: 6.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.2324, allocations: 4.25 kB / 0.5798 GB, free: 6.703 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005848/0.2382, allocations: 1.497 MB / 0.5813 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.2393, allocations: 176.9 kB / 0.5815 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.2426, allocations: 1.772 MB / 0.5832 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.2432, allocations: 0.9052 MB / 0.5841 GB, free: 2.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004748/0.2436, allocations: 93.02 kB / 0.5842 GB, free: 2.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.2438, allocations: 55.42 kB / 0.5842 GB, free: 2.023 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.2438, allocations: 0 / 0.5842 GB, free: 2.023 MB / 446.1 MB Notification: Performance of Templates: time 0.2762/0.5201, allocations: 11.9 MB / 0.5959 GB, free: 64.52 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.326588457450271] Failed to read output from testmodel.py, exit status != 0: 0.5288047529757023 0.539420309 0.40171980300000004 Calling exit ...