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.0008123/0.0008123, allocations: 84.44 kB / 20.71 MB, free: 3.855 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.000802/0.000802, allocations: 165.2 kB / 23.98 MB, free: 0.582 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 0.861/0.861, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.06063/0.06063, allocations: 18.12 MB / 278.8 MB, free: 11.53 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.603e-06/1.603e-06, allocations: 0 / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.467e-05, allocations: 6.219 kB / 416.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.00283/0.002855, allocations: 3.614 MB / 419.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.004252, allocations: 1.261 MB / 421.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.004398, allocations: 8.594 kB / 421.2 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.004505, allocations: 86.84 kB / 421.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.004805, allocations: 224.1 kB / 421.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.005226, allocations: 295.7 kB / 421.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006609/0.005887, allocations: 1.127 MB / 422.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.006296, allocations: 387.4 kB / 423.3 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.006624, allocations: 386 kB / 423.7 MB, free: 7.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.006979, allocations: 336.6 kB / 424 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.007086, allocations: 93.16 kB / 424.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.007191, allocations: 95.34 kB / 424.2 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.00729, allocations: 191.8 kB / 424.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.007528, allocations: 321.4 kB / 424.7 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008505/0.008379, allocations: 1.013 MB / 425.7 MB, free: 7.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.008381, allocations: 0 / 425.7 MB, free: 7.039 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.008382, allocations: 0 / 425.7 MB, free: 7.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.008396, allocations: 1.062 kB / 425.7 MB, free: 7.039 MB / 330.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.001207/0.009604, allocations: 0.9189 MB / 426.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.009638, allocations: 8.625 kB / 426.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.009748, allocations: 76.75 kB / 426.7 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.009879, allocations: 182.5 kB / 426.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.009921, allocations: 68.69 kB / 427 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/0.01001, allocations: 77.66 kB / 427 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.01086, allocations: 0.715 MB / 427.8 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.01087, allocations: 9.234 kB / 427.8 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.01092, allocations: 34.69 kB / 427.8 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.01093, allocations: 19.19 kB / 427.8 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.01172, allocations: 0.6866 MB / 428.5 MB, free: 5.59 MB / 330.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.00202/0.01374, allocations: 1.567 MB / 430.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.01445, allocations: 0.627 MB / 430.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.01478, allocations: 302.7 kB / 431 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.01482, allocations: 11.8 kB / 431 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.01484, allocations: 48.81 kB / 431 MB, free: 4.285 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 2.204e-06/0.01485, allocations: 0 / 431 MB, free: 4.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=112): time 0.0043/0.01915, allocations: 2.81 MB / 433.9 MB, free: 3.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.01918, allocations: 62.5 kB / 433.9 MB, free: 2.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.01928, allocations: 161 kB / 434.1 MB, free: 2.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.01933, allocations: 46.3 kB / 434.1 MB, free: 2.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.01941, allocations: 241.9 kB / 434.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.01959, allocations: 393.2 kB / 434.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.01978, allocations: 157.7 kB / 434.9 MB, free: 2.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.01984, allocations: 354.4 kB / 435.2 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.02021, allocations: 295.8 kB / 435.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.02065, allocations: 389.1 kB / 435.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005128/0.02578, allocations: 2.254 MB / 438.2 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02578, allocations: 1.562 kB / 438.2 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001245/0.02703, allocations: 1.032 MB / 439.2 MB, free: 16 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.02705, allocations: 9.312 kB / 439.2 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.02705, allocations: 1.812 kB / 439.2 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.02756, allocations: 225.3 kB / 439.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.02999, allocations: 0.7478 MB / 440.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006679/0.03667, allocations: 13.65 MB / 453.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.03695, allocations: 28.03 kB / 453.9 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.03699, allocations: 36.05 kB / 453.9 MB, free: 1.402 MB / 346.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.0006112/0.0376, allocations: 227.2 kB / 454.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.03766, allocations: 47.72 kB / 454.2 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.03919, allocations: 1.238 MB / 455.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.03919, allocations: 12 kB / 455.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.0392, allocations: 4.062 kB / 455.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.03921, allocations: 11.98 kB / 455.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.04149, allocations: 2.116 MB / 457.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.04149, allocations: 8.906 kB / 457.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/0.04359, allocations: 0.7023 MB / 458.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008437/0.04444, allocations: 359 kB / 458.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.04448, allocations: 28 kB / 458.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00657/0.05105, allocations: 13.82 MB / 472.5 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.05106, allocations: 11.94 kB / 472.5 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.05294, allocations: 1.799 MB / 474.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.05299, allocations: 55.59 kB / 474.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.05304, allocations: 35.94 kB / 474.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.0533, allocations: 31.98 kB / 474.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.05344, allocations: 120.6 kB / 474.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.05348, allocations: 36 kB / 474.5 MB, free: 11.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.844e-05/0.05356, allocations: 127 kB / 474.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05356, allocations: 0 / 474.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006956/0.05426, allocations: 236 kB / 474.9 MB, free: 11.05 MB / 378.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.0001466/0.0544, allocations: 137.8 kB / 475 MB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003328/0.05773, allocations: 1.819 MB / 476.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.05773, allocations: 4 kB / 476.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.06015, allocations: 1.474 MB / 478.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.06072, allocations: 165 kB / 478.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.06245, allocations: 1.673 MB / 480.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.06264, allocations: 315 kB / 480.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.06282, allocations: 60.48 kB / 480.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.06282, allocations: 0 / 480.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of Templates: time 0.01958/0.0824, allocations: 33.12 MB / 0.5016 GB, free: 3.953 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: 6.1748061534017324] Failed to read output from testmodel.py, exit status != 0: 0.08763510826975107 0.09497269600000001 0.08500318300000001 Calling exit ...