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.0007441/0.0007441, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.0007233/0.0007233, allocations: 170 kB / 24.1 MB, free: 424 kB / 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.8267/0.8267, allocations: 177.1 MB / 204.4 MB, free: 5.711 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.05808/0.05808, allocations: 18.13 MB / 279 MB, free: 11.49 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.593e-06/1.593e-06, allocations: 0 / 416.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.553e-05, allocations: 2.281 kB / 416.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.003049/0.003074, allocations: 3.796 MB / 420.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.00495, allocations: 1.309 MB / 421.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.005224, allocations: 2.781 kB / 421.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.00536, allocations: 91.16 kB / 421.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.005773, allocations: 252.8 kB / 422 MB, free: 8.746 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.006486, allocations: 305.6 kB / 422.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.007505, allocations: 1.201 MB / 423.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006548/0.00816, allocations: 0.5262 MB / 424 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000697/0.008857, allocations: 454 kB / 424.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008039/0.009661, allocations: 424.2 kB / 424.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.009887, allocations: 110.9 kB / 425 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.01009, allocations: 111.3 kB / 425.1 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.01021, allocations: 239.5 kB / 425.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.01064, allocations: 365.7 kB / 425.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.01181, allocations: 1.201 MB / 426.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01181, allocations: 4 kB / 426.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01181, allocations: 0 / 426.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.573e-05/0.01185, allocations: 0 / 426.9 MB, free: 6.488 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.001682/0.01353, allocations: 0.9812 MB / 427.9 MB, free: 5.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.01357, allocations: 9.984 kB / 427.9 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.0137, allocations: 83.33 kB / 428 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.01386, allocations: 202.6 kB / 428.2 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.01392, allocations: 65.38 kB / 428.2 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.01402, allocations: 90.84 kB / 428.3 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.01506, allocations: 0.846 MB / 429.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.01507, allocations: 4.5 kB / 429.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.01513, allocations: 35.59 kB / 429.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.01515, allocations: 25.36 kB / 429.2 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.01619, allocations: 0.833 MB / 430.1 MB, free: 4.895 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.002578/0.01877, allocations: 1.85 MB / 431.9 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.02002, allocations: 0.9157 MB / 432.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.02046, allocations: 385.5 kB / 433.2 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.02053, allocations: 18.67 kB / 433.2 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.02055, allocations: 46.52 kB / 433.3 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003883/0.02094, allocations: 162.2 kB / 433.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 3.938e-06/0.02094, allocations: 0 / 433.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=124): time 0.005246/0.02619, allocations: 3.229 MB / 436.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.02623, allocations: 64.72 kB / 436.7 MB, free: 1.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.02637, allocations: 172.3 kB / 436.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.02643, allocations: 49.58 kB / 436.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.02651, allocations: 263.2 kB / 437.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.02668, allocations: 431.7 kB / 437.6 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.02687, allocations: 174.6 kB / 437.8 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.02693, allocations: 357.5 kB / 438.1 MB, free: 444 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.02733, allocations: 360.9 kB / 438.5 MB, free: 260 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.0278, allocations: 455.9 kB / 438.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008895/0.03669, allocations: 3.455 MB / 442.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.0367, allocations: 0 / 442.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001521/0.03822, allocations: 1.203 MB / 443.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.03824, allocations: 4 kB / 443.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.03824, allocations: 3.984 kB / 443.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.03875, allocations: 225.6 kB / 443.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/0.04141, allocations: 0.812 MB / 444.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006871/0.04828, allocations: 13.65 MB / 458.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.04884, allocations: 24 kB / 458.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.0489, allocations: 48.12 kB / 458.4 MB, free: 13.05 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.0004182/0.04931, allocations: 232.4 kB / 458.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.04939, allocations: 55.61 kB / 458.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.05117, allocations: 1.476 MB / 460.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.05117, allocations: 12 kB / 460.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.05118, allocations: 4 kB / 460.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.05119, allocations: 11.95 kB / 460.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.05398, allocations: 2.297 MB / 462.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.05399, allocations: 8 kB / 462.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/0.05637, allocations: 0.7499 MB / 463.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009071/0.05728, allocations: 367 kB / 463.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.05733, allocations: 31.94 kB / 463.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006995/0.06433, allocations: 13.89 MB / 477.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.06434, allocations: 15.92 kB / 477.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.06691, allocations: 2.04 MB / 479.5 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.06702, allocations: 55.67 kB / 479.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.06709, allocations: 36.05 kB / 479.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.06743, allocations: 32 kB / 479.6 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.06767, allocations: 132.7 kB / 479.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.06772, allocations: 40 kB / 479.8 MB, free: 6.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.618e-05/0.06781, allocations: 135.2 kB / 479.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.06781, allocations: 0 / 479.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008435/0.06865, allocations: 260 kB / 480.2 MB, free: 5.879 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.000159/0.06881, allocations: 147.1 kB / 480.3 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00389/0.0727, allocations: 1.991 MB / 482.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.07271, allocations: 0 / 482.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00281/0.07552, allocations: 1.587 MB / 483.9 MB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000719/0.07624, allocations: 174.3 kB / 484.1 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.07831, allocations: 1.779 MB / 485.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.07854, allocations: 341.4 kB / 486.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004077/0.07894, allocations: 105.1 kB / 486.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.07912, allocations: 68.47 kB / 486.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.07913, allocations: 0 / 486.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of Templates: time 0.01348/0.09261, allocations: 13.06 MB / 499.4 MB, free: 2.566 MB / 394.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.170006417669356] Failed to read output from testmodel.py, exit status != 0: 0.09819712024182081 0.105240369 0.0918684 Calling exit ...