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.001647/0.001647, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001769/0.001769, allocations: 161.3 kB / 23.01 MB, free: 4.945 MB / 14.72 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.09919/0.09919, allocations: 17.81 MB / 277.6 MB, free: 15.32 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.91 kB / 414.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1374, allocations: 59.56 MB / 474.2 MB, free: 8.797 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.00659/0.144, allocations: 3.618 MB / 477.8 MB, free: 5.156 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.1474, allocations: 1.259 MB / 479.1 MB, free: 3.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005254/0.1479, allocations: 4 kB / 479.1 MB, free: 3.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1482, allocations: 79.14 kB / 479.2 MB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008894/0.1491, allocations: 222 kB / 479.4 MB, free: 3.594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008922/0.15, allocations: 287.6 kB / 479.7 MB, free: 3.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.1515, allocations: 1.092 MB / 480.8 MB, free: 2.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.1521, allocations: 381.8 kB / 481.1 MB, free: 1.836 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.1526, allocations: 414.9 kB / 481.5 MB, free: 1.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.1532, allocations: 378.4 kB / 481.9 MB, free: 1.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.1533, allocations: 92 kB / 482 MB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1535, allocations: 96 kB / 482.1 MB, free: 0.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1536, allocations: 195.5 kB / 482.3 MB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.154, allocations: 358.7 kB / 482.6 MB, free: 340 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2352/0.3892, allocations: 0.9687 MB / 483.6 MB, free: 48.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3892, allocations: 0 / 483.6 MB, free: 48.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3892, allocations: 2.844 kB / 483.6 MB, free: 48.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.3893, allocations: 0 / 483.6 MB, free: 48.2 MB / 446.1 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.001766/0.391, allocations: 0.9307 MB / 484.5 MB, free: 47.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3911, allocations: 9.125 kB / 484.5 MB, free: 47.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3912, allocations: 75.31 kB / 484.6 MB, free: 47.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3913, allocations: 183.2 kB / 484.8 MB, free: 47.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.3914, allocations: 64.94 kB / 484.9 MB, free: 47.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.3915, allocations: 79.28 kB / 484.9 MB, free: 47.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.3924, allocations: 0.718 MB / 485.7 MB, free: 47.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.3924, allocations: 0 / 485.7 MB, free: 47.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.3925, allocations: 36.03 kB / 485.7 MB, free: 47.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.3925, allocations: 19.19 kB / 485.7 MB, free: 47.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.3935, allocations: 0.6896 MB / 486.4 MB, free: 47.44 MB / 446.1 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.002647/0.3961, allocations: 1.577 MB / 488 MB, free: 47.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009314/0.397, allocations: 0.6216 MB / 488.6 MB, free: 47.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.3975, allocations: 310.4 kB / 488.9 MB, free: 47.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/0.3975, allocations: 14.34 kB / 488.9 MB, free: 47.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3975, allocations: 40.41 kB / 489 MB, free: 47.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=102): time 2.645e-06/0.3975, allocations: 3.25 kB / 489 MB, free: 47.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.006494/0.404, allocations: 2.802 MB / 491.8 MB, free: 45.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4041, allocations: 64.94 kB / 491.8 MB, free: 45.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.4042, allocations: 167.5 kB / 492 MB, free: 45.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.4043, allocations: 40.89 kB / 492 MB, free: 45.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.4043, allocations: 242.9 kB / 492.3 MB, free: 45.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.4045, allocations: 406.2 kB / 492.7 MB, free: 45.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.4047, allocations: 148.6 kB / 492.8 MB, free: 44.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.4048, allocations: 358.1 kB / 493.2 MB, free: 44.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.4052, allocations: 296.6 kB / 493.5 MB, free: 44.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.4057, allocations: 383.4 kB / 493.8 MB, free: 44.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.4159, allocations: 2.253 MB / 496.1 MB, free: 43.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4159, allocations: 3.281 kB / 496.1 MB, free: 43.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002/0.4179, allocations: 1.034 MB / 497.1 MB, free: 43.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4179, allocations: 7.312 kB / 497.1 MB, free: 43.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4179, allocations: 9.719 kB / 497.1 MB, free: 43.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009032/0.4188, allocations: 206.4 kB / 497.3 MB, free: 43.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00516/0.424, allocations: 0.7625 MB / 498.1 MB, free: 43.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008069/0.4321, allocations: 13.67 MB / 0.4998 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.4327, allocations: 26.09 kB / 0.4998 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4328, allocations: 34.2 kB / 0.4998 GB, free: 29.82 MB / 446.1 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.0004777/0.4333, allocations: 226.5 kB / 0.5 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.4334, allocations: 44.81 kB / 0.5001 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.4359, allocations: 1.246 MB / 0.5013 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.436, allocations: 12.38 kB / 0.5013 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.436, allocations: 3.344 kB / 0.5013 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.436, allocations: 3.422 kB / 0.5013 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/0.4395, allocations: 2.123 MB / 0.5034 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.4395, allocations: 6.5 kB / 0.5034 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004736/0.4443, allocations: 0.7003 MB / 0.5041 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.446, allocations: 354.4 kB / 0.5044 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/0.4461, allocations: 32.64 kB / 0.5045 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009567/0.4557, allocations: 13.84 MB / 0.518 GB, free: 30.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.4557, allocations: 10.41 kB / 0.518 GB, free: 30.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.4589, allocations: 1.818 MB / 0.5198 GB, free: 29.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.459, allocations: 50.77 kB / 0.5198 GB, free: 29.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/0.4591, allocations: 32.2 kB / 0.5198 GB, free: 29.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/0.4597, allocations: 31.69 kB / 0.5199 GB, free: 29.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.4599, allocations: 119.4 kB / 0.52 GB, free: 29.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.46, allocations: 40.61 kB / 0.52 GB, free: 29.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.4601, allocations: 122 kB / 0.5201 GB, free: 29.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4601, allocations: 96 / 0.5201 GB, free: 29.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001026/0.4611, allocations: 241.3 kB / 0.5204 GB, free: 29.15 MB / 462.1 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.000204/0.4613, allocations: 146.3 kB / 0.5205 GB, free: 29.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006514/0.4678, allocations: 1.833 MB / 0.5223 GB, free: 28.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.4678, allocations: 6.438 kB / 0.5223 GB, free: 28.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00533/0.4732, allocations: 1.506 MB / 0.5238 GB, free: 27.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/0.4741, allocations: 162.9 kB / 0.5239 GB, free: 27.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.4771, allocations: 1.756 MB / 0.5256 GB, free: 26.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.4775, allocations: 316.5 kB / 0.5259 GB, free: 26.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000525/0.478, allocations: 84.95 kB / 0.526 GB, free: 26.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.4782, allocations: 53.39 kB / 0.5261 GB, free: 26.16 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4782, allocations: 0 / 0.5261 GB, free: 26.16 MB / 462.1 MB Notification: Performance of Templates: time 0.02309/0.5013, allocations: 11.13 MB / 0.5369 GB, free: 25 MB / 462.1 MB " [Timeout remaining time 659] 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 -s ida -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.69163346698042] Failed to read output from testmodel.py, exit status != 0: 0.5106262350454926 0.5219479269999999 0.129932835 Calling exit ...