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.001995/0.001995, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.00161/0.00161, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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.511/1.511, allocations: 177.2 MB / 203.9 MB, free: 5.598 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.1104/0.1104, 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_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.713e-06/1.713e-06, allocations: 0 / 356.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.849e-05/4.021e-05, allocations: 5.406 kB / 356.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.005929/0.005969, allocations: 3.612 MB / 360.2 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.009063, allocations: 1.255 MB / 361.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.009314, allocations: 4 kB / 361.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.009497, allocations: 79.14 kB / 361.5 MB, free: 4.391 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005348/0.01003, allocations: 229.9 kB / 361.7 MB, free: 4.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.0107, allocations: 303.4 kB / 362 MB, free: 3.867 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.01193, allocations: 1.126 MB / 363.1 MB, free: 2.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006383/0.01257, allocations: 402 kB / 363.5 MB, free: 2.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005434/0.01311, allocations: 391.2 kB / 363.9 MB, free: 1.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.01366, allocations: 331.1 kB / 364.2 MB, free: 1.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.0138, allocations: 96 kB / 364.3 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.01396, allocations: 92 kB / 364.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.01417, allocations: 195.4 kB / 364.6 MB, free: 1.258 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.01457, allocations: 319.3 kB / 364.9 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.01577, allocations: 1.013 MB / 365.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01577, allocations: 4 kB / 365.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01577, allocations: 0 / 365.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.01579, allocations: 0 / 365.9 MB, free: 15.92 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002424/0.01821, allocations: 0.919 MB / 366.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.01826, allocations: 8.031 kB / 366.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.01854, allocations: 140.5 kB / 367 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.01881, allocations: 184.9 kB / 367.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.01888, allocations: 58.38 kB / 367.2 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.01903, allocations: 88.36 kB / 367.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.02069, allocations: 0.7163 MB / 368.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.0207, allocations: 4.188 kB / 368.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.02079, allocations: 35.92 kB / 368.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.02081, allocations: 20 kB / 368.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.02215, allocations: 0.6909 MB / 368.8 MB, free: 13 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: 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.003599/0.02575, allocations: 1.577 MB / 370.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.02705, allocations: 0.6229 MB / 371 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.02764, allocations: 307.7 kB / 371.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/0.02771, allocations: 17 kB / 371.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.02776, allocations: 51.53 kB / 371.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 2.685e-06/0.02777, allocations: 0 / 371.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=112): time 0.00848/0.03625, allocations: 2.823 MB / 374.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.03632, allocations: 72.34 kB / 374.3 MB, free: 7.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.03652, allocations: 158.2 kB / 374.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.371e-05/0.0366, allocations: 45.7 kB / 374.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.03679, allocations: 241.5 kB / 374.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006621/0.03746, allocations: 400.5 kB / 375.1 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.03774, allocations: 150.6 kB / 375.2 MB, free: 6.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.03797, allocations: 362.7 kB / 375.6 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.03857, allocations: 289.9 kB / 375.9 MB, free: 5.781 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.03928, allocations: 391.1 kB / 376.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/0.05125, allocations: 2.25 MB / 378.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.05125, allocations: 3.938 kB / 378.5 MB, free: 3.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002683/0.05393, allocations: 1.063 MB / 379.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.05396, allocations: 11.2 kB / 379.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.05397, allocations: 0 / 379.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.05547, allocations: 279.1 kB / 379.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006205/0.06167, allocations: 0.753 MB / 380.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.07717, allocations: 13.68 MB / 394.3 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006523/0.07782, allocations: 31.92 kB / 394.3 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.0779, allocations: 28 kB / 394.3 MB, free: 2.203 MB / 362.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.0004843/0.07838, allocations: 241.7 kB / 394.6 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.07857, allocations: 79.72 kB / 394.7 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/0.08172, allocations: 1.245 MB / 395.9 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.08174, allocations: 8 kB / 395.9 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.08174, allocations: 4 kB / 395.9 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.08176, allocations: 7.969 kB / 395.9 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004965/0.08672, allocations: 2.128 MB / 398.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.08674, allocations: 7.984 kB / 398.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00561/0.09235, allocations: 0.6985 MB / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/0.09503, allocations: 419 kB / 399.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.09514, allocations: 31.98 kB / 399.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.1109, allocations: 13.86 MB / 413.1 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.1109, allocations: 4 kB / 413.1 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00402/0.115, allocations: 1.831 MB / 414.9 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1151, allocations: 55.72 kB / 415 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/0.1152, allocations: 35.94 kB / 415 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/0.1158, allocations: 31.98 kB / 415 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/0.1161, allocations: 116.6 kB / 415.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/0.1162, allocations: 40 kB / 415.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1163, allocations: 125.8 kB / 415.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1163, allocations: 0 / 415.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001054/0.1173, allocations: 236 kB / 415.5 MB, free: 11.68 MB / 394.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.0002316/0.1176, allocations: 139.2 kB / 415.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007972/0.1255, allocations: 1.846 MB / 417.5 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.1256, allocations: 4 kB / 417.5 MB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006513/0.1321, allocations: 1.486 MB / 419 MB, free: 8.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.1331, allocations: 187.4 kB / 419.2 MB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.1363, allocations: 1.65 MB / 420.8 MB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.1367, allocations: 311.2 kB / 421.1 MB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000473/0.1371, allocations: 88.78 kB / 421.2 MB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.1373, allocations: 48.5 kB / 421.3 MB, free: 5.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1373, allocations: 4 kB / 421.3 MB, free: 5.676 MB / 394.7 MB Notification: Performance of Templates: time 0.02229/0.1596, allocations: 11.15 MB / 432.4 MB, free: 10.67 MB / 410.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=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: 5.676385455997661]