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.0007489/0.0007489, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009408/0.00169, 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.0006983/0.0006983, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009073/0.001606, 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.9786/0.9786, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0825/1.061, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.06575/0.06575, allocations: 18.11 MB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01045/0.07619, allocations: 6.788 MB / 268.9 MB, free: 6.352 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.964e-06/1.964e-06, allocations: 0 / 270.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.489e-05, allocations: 5.828 kB / 270.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.01258/0.0126, allocations: 4.258 MB / 274.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1229/0.1355, allocations: 1.383 MB / 276 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.1358, allocations: 3.844 kB / 276 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1359, allocations: 90.33 kB / 276 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.1363, allocations: 248.4 kB / 276.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.1368, allocations: 307.2 kB / 276.6 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008942/0.1377, allocations: 1.194 MB / 277.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006402/0.1383, allocations: 0.5337 MB / 278.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009146/0.1393, allocations: 0.724 MB / 279 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.1398, allocations: 424.3 kB / 279.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.14, allocations: 111 kB / 279.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1401, allocations: 110.8 kB / 279.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1403, allocations: 165 kB / 279.8 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.1406, allocations: 295.5 kB / 280.1 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.1411, allocations: 0.6573 MB / 280.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.682e-05/0.1412, allocations: 2.312 kB / 280.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1412, allocations: 0 / 280.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.1412, allocations: 0.7188 kB / 280.8 MB, free: 0.7227 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.001364/0.1426, allocations: 1.145 MB / 281.9 MB, free: 192 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1426, allocations: 13.28 kB / 281.9 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.1427, allocations: 125.8 kB / 282.1 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1429, allocations: 195.2 kB / 282.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.1429, allocations: 66 kB / 282.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.143, allocations: 89.05 kB / 282.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.1437, allocations: 0.6015 MB / 283 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1437, allocations: 0 / 283 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.1438, allocations: 36.75 kB / 283 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.1438, allocations: 22.16 kB / 283.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.1443, allocations: 355.7 kB / 283.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.1463, allocations: 1.361 MB / 284.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008676/0.1472, allocations: 0.6036 MB / 285.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.1474, allocations: 196.2 kB / 285.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.1474, allocations: 22.36 kB / 285.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1475, allocations: 47.41 kB / 285.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003413/0.1478, allocations: 165.5 kB / 285.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=113): time 2.835e-06/0.1478, allocations: 0.625 kB / 285.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=124): time 0.003442/0.1513, allocations: 2.192 MB / 288 MB, free: 14.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.1513, allocations: 67.09 kB / 288.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.1514, allocations: 162.9 kB / 288.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.1514, allocations: 46.48 kB / 288.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1515, allocations: 245.5 kB / 288.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.1517, allocations: 441.2 kB / 288.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.1519, allocations: 179.8 kB / 289.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.152, allocations: 365.1 kB / 289.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.1522, allocations: 140.3 kB / 289.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1524, allocations: 237.6 kB / 289.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.153, allocations: 0.6899 MB / 290.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.153, allocations: 7.125 kB / 290.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.000834/0.1538, allocations: 0.6631 MB / 291.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1539, allocations: 7.938 kB / 291.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1539, allocations: 4 kB / 291.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.1544, allocations: 244.3 kB / 291.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/0.157, allocations: 0.9105 MB / 292.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/0.1624, allocations: 12.59 MB / 304.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.1628, allocations: 32.03 kB / 305 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.1629, allocations: 27.97 kB / 305 MB, free: 14.17 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.0002909/0.1632, allocations: 183.7 kB / 305.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.3e-05/0.1633, allocations: 71.95 kB / 305.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.1644, allocations: 0.9466 MB / 306.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1644, allocations: 12 kB / 306.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1644, allocations: 4 kB / 306.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1644, allocations: 11.91 kB / 306.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.1661, allocations: 1.484 MB / 307.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.1661, allocations: 8 kB / 307.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/0.1686, allocations: 0.8395 MB / 308.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.1686, allocations: 61.94 kB / 308.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.1696, allocations: 400 kB / 309 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.1697, allocations: 31.98 kB / 309 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/0.1753, allocations: 12.74 MB / 321.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.1753, allocations: 15.97 kB / 321.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.1766, allocations: 1.251 MB / 323 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.1767, allocations: 39.94 kB / 323.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.177, allocations: 31.98 kB / 323.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.1772, allocations: 124.7 kB / 323.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.1772, allocations: 31.98 kB / 323.3 MB, free: 11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.983e-05/0.1773, allocations: 38.23 kB / 323.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1773, allocations: 0 / 323.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007418/0.178, allocations: 256 kB / 323.5 MB, free: 10.71 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.000146/0.1782, allocations: 139.6 kB / 323.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.1809, allocations: 1.671 MB / 325.4 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.61e-05/0.181, allocations: 22.61 kB / 325.4 MB, free: 8.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.1833, allocations: 1.462 MB / 326.8 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.1839, allocations: 241.8 kB / 327.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00849/0.1924, allocations: 1.631 MB / 328.7 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.1926, allocations: 186.5 kB / 328.9 MB, free: 5.184 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004741/0.193, allocations: 110.5 kB / 329 MB, free: 5.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.1934, allocations: 209.2 kB / 329.2 MB, free: 4.887 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1934, allocations: 0 / 329.2 MB, free: 4.887 MB / 314.7 MB Notification: Performance of Templates: time 0.01623/0.2096, allocations: 14.84 MB / 344 MB, free: 6.332 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.2008009646087885]