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.001457/0.001457, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.00161/0.00161, allocations: 177 kB / 24.27 MB, free: 280 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 1.019/1.019, allocations: 177.2 MB / 204.6 MB, free: 5.648 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.07788/0.07788, allocations: 18.13 MB / 279.2 MB, free: 11.4 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.513e-06/1.513e-06, allocations: 0 / 357.3 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.72e-05, allocations: 2.312 kB / 357.3 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.004286/0.004314, allocations: 4.02 MB / 361.3 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.006302, allocations: 1.29 MB / 362.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.006504, allocations: 4 kB / 362.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.006626, allocations: 79.14 kB / 362.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.006969, allocations: 229.9 kB / 362.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.007652, allocations: 291.4 kB / 363.2 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008924/0.008544, allocations: 1.126 MB / 364.3 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005121/0.009056, allocations: 410 kB / 364.7 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.009472, allocations: 391.2 kB / 365.1 MB, free: 356 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.009861, allocations: 339.1 kB / 365.4 MB, free: 16 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.009975, allocations: 92.05 kB / 365.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.01009, allocations: 96 kB / 365.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.01021, allocations: 191.4 kB / 365.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.01049, allocations: 319.3 kB / 366.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.0111, allocations: 0.6308 MB / 366.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.0111, allocations: 0 / 366.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01111, allocations: 3.938 kB / 366.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.01112, allocations: 0 / 366.7 MB, free: 14.7 MB / 298.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.001484/0.0126, allocations: 1.019 MB / 367.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.01264, allocations: 8.031 kB / 367.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.01284, allocations: 148.5 kB / 367.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.01304, allocations: 195.7 kB / 368.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.0131, allocations: 62.38 kB / 368.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.0132, allocations: 80.38 kB / 368.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.01408, allocations: 0.5607 MB / 368.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.0141, allocations: 4.188 kB / 368.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.01416, allocations: 35.94 kB / 368.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.01418, allocations: 20 kB / 368.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.01497, allocations: 455.6 kB / 369.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.01763, allocations: 1.508 MB / 370.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007965/0.01843, allocations: 482.4 kB / 371.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.01877, allocations: 214.6 kB / 371.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.157e-05/0.01883, allocations: 21 kB / 371.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.01886, allocations: 50.33 kB / 371.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 3.076e-06/0.01886, allocations: 0 / 371.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=112): time 0.005328/0.02419, allocations: 2.301 MB / 373.8 MB, free: 7.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.02423, allocations: 64.41 kB / 373.9 MB, free: 7.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.02439, allocations: 214.4 kB / 374.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.02444, allocations: 42.25 kB / 374.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.02459, allocations: 296.2 kB / 374.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.02488, allocations: 396.5 kB / 374.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.02512, allocations: 156.3 kB / 375 MB, free: 6.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.02528, allocations: 0.5274 MB / 375.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.02569, allocations: 185.8 kB / 375.7 MB, free: 5.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.02613, allocations: 293.2 kB / 376 MB, free: 5.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.02734, allocations: 0.7454 MB / 376.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02734, allocations: 0 / 376.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001866/0.02921, allocations: 0.8434 MB / 377.6 MB, free: 3.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.02923, allocations: 4 kB / 377.6 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.02924, allocations: 4 kB / 377.6 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/0.03023, allocations: 258.4 kB / 377.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.03377, allocations: 0.7647 MB / 378.6 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.04406, allocations: 18.64 MB / 397.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.04456, allocations: 31.98 kB / 397.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.04463, allocations: 28 kB / 397.3 MB, free: 14.54 MB / 330.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.0003918/0.04502, allocations: 228.4 kB / 397.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.04519, allocations: 83.72 kB / 397.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.04753, allocations: 1.024 MB / 398.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.04754, allocations: 12 kB / 398.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.04755, allocations: 4 kB / 398.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.04757, allocations: 3.984 kB / 398.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.05144, allocations: 1.843 MB / 400.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.05145, allocations: 4 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003852/0.0553, allocations: 0.7103 MB / 401.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.05646, allocations: 410.2 kB / 401.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/0.05653, allocations: 28 kB / 401.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008926/0.06545, allocations: 18.78 MB / 420.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.06546, allocations: 15.92 kB / 420.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.06765, allocations: 1.536 MB / 422 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.06776, allocations: 55.64 kB / 422 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.06782, allocations: 35.92 kB / 422 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.0681, allocations: 28 kB / 422.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.06831, allocations: 116.7 kB / 422.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.06835, allocations: 43.92 kB / 422.2 MB, free: 3.945 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.009e-05/0.06843, allocations: 159.9 kB / 422.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06843, allocations: 0 / 422.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007409/0.06917, allocations: 236 kB / 422.6 MB, free: 3.559 MB / 346.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.0001687/0.06934, allocations: 135 kB / 422.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003437/0.07278, allocations: 1.899 MB / 424.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.07278, allocations: 0 / 424.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1209/0.1937, allocations: 1.634 MB / 426.3 MB, free: 77.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.1947, allocations: 175.2 kB / 426.5 MB, free: 77.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.1973, allocations: 1.626 MB / 428.1 MB, free: 76.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.1974, allocations: 169.9 kB / 428.2 MB, free: 76.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.1978, allocations: 85.42 kB / 428.3 MB, free: 76.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.198, allocations: 49.5 kB / 428.4 MB, free: 76.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.198, allocations: 1.281 kB / 428.4 MB, free: 76.09 MB / 346.7 MB Notification: Performance of Templates: time 0.01587/0.2138, allocations: 11.28 MB / 439.7 MB, free: 72.72 MB / 346.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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.574270974844694]