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.0008563/0.0008563, allocations: 75.7 kB / 20.8 MB, free: 3.707 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.0008356/0.0008356, allocations: 165.3 kB / 24.09 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.891/0.891, allocations: 177.1 MB / 204.4 MB, free: 5.723 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.06086/0.06086, allocations: 18.12 MB / 279 MB, free: 11.5 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.804e-06/1.804e-06, allocations: 0 / 416.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.68e-05, allocations: 4.547 kB / 416.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.003028/0.003055, allocations: 3.608 MB / 420.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.004863, allocations: 1.264 MB / 421.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.005089, allocations: 7.844 kB / 421.4 MB, free: 9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.005206, allocations: 83.12 kB / 421.5 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.005599, allocations: 228.4 kB / 421.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.006167, allocations: 298.2 kB / 422 MB, free: 8.598 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007801/0.006947, allocations: 1.125 MB / 423.2 MB, free: 8.008 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005163/0.007463, allocations: 387 kB / 423.5 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005139/0.007977, allocations: 391 kB / 423.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004978/0.008475, allocations: 332.2 kB / 424.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.008628, allocations: 92.97 kB / 424.3 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.008779, allocations: 94.25 kB / 424.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.008906, allocations: 191.6 kB / 424.6 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.009263, allocations: 321.9 kB / 424.9 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.01033, allocations: 1.013 MB / 425.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.01033, allocations: 5.219 kB / 426 MB, free: 6.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01033, allocations: 0 / 426 MB, free: 6.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.01035, allocations: 0 / 426 MB, free: 6.891 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.001417/0.01177, allocations: 0.9182 MB / 426.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.01182, allocations: 9.359 kB / 426.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.01194, allocations: 77.94 kB / 427 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.01212, allocations: 182.8 kB / 427.1 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.01217, allocations: 62.94 kB / 427.2 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/0.01227, allocations: 78.38 kB / 427.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.01339, allocations: 0.7196 MB / 428 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.01341, allocations: 4.188 kB / 428 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.01347, allocations: 38.62 kB / 428 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.01349, allocations: 19.88 kB / 428.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/0.01441, allocations: 0.6828 MB / 428.7 MB, free: 5.445 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.00231/0.01672, allocations: 1.564 MB / 430.3 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008229/0.01754, allocations: 0.6261 MB / 430.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.01791, allocations: 301.8 kB / 431.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.01797, allocations: 11.95 kB / 431.2 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.01799, allocations: 49.3 kB / 431.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 3.997e-06/0.01799, allocations: 0 / 431.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=112): time 0.005051/0.02305, allocations: 2.804 MB / 434.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.02307, allocations: 68.23 kB / 434.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.02319, allocations: 157.2 kB / 434.3 MB, free: 2.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.02323, allocations: 46.23 kB / 434.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.02331, allocations: 241.5 kB / 434.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.02347, allocations: 393.7 kB / 435 MB, free: 2.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.02363, allocations: 161.5 kB / 435.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.02368, allocations: 354.9 kB / 435.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.02406, allocations: 300.3 kB / 435.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.02449, allocations: 387.4 kB / 436.1 MB, free: 1.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005497/0.02999, allocations: 2.253 MB / 438.4 MB, free: 428 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.03, allocations: 2.109 kB / 438.4 MB, free: 428 kB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001405/0.0314, allocations: 1.029 MB / 439.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.03142, allocations: 5.531 kB / 439.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.03143, allocations: 0 / 439.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.03195, allocations: 220.6 kB / 439.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.0346, allocations: 0.757 MB / 440.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/0.04274, allocations: 13.65 MB / 454.1 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.04331, allocations: 36.02 kB / 454.1 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.04335, allocations: 32.06 kB / 454.1 MB, free: 1.199 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.0004248/0.04377, allocations: 229.1 kB / 454.3 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.04384, allocations: 43.72 kB / 454.4 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.0455, allocations: 1.238 MB / 455.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.04551, allocations: 12 kB / 455.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.04552, allocations: 4 kB / 455.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.04552, allocations: 7.969 kB / 455.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.04838, allocations: 2.116 MB / 457.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.04839, allocations: 8 kB / 457.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/0.05076, allocations: 0.7032 MB / 458.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.05176, allocations: 355 kB / 458.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.05185, allocations: 35.98 kB / 458.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007998/0.05984, allocations: 13.82 MB / 472.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.05985, allocations: 11.94 kB / 472.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.06218, allocations: 1.8 MB / 474.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.06229, allocations: 47.66 kB / 474.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.06235, allocations: 35.98 kB / 474.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.06266, allocations: 32 kB / 474.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.06286, allocations: 116.6 kB / 474.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.06291, allocations: 43.92 kB / 474.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.965e-05/0.06299, allocations: 123 kB / 474.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06299, allocations: 4 kB / 474.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008751/0.06387, allocations: 228 kB / 475.1 MB, free: 10.86 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.0001901/0.06406, allocations: 145.8 kB / 475.3 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.06771, allocations: 1.846 MB / 477.1 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.06772, allocations: 4 kB / 477.1 MB, free: 8.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003083/0.0708, allocations: 1.49 MB / 478.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.07147, allocations: 165.1 kB / 478.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.07343, allocations: 1.643 MB / 480.4 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.07366, allocations: 315 kB / 480.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.07398, allocations: 88.78 kB / 480.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.07411, allocations: 48.5 kB / 480.8 MB, free: 4.871 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.07411, allocations: 0 / 480.8 MB, free: 4.871 MB / 378.7 MB Notification: Performance of Templates: time 0.01321/0.08732, allocations: 11.09 MB / 491.9 MB, free: 9.934 MB / 394.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.3691826602444053] Failed to read output from testmodel.py, exit status != 0: 0.09402819070965052 0.10341098999999994 0.09107643099999994 Calling exit ...