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.001273/0.001273, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.001317/0.001317, allocations: 177 kB / 24.08 MB, free: 432 kB / 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.029/1.029, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.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.06436/0.06436, allocations: 18.13 MB / 279.2 MB, free: 11.19 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.293e-06/1.293e-06, allocations: 0 / 357.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.077e-05, allocations: 2.312 kB / 357.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.003321/0.003342, allocations: 3.985 MB / 361.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.004966, allocations: 1.278 MB / 363 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.005143, allocations: 8 kB / 363 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.005252, allocations: 79.14 kB / 363.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.005584, allocations: 229.9 kB / 363.4 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.00604, allocations: 303.4 kB / 363.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.006794, allocations: 1.122 MB / 364.8 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.007228, allocations: 406 kB / 365.2 MB, free: 96 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.007634, allocations: 391.2 kB / 365.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.007962, allocations: 331.1 kB / 365.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.00805, allocations: 96 kB / 366 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.008156, allocations: 96 kB / 366.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.008269, allocations: 203.3 kB / 366.3 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.008479, allocations: 319.3 kB / 366.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.008969, allocations: 0.6268 MB / 367.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.008971, allocations: 0 / 367.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008972, allocations: 0 / 367.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.00898, allocations: 0 / 367.2 MB, free: 14.06 MB / 298.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.001082/0.01006, allocations: 1.03 MB / 368.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.0101, allocations: 8.031 kB / 368.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.01023, allocations: 140.5 kB / 368.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.01035, allocations: 198.6 kB / 368.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.01039, allocations: 62.38 kB / 368.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.01047, allocations: 80.38 kB / 368.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.01097, allocations: 0.4982 MB / 369.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01098, allocations: 192 / 369.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.01103, allocations: 35.94 kB / 369.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01104, allocations: 20 kB / 369.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.01141, allocations: 353.6 kB / 369.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.01309, allocations: 1.466 MB / 371.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.01355, allocations: 429.4 kB / 371.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.01393, allocations: 178.6 kB / 371.7 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.718e-05/0.014, allocations: 21 kB / 371.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.01403, allocations: 50.39 kB / 371.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.424e-06/0.01403, allocations: 0 / 371.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=112): time 0.003461/0.01749, allocations: 2.036 MB / 373.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.01753, allocations: 64.41 kB / 373.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01766, allocations: 214.4 kB / 374 MB, free: 7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.0177, allocations: 41.7 kB / 374.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01782, allocations: 296.2 kB / 374.4 MB, free: 6.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.01802, allocations: 396.5 kB / 374.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.01819, allocations: 168.2 kB / 374.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.01836, allocations: 0.5239 MB / 375.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.01853, allocations: 133.9 kB / 375.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.01876, allocations: 245.2 kB / 375.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.01942, allocations: 0.6202 MB / 376.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01942, allocations: 11.88 kB / 376.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0009596/0.02038, allocations: 0.7456 MB / 377.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.0204, allocations: 6.812 kB / 377.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.02041, allocations: 0 / 377.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.021, allocations: 258.5 kB / 377.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.02335, allocations: 0.7686 MB / 378.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007405/0.03076, allocations: 18.42 MB / 396.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.03111, allocations: 27.98 kB / 396.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.03114, allocations: 24 kB / 396.7 MB, free: 15.07 MB / 330.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.0002698/0.03141, allocations: 229.4 kB / 396.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/0.03151, allocations: 79.72 kB / 397 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.03265, allocations: 0.9416 MB / 397.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.03266, allocations: 15.94 kB / 398 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.03267, allocations: 3.984 kB / 398 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.03267, allocations: 7.984 kB / 398 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.03512, allocations: 1.699 MB / 399.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.03513, allocations: 8 kB / 399.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/0.03785, allocations: 0.7145 MB / 400.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.03909, allocations: 398.2 kB / 400.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.03915, allocations: 32 kB / 400.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1342/0.1733, allocations: 18.55 MB / 419.4 MB, free: 50.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.1733, allocations: 10.78 kB / 419.4 MB, free: 50.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.1751, allocations: 1.417 MB / 420.8 MB, free: 49.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.1751, allocations: 46.86 kB / 420.8 MB, free: 49.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.1752, allocations: 34.64 kB / 420.9 MB, free: 49.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1754, allocations: 30.89 kB / 420.9 MB, free: 49.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.1756, allocations: 116.8 kB / 421 MB, free: 49.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.1756, allocations: 31.98 kB / 421 MB, free: 49.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.031e-05/0.1757, allocations: 153.3 kB / 421.2 MB, free: 49.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1757, allocations: 0 / 421.2 MB, free: 49.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007135/0.1764, allocations: 236.1 kB / 421.4 MB, free: 49.55 MB / 330.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.0001392/0.1766, allocations: 139.8 kB / 421.6 MB, free: 49.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.1796, allocations: 1.828 MB / 423.4 MB, free: 48.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.1796, allocations: 1.062 kB / 423.4 MB, free: 48.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.1822, allocations: 1.607 MB / 425 MB, free: 48.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.1829, allocations: 163.8 kB / 425.2 MB, free: 48.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.1852, allocations: 1.608 MB / 426.8 MB, free: 47.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.1854, allocations: 167.9 kB / 426.9 MB, free: 47.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003681/0.1858, allocations: 86.5 kB / 427 MB, free: 47.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.1862, allocations: 220.3 kB / 427.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1862, allocations: 0 / 427.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of Templates: time 0.01359/0.1998, allocations: 12.23 MB / 439.5 MB, free: 39.6 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.4181563989259303]