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.001536/0.001536, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001549/0.001549, allocations: 165 kB / 23.82 MB, free: 0.7539 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.053/1.053, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.06734/0.06734, allocations: 18.13 MB / 278.9 MB, free: 11.3 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.643e-06/1.643e-06, allocations: 0 / 357.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.765e-05, allocations: 2.312 kB / 357.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.004304/0.004332, allocations: 4.246 MB / 361.6 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.006521, allocations: 1.341 MB / 362.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.006794, allocations: 4 kB / 362.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.00694, allocations: 91 kB / 363 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.00741, allocations: 249.7 kB / 363.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.007984, allocations: 307.4 kB / 363.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009425/0.008926, allocations: 1.2 MB / 364.7 MB, free: 344 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.009613, allocations: 0.5325 MB / 365.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.0102, allocations: 459.1 kB / 365.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.01072, allocations: 423 kB / 366.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.01085, allocations: 112 kB / 366.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.01098, allocations: 112 kB / 366.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.01111, allocations: 239.3 kB / 366.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.01142, allocations: 367.3 kB / 366.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.01204, allocations: 0.7553 MB / 367.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.01204, allocations: 0 / 367.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01204, allocations: 0 / 367.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.01206, allocations: 3.938 kB / 367.7 MB, free: 13.36 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001394/0.01345, allocations: 1.085 MB / 368.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.01349, allocations: 8.922 kB / 368.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.01368, allocations: 156.4 kB / 368.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.01386, allocations: 199.4 kB / 369.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.01391, allocations: 66.38 kB / 369.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.01401, allocations: 88.38 kB / 369.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/0.01484, allocations: 0.6734 MB / 370 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.01485, allocations: 0 / 370 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.01491, allocations: 36 kB / 370 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.01493, allocations: 20 kB / 370 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000731/0.01566, allocations: 0.5308 MB / 370.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.01804, allocations: 1.746 MB / 372.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.01913, allocations: 0.7192 MB / 373 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.01947, allocations: 279.3 kB / 373.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.01953, allocations: 24.98 kB / 373.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.01956, allocations: 54.33 kB / 373.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003429/0.0199, allocations: 163.4 kB / 373.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=113): time 3.777e-06/0.01991, allocations: 0 / 373.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.004286/0.02419, allocations: 2.65 MB / 376.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.02423, allocations: 64.41 kB / 376.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.02436, allocations: 218.6 kB / 376.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.02441, allocations: 45.7 kB / 376.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.02453, allocations: 300.3 kB / 376.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.02475, allocations: 440.1 kB / 377.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.02495, allocations: 180.6 kB / 377.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.02508, allocations: 0.5274 MB / 377.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.0254, allocations: 226.4 kB / 378.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.02577, allocations: 348.7 kB / 378.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.02686, allocations: 0.9176 MB / 379.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.02686, allocations: 0 / 379.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001359/0.02822, allocations: 0.9756 MB / 380.4 MB, free: 372 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.02824, allocations: 8 kB / 380.4 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.02825, allocations: 3.984 kB / 380.4 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006759/0.02893, allocations: 254.4 kB / 380.6 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/0.03162, allocations: 0.8194 MB / 381.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/0.0398, allocations: 18.65 MB / 400.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.04029, allocations: 27.98 kB / 400.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.04035, allocations: 39.98 kB / 400.2 MB, free: 11.3 MB / 330.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.0003553/0.0407, allocations: 229.5 kB / 400.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.04082, allocations: 99.59 kB / 400.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.04248, allocations: 1.224 MB / 401.7 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.04249, allocations: 16 kB / 401.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.04249, allocations: 0 / 401.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.0425, allocations: 7.969 kB / 401.7 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.04508, allocations: 2 MB / 403.7 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.04508, allocations: 4 kB / 403.7 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/0.04749, allocations: 0.7654 MB / 404.5 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.04859, allocations: 422.1 kB / 404.9 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.04865, allocations: 32 kB / 405 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1421/0.1907, allocations: 18.81 MB / 423.8 MB, free: 48.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.1907, allocations: 9.688 kB / 423.8 MB, free: 48.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.1931, allocations: 1.721 MB / 425.5 MB, free: 47.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1932, allocations: 59.42 kB / 425.6 MB, free: 47.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.1933, allocations: 35.97 kB / 425.6 MB, free: 47.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.1936, allocations: 33.95 kB / 425.6 MB, free: 47.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.1939, allocations: 127.2 kB / 425.7 MB, free: 47.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.194, allocations: 39.86 kB / 425.8 MB, free: 47.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.121e-05/0.1941, allocations: 164.5 kB / 425.9 MB, free: 47.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1941, allocations: 0.6562 kB / 425.9 MB, free: 47.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008565/0.1949, allocations: 257.2 kB / 426.2 MB, free: 47.44 MB / 330.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.0001798/0.1951, allocations: 150.8 kB / 426.3 MB, free: 47.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004116/0.1992, allocations: 2.028 MB / 428.4 MB, free: 46.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.1992, allocations: 5 kB / 428.4 MB, free: 46.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00326/0.2025, allocations: 1.709 MB / 430.1 MB, free: 45.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.2033, allocations: 186 kB / 430.3 MB, free: 45.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.2062, allocations: 1.738 MB / 432 MB, free: 45.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2064, allocations: 177.6 kB / 432.2 MB, free: 44.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004406/0.2068, allocations: 108.4 kB / 432.3 MB, free: 44.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.207, allocations: 68.17 kB / 432.4 MB, free: 44.91 MB / 330.7 MB Notification: Performance of SimCode: time 2.334e-06/0.207, allocations: 0 / 432.4 MB, free: 44.91 MB / 330.7 MB Notification: Performance of Templates: time 0.01393/0.221, allocations: 13.24 MB / 445.6 MB, free: 35.8 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.8655135659500957]