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.001518/0.001518, allocations: 80.25 kB / 20.23 MB, free: 4.184 MB / 18.57 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.001678/0.001678, allocations: 157.7 kB / 23.53 MB, free: 0.875 MB / 18.57 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.5/1.5, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 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.1097/0.1097, allocations: 18.14 MB / 278.5 MB, free: 11.32 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 2.204e-06/2.204e-06, allocations: 3.938 kB / 356.5 MB, free: 9.348 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.288e-05, allocations: 9.062 kB / 356.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.005618/0.005651, allocations: 3.803 MB / 360.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.008637, allocations: 1.306 MB / 361.7 MB, free: 4.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.0089, allocations: 4 kB / 361.7 MB, free: 4.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.009089, allocations: 87.06 kB / 361.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006158/0.009705, allocations: 253.7 kB / 362 MB, free: 3.867 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.01046, allocations: 311.4 kB / 362.3 MB, free: 3.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.01179, allocations: 1.196 MB / 363.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.01264, allocations: 0.5285 MB / 364 MB, free: 1.828 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.01326, allocations: 463.1 kB / 364.5 MB, free: 1.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.01395, allocations: 423 kB / 364.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.01412, allocations: 112 kB / 365 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.0143, allocations: 112 kB / 365.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.01455, allocations: 239.3 kB / 365.3 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.01512, allocations: 363.3 kB / 365.7 MB, free: 156 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.01655, allocations: 1.204 MB / 366.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.01656, allocations: 0 / 366.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.01656, allocations: 0 / 366.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.01657, allocations: 0 / 366.9 MB, free: 14.95 MB / 346.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.00256/0.01913, allocations: 0.9773 MB / 367.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.01919, allocations: 12.92 kB / 367.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.01955, allocations: 152.4 kB / 368 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.01988, allocations: 197.3 kB / 368.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.01997, allocations: 70.31 kB / 368.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.02016, allocations: 92.36 kB / 368.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.02205, allocations: 0.8524 MB / 369.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.02207, allocations: 0 / 369.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.02218, allocations: 36 kB / 369.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.0222, allocations: 24 kB / 369.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.02377, allocations: 0.8354 MB / 370.1 MB, free: 11.64 MB / 346.7 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: U1.T(start = U1.Tstart = 293.15, confidence number = 2) * Candidate: U1.air.T(start = 288.15, confidence number = 8) => Select value from U1.T(start = U1.Tstart = 293.15) for variable: U1.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.02828, allocations: 1.846 MB / 372 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.03042, allocations: 0.9211 MB / 372.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/0.03113, allocations: 383.7 kB / 373.3 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/0.03122, allocations: 20.98 kB / 373.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.03126, allocations: 47.56 kB / 373.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007487/0.03201, allocations: 159.4 kB / 373.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=113): time 2.735e-06/0.03201, allocations: 0 / 373.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.009588/0.0416, allocations: 3.268 MB / 376.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.04168, allocations: 68.41 kB / 376.8 MB, free: 4.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.04192, allocations: 172.6 kB / 377 MB, free: 4.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.059e-05/0.04202, allocations: 45.7 kB / 377 MB, free: 4.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.04223, allocations: 245.6 kB / 377.3 MB, free: 4.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/0.04267, allocations: 444.1 kB / 377.7 MB, free: 3.922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.04301, allocations: 174.9 kB / 377.9 MB, free: 3.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.04323, allocations: 358.8 kB / 378.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.04394, allocations: 358.5 kB / 378.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008259/0.04476, allocations: 458.5 kB / 379 MB, free: 2.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02054/0.0653, allocations: 3.456 MB / 382.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.06531, allocations: 0 / 382.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003121/0.06843, allocations: 1.242 MB / 383.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.06845, allocations: 4 kB / 383.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.06846, allocations: 4 kB / 383.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.06996, allocations: 275.1 kB / 384 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006581/0.07654, allocations: 0.8194 MB / 384.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/0.09133, allocations: 13.68 MB / 398.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/0.09227, allocations: 32.09 kB / 398.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.09237, allocations: 39.97 kB / 398.6 MB, free: 13.94 MB / 378.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.0005807/0.09295, allocations: 233.9 kB / 398.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.09318, allocations: 99.55 kB / 398.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.09673, allocations: 1.473 MB / 400.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.09674, allocations: 12 kB / 400.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.09675, allocations: 0 / 400.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.09676, allocations: 7.969 kB / 400.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/0.1018, allocations: 2.294 MB / 402.7 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.1018, allocations: 8.156 kB / 402.7 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005805/0.1076, allocations: 0.753 MB / 403.4 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/0.1102, allocations: 442.8 kB / 403.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.1104, allocations: 32 kB / 403.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.1256, allocations: 13.91 MB / 417.8 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.1256, allocations: 11.88 kB / 417.8 MB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/0.1301, allocations: 2.075 MB / 419.9 MB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1303, allocations: 59.72 kB / 420 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.1304, allocations: 28 kB / 420 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/0.1311, allocations: 35.98 kB / 420 MB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.1314, allocations: 128.5 kB / 420.2 MB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/0.1315, allocations: 43.98 kB / 420.2 MB, free: 6.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1316, allocations: 139.2 kB / 420.3 MB, free: 6.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1316, allocations: 0 / 420.3 MB, free: 6.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001096/0.1327, allocations: 256 kB / 420.6 MB, free: 6.598 MB / 394.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.0002522/0.1329, allocations: 147.2 kB / 420.7 MB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008019/0.141, allocations: 1.994 MB / 422.7 MB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.141, allocations: 0 / 422.7 MB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006828/0.1478, allocations: 1.579 MB / 424.3 MB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.1489, allocations: 184.9 kB / 424.5 MB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.1529, allocations: 1.798 MB / 426.3 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.1535, allocations: 337.4 kB / 426.6 MB, free: 328 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001043/0.1545, allocations: 109.1 kB / 426.7 MB, free: 216 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.1549, allocations: 64.47 kB / 426.8 MB, free: 152 kB / 394.7 MB Notification: Performance of SimCode: time 1.683e-06/0.1549, allocations: 0 / 426.8 MB, free: 152 kB / 394.7 MB Notification: Performance of Templates: time 0.03942/0.1943, allocations: 13.11 MB / 439.9 MB, free: 3.215 MB / 410.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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9067396350437775]