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.001896/0.001896, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002424/0.002424, allocations: 215 kB / 20.13 MB, free: 2.949 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.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.1013/0.1013, allocations: 22.93 MB / 332.5 MB, free: 2.641 MB / 254.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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002",fmuType="cs",version="2.0",platforms={"static"}) [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.002058/0.002058, allocations: 68.31 kB / 466.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1025, allocations: 59.27 MB / 0.5137 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.005658/0.1081, allocations: 4.268 MB / 0.5179 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1107, allocations: 1.364 MB / 0.5192 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.1109, allocations: 4 kB / 0.5192 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.1111, allocations: 87.06 kB / 0.5193 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.1117, allocations: 237.9 kB / 0.5195 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.1124, allocations: 299.5 kB / 0.5198 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.1137, allocations: 1.173 MB / 0.5209 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.1144, allocations: 0.5007 MB / 0.5214 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005673/0.1149, allocations: 486.7 kB / 0.5219 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006675/0.1156, allocations: 0.5139 MB / 0.5224 GB, free: 5.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.1158, allocations: 112 kB / 0.5225 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.1159, allocations: 112 kB / 0.5226 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1161, allocations: 239.3 kB / 0.5228 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.1166, allocations: 478.1 kB / 0.5233 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1177, allocations: 1.125 MB / 0.5244 GB, free: 2.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1177, allocations: 0 / 0.5244 GB, free: 2.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1177, allocations: 0 / 0.5244 GB, free: 2.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.1178, allocations: 3.938 kB / 0.5244 GB, free: 2.988 MB / 382.1 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.002559/0.1203, allocations: 1.072 MB / 0.5254 GB, free: 1.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1204, allocations: 12.56 kB / 0.5255 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.302e-05/0.1204, allocations: 26.19 kB / 0.5255 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/0.1206, allocations: 139.7 kB / 0.5256 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.1207, allocations: 80.47 kB / 0.5257 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.121, allocations: 259.7 kB / 0.5259 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.1211, allocations: 62 kB / 0.526 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.1212, allocations: 88 kB / 0.5261 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.1228, allocations: 0.8155 MB / 0.5269 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1228, allocations: 0 / 0.5269 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.1229, allocations: 36 kB / 0.5269 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1229, allocations: 20 kB / 0.5269 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.1245, allocations: 0.8472 MB / 0.5278 GB, free: 15.44 MB / 398.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: 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.004748/0.1293, allocations: 2.602 MB / 0.5303 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.1315, allocations: 0.9543 MB / 0.5312 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/0.1322, allocations: 383.7 kB / 0.5316 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.1323, allocations: 17 kB / 0.5316 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.1323, allocations: 43.56 kB / 0.5317 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007291/0.1331, allocations: 163.4 kB / 0.5318 GB, free: 11.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=113): time 3.696e-06/0.1331, allocations: 0 / 0.5318 GB, free: 11.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=124): time 0.009338/0.1424, allocations: 3.544 MB / 0.5353 GB, free: 7.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.1425, allocations: 64.41 kB / 0.5353 GB, free: 7.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1427, allocations: 215.2 kB / 0.5355 GB, free: 7.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.456e-05/0.1428, allocations: 45.7 kB / 0.5356 GB, free: 7.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.143, allocations: 253.6 kB / 0.5358 GB, free: 6.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000396/0.1434, allocations: 440.1 kB / 0.5362 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.1437, allocations: 178.9 kB / 0.5364 GB, free: 6.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1439, allocations: 366.7 kB / 0.5368 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009695/0.1449, allocations: 362.5 kB / 0.5371 GB, free: 5.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007924/0.1457, allocations: 458.5 kB / 0.5375 GB, free: 5.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02007/0.1658, allocations: 3.473 MB / 0.5409 GB, free: 1.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1658, allocations: 0 / 0.5409 GB, free: 1.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002889/0.1687, allocations: 1.203 MB / 0.5421 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1687, allocations: 4 kB / 0.5421 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1687, allocations: 11.94 kB / 0.5421 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.1698, allocations: 219.1 kB / 0.5423 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006314/0.1761, allocations: 0.8115 MB / 0.5431 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.1903, allocations: 14.94 MB / 0.5577 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008156/0.1912, allocations: 24 kB / 0.5577 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.1912, allocations: 43.97 kB / 0.5578 GB, free: 14.89 MB / 430.1 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.0005233/0.1918, allocations: 236 kB / 0.558 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.1919, allocations: 59.62 kB / 0.5581 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.1955, allocations: 1.476 MB / 0.5595 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.1955, allocations: 12 kB / 0.5595 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1955, allocations: 4 kB / 0.5595 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.1955, allocations: 7.969 kB / 0.5595 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005141/0.2007, allocations: 2.571 MB / 0.562 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.2007, allocations: 12.11 kB / 0.5621 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005842/0.2065, allocations: 0.7608 MB / 0.5628 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.2087, allocations: 371 kB / 0.5632 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/0.2089, allocations: 28 kB / 0.5632 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.2241, allocations: 15.19 MB / 0.578 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.2241, allocations: 11.94 kB / 0.578 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004476/0.2286, allocations: 2.059 MB / 0.58 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.2288, allocations: 144.9 kB / 0.5802 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.2289, allocations: 35.98 kB / 0.5802 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.2296, allocations: 36 kB / 0.5802 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.23, allocations: 120.7 kB / 0.5804 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.655e-05/0.23, allocations: 43.98 kB / 0.5804 GB, free: 5.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.2302, allocations: 164.9 kB / 0.5806 GB, free: 5.824 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2302, allocations: 4 kB / 0.5806 GB, free: 5.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00112/0.2314, allocations: 260 kB / 0.5808 GB, free: 5.566 MB / 446.1 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.004626/0.236, allocations: 2.643 MB / 0.5834 GB, free: 2.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007981/0.244, allocations: 1.998 MB / 0.5853 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.244, allocations: 0 / 0.5853 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2229/0.4668, allocations: 1.574 MB / 0.5869 GB, free: 68.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4681, allocations: 192.9 kB / 0.5871 GB, free: 68.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.4789, allocations: 6.63 MB / 0.5935 GB, free: 65.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.4794, allocations: 0.9433 MB / 0.5945 GB, free: 65.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006408/0.48, allocations: 115.7 kB / 0.5946 GB, free: 65.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/0.4805, allocations: 260.4 kB / 0.5948 GB, free: 64.97 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4805, allocations: 0 / 0.5948 GB, free: 64.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07282/0.5533, allocations: 19.66 MB / 0.614 GB, free: 57.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.57, allocations: 15.98 kB / 0.614 GB, free: 57.51 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002_fmu --startTime=0 --stopTime=8000 --stepSize=0.8 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002.fmu > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.946952197991777] Failed to read output from testmodel.py, exit status != 0: 14.742334991984535 14.759279408 14.638259181 Calling exit ...