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.001487/0.001487, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001596/0.001596, allocations: 169 kB / 23.82 MB, free: 0.7539 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 1.018/1.018, allocations: 177.1 MB / 204.2 MB, free: 5.664 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.08944/0.08944, allocations: 18.13 MB / 278.9 MB, free: 11.34 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.412e-06/1.412e-06, allocations: 0 / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.732e-05, allocations: 6.25 kB / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.00386/0.003887, allocations: 4.032 MB / 361.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.005774, allocations: 1.286 MB / 362.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.00598, allocations: 8 kB / 362.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.006101, allocations: 79.14 kB / 362.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.006466, allocations: 237.8 kB / 362.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.006995, allocations: 291.4 kB / 363.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.007829, allocations: 1.118 MB / 364.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.008295, allocations: 413.9 kB / 364.7 MB, free: 348 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.008717, allocations: 395.2 kB / 365.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.009115, allocations: 331.2 kB / 365.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.009218, allocations: 92 kB / 365.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.009329, allocations: 96 kB / 365.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.009437, allocations: 195.3 kB / 365.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.009689, allocations: 315.4 kB / 366.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.01021, allocations: 0.6346 MB / 366.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01022, allocations: 3.938 kB / 366.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01022, allocations: 0 / 366.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.01023, allocations: 0 / 366.8 MB, free: 14.3 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.001269/0.01149, allocations: 1.019 MB / 367.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.01153, allocations: 8.031 kB / 367.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.01181, allocations: 148.5 kB / 367.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.01198, allocations: 187.7 kB / 368.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.01203, allocations: 62.38 kB / 368.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.01212, allocations: 80.38 kB / 368.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.01286, allocations: 0.5647 MB / 368.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.01288, allocations: 4.172 kB / 368.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.01294, allocations: 35.94 kB / 368.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.01295, allocations: 20 kB / 368.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.01356, allocations: 455.6 kB / 369.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.01559, allocations: 1.508 MB / 370.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.01623, allocations: 490.4 kB / 371.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.01651, allocations: 210.6 kB / 371.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.01656, allocations: 20.98 kB / 371.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.01659, allocations: 50.33 kB / 371.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.124e-06/0.01659, allocations: 0 / 371.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=112): time 0.003858/0.02045, allocations: 2.295 MB / 373.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.02049, allocations: 64.41 kB / 374 MB, free: 6.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.02061, allocations: 222.3 kB / 374.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.02065, allocations: 41.7 kB / 374.2 MB, free: 6.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.02076, allocations: 292.2 kB / 374.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.02097, allocations: 400.5 kB / 374.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.02129, allocations: 152.3 kB / 375 MB, free: 5.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.02142, allocations: 0.5312 MB / 375.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.02181, allocations: 181.9 kB / 375.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.02227, allocations: 289.2 kB / 376 MB, free: 4.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/0.02326, allocations: 0.7493 MB / 376.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02326, allocations: 0 / 376.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00135/0.02461, allocations: 0.8395 MB / 377.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.02463, allocations: 15.11 kB / 377.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.02464, allocations: 0 / 377.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.02538, allocations: 258.4 kB / 377.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.02806, allocations: 0.7647 MB / 378.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008421/0.03648, allocations: 18.64 MB / 397.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.03688, allocations: 28 kB / 397.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.03692, allocations: 31.98 kB / 397.4 MB, free: 14.14 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.0003483/0.03727, allocations: 232.2 kB / 397.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.03738, allocations: 79.72 kB / 397.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.03885, allocations: 1.024 MB / 398.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.03886, allocations: 8 kB / 398.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.03886, allocations: 4 kB / 398.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.03887, allocations: 7.969 kB / 398.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.04115, allocations: 1.847 MB / 400.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.04115, allocations: 4 kB / 400.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/0.04349, allocations: 0.7064 MB / 401.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.04467, allocations: 410.2 kB / 401.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.04473, allocations: 31.98 kB / 401.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008122/0.05285, allocations: 18.78 MB / 420.5 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.05286, allocations: 19.91 kB / 420.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.05489, allocations: 1.539 MB / 422 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.05497, allocations: 51.7 kB / 422.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.05503, allocations: 35.94 kB / 422.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.05532, allocations: 27.98 kB / 422.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.05554, allocations: 120.6 kB / 422.3 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.05559, allocations: 40 kB / 422.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.085e-05/0.05567, allocations: 155.9 kB / 422.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05567, allocations: 0 / 422.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007762/0.05644, allocations: 236 kB / 422.7 MB, free: 3.172 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.000163/0.05661, allocations: 139 kB / 422.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.06007, allocations: 1.895 MB / 424.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.06008, allocations: 0 / 424.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1226/0.1827, allocations: 1.644 MB / 426.4 MB, free: 74.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.1835, allocations: 162.2 kB / 426.5 MB, free: 74.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.1859, allocations: 1.632 MB / 428.1 MB, free: 73.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.1861, allocations: 165.7 kB / 428.3 MB, free: 73.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003235/0.1864, allocations: 90.14 kB / 428.4 MB, free: 73.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1866, allocations: 46.81 kB / 428.4 MB, free: 73.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.763e-06/0.1866, allocations: 0 / 428.4 MB, free: 73.33 MB / 346.7 MB Notification: Performance of Templates: time 0.01463/0.2012, allocations: 11.28 MB / 439.7 MB, free: 70.14 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.689433656167239]