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.0007613/0.0007613, allocations: 84.44 kB / 20.71 MB, free: 3.848 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.0007478/0.0007478, allocations: 165.2 kB / 23.98 MB, free: 0.5781 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.8649/0.8649, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.05908/0.05908, allocations: 18.12 MB / 278.8 MB, free: 11.52 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.804e-06/1.804e-06, allocations: 0 / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.625e-05, allocations: 3.047 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.002907/0.002934, allocations: 3.799 MB / 420.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.004394, allocations: 1.312 MB / 421.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.004554, allocations: 8 kB / 421.4 MB, free: 8.984 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.004679, allocations: 85.72 kB / 421.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.005003, allocations: 249.9 kB / 421.8 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.005453, allocations: 307.7 kB / 422.1 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.006182, allocations: 1.203 MB / 423.3 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.006729, allocations: 0.503 MB / 423.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.007078, allocations: 458.2 kB / 424.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.007568, allocations: 424.1 kB / 424.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.007702, allocations: 110.7 kB / 424.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.007825, allocations: 111.6 kB / 424.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.007949, allocations: 235.1 kB / 425.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.008206, allocations: 366.5 kB / 425.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009366/0.009143, allocations: 1.196 MB / 426.6 MB, free: 6.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.009146, allocations: 8.781 kB / 426.7 MB, free: 6.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009147, allocations: 0.5 kB / 426.7 MB, free: 6.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.009158, allocations: 0 / 426.7 MB, free: 6.582 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001339/0.0105, allocations: 0.9833 MB / 427.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.01053, allocations: 11.11 kB / 427.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.01064, allocations: 84.16 kB / 427.7 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.01077, allocations: 189.3 kB / 427.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.01082, allocations: 66.31 kB / 428 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.01092, allocations: 86.61 kB / 428.1 MB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/0.01189, allocations: 0.8494 MB / 428.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.01191, allocations: 5.094 kB / 428.9 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.01196, allocations: 35.03 kB / 429 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.01198, allocations: 25.16 kB / 429 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.01308, allocations: 0.8377 MB / 429.8 MB, free: 4.992 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: U1.T(start = U1.Tstart = 293.15, confidence number = 2) * Candidate: U1.air.T(start = 288.15, confidence number = 8) => Select value from U1.T(start = U1.Tstart = 293.15) for variable: U1.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.0158, allocations: 1.832 MB / 431.6 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.01699, allocations: 0.9138 MB / 432.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.01742, allocations: 395.5 kB / 432.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.01747, allocations: 16.88 kB / 433 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.01749, allocations: 47.42 kB / 433 MB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003345/0.01782, allocations: 162.4 kB / 433.2 MB, free: 3.395 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 2.364e-06/0.01783, allocations: 0 / 433.2 MB, free: 3.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=124): time 0.00463/0.02246, allocations: 3.235 MB / 436.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.02249, allocations: 64.84 kB / 436.5 MB, free: 1.742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.02259, allocations: 164.3 kB / 436.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.02264, allocations: 50.05 kB / 436.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.02271, allocations: 258.3 kB / 436.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.02287, allocations: 436.4 kB / 437.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.02305, allocations: 173.7 kB / 437.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.02311, allocations: 357.5 kB / 437.9 MB, free: 492 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.0235, allocations: 358.9 kB / 438.2 MB, free: 312 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.02395, allocations: 456.3 kB / 438.7 MB, free: 44 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008501/0.03245, allocations: 3.455 MB / 442.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.03245, allocations: 0 / 442.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001874/0.03433, allocations: 1.211 MB / 443.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.03435, allocations: 4 kB / 443.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.03435, allocations: 0 / 443.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005047/0.03486, allocations: 215.2 kB / 443.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.0374, allocations: 0.8116 MB / 444.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/0.04386, allocations: 13.65 MB / 458 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.04422, allocations: 31.98 kB / 458 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.04427, allocations: 43.97 kB / 458.1 MB, free: 13.21 MB / 362.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.0003898/0.04466, allocations: 238 kB / 458.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.04474, allocations: 59.59 kB / 458.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.0465, allocations: 1.469 MB / 459.8 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.04651, allocations: 15.98 kB / 459.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.04652, allocations: 4 kB / 459.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.04652, allocations: 3.984 kB / 459.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.04903, allocations: 2.293 MB / 462.2 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.04904, allocations: 8 kB / 462.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/0.05129, allocations: 0.7615 MB / 462.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008662/0.05216, allocations: 367 kB / 463.3 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.05221, allocations: 31.98 kB / 463.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006333/0.05854, allocations: 13.89 MB / 477.2 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.05855, allocations: 15.88 kB / 477.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.0608, allocations: 2.04 MB / 479.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.06086, allocations: 67.59 kB / 479.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.06092, allocations: 32 kB / 479.4 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.0612, allocations: 31.98 kB / 479.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.06135, allocations: 128.5 kB / 479.5 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.06139, allocations: 47.98 kB / 479.6 MB, free: 6.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.604e-05/0.06146, allocations: 131.2 kB / 479.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06146, allocations: 0 / 479.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000706/0.06217, allocations: 256 kB / 479.9 MB, free: 6.02 MB / 378.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.0001333/0.0623, allocations: 139 kB / 480.1 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.06546, allocations: 1.967 MB / 482 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.06547, allocations: 4 kB / 482 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.06796, allocations: 1.56 MB / 483.6 MB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.06853, allocations: 179.9 kB / 483.8 MB, free: 2.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.07054, allocations: 1.806 MB / 485.6 MB, free: 152 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.07075, allocations: 337.4 kB / 485.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.07098, allocations: 68.48 kB / 486 MB, free: 15.72 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.07098, allocations: 0 / 486 MB, free: 15.72 MB / 394.7 MB Notification: Performance of Templates: time 0.02029/0.09126, allocations: 36.6 MB / 0.5103 GB, free: 11.05 MB / 426.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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9563808450475335] Failed to read output from testmodel.py, exit status != 0: 0.09662183839827776 0.104057536 0.093302696 Calling exit ...