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.0009514/0.0009514, allocations: 77.97 kB / 21.46 MB, free: 3.043 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.00106/0.00106, allocations: 165.6 kB / 24.85 MB, free: 9.191 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.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.07169/0.07169, allocations: 18.14 MB / 280 MB, free: 11.18 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.513e-06/1.513e-06, allocations: 0 / 358.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.715e-05, allocations: 2.312 kB / 358.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.003871/0.003898, allocations: 4.206 MB / 362.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.005984, allocations: 1.333 MB / 364.1 MB, free: 2.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.006239, allocations: 4 kB / 364.1 MB, free: 2.992 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.006383, allocations: 91 kB / 364.2 MB, free: 2.902 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.006793, allocations: 249.7 kB / 364.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.007303, allocations: 319.3 kB / 364.8 MB, free: 2.344 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.008082, allocations: 1.192 MB / 365.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.008596, allocations: 0.5246 MB / 366.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/0.00901, allocations: 459.1 kB / 366.9 MB, free: 172 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.009472, allocations: 427 kB / 367.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.009584, allocations: 112 kB / 367.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.009696, allocations: 108 kB / 367.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.00983, allocations: 239.3 kB / 367.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.01008, allocations: 363.3 kB / 368.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.01066, allocations: 0.7631 MB / 368.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01067, allocations: 0 / 368.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01067, allocations: 0 / 368.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.01068, allocations: 4 kB / 368.9 MB, free: 14.18 MB / 346.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.001299/0.01198, allocations: 1.093 MB / 370 MB, free: 13.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.01202, allocations: 8.922 kB / 370 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.01219, allocations: 152.4 kB / 370.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.01232, allocations: 200.2 kB / 370.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.01237, allocations: 66.38 kB / 370.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.01247, allocations: 84.38 kB / 370.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.01309, allocations: 0.5875 MB / 371.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.0131, allocations: 3.938 kB / 371.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.01315, allocations: 36 kB / 371.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.01317, allocations: 24 kB / 371.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.01364, allocations: 429.5 kB / 371.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.01574, allocations: 1.707 MB / 373.3 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.01659, allocations: 0.6382 MB / 373.9 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.01682, allocations: 230.5 kB / 374.1 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.01687, allocations: 21 kB / 374.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.0169, allocations: 54.33 kB / 374.2 MB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003405/0.01724, allocations: 163.4 kB / 374.4 MB, free: 8.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=113): time 3.036e-06/0.01724, allocations: 3.938 kB / 374.4 MB, free: 8.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.003617/0.02086, allocations: 2.305 MB / 376.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.02089, allocations: 64.41 kB / 376.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.021, allocations: 222.5 kB / 377 MB, free: 5.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.02106, allocations: 41.7 kB / 377 MB, free: 5.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.02118, allocations: 308.3 kB / 377.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.02139, allocations: 440.1 kB / 377.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.02158, allocations: 180.5 kB / 377.9 MB, free: 4.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.02172, allocations: 0.5312 MB / 378.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.02192, allocations: 170.5 kB / 378.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.02219, allocations: 296.5 kB / 378.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/0.02298, allocations: 0.7651 MB / 379.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02298, allocations: 4 kB / 379.7 MB, free: 3.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001127/0.02411, allocations: 0.8583 MB / 380.5 MB, free: 2.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.02412, allocations: 7.984 kB / 380.5 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02413, allocations: 4 kB / 380.5 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.02477, allocations: 254.5 kB / 380.8 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.02746, allocations: 0.8155 MB / 381.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007576/0.03503, allocations: 18.43 MB / 400 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.03541, allocations: 36.02 kB / 400.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.03546, allocations: 31.92 kB / 400.1 MB, free: 13.5 MB / 378.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.0003265/0.03578, allocations: 237.2 kB / 400.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.03591, allocations: 87.72 kB / 400.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.03735, allocations: 1.133 MB / 401.5 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.03736, allocations: 23.86 kB / 401.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.03737, allocations: 0 / 401.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.03738, allocations: 3.984 kB / 401.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.03951, allocations: 1.826 MB / 403.4 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.03952, allocations: 8 kB / 403.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/0.04202, allocations: 0.761 MB / 404.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.04313, allocations: 422.1 kB / 404.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.04318, allocations: 28 kB / 404.6 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007374/0.05056, allocations: 18.58 MB / 423.2 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.05057, allocations: 15.97 kB / 423.2 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.05243, allocations: 1.553 MB / 424.8 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.05252, allocations: 55.59 kB / 424.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/0.05259, allocations: 32 kB / 424.8 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.05292, allocations: 35.92 kB / 424.9 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.05313, allocations: 132.5 kB / 425 MB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.05318, allocations: 40.11 kB / 425 MB, free: 3.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.05325, allocations: 160.1 kB / 425.2 MB, free: 2.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.05325, allocations: 0 / 425.2 MB, free: 2.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007996/0.05405, allocations: 260 kB / 425.5 MB, free: 2.613 MB / 394.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.0001648/0.05422, allocations: 147 kB / 425.6 MB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.05752, allocations: 1.927 MB / 427.5 MB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.05752, allocations: 0 / 427.5 MB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002757/0.06028, allocations: 1.676 MB / 429.2 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.06094, allocations: 183.5 kB / 429.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.06321, allocations: 1.719 MB / 431.1 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.06335, allocations: 178.6 kB / 431.3 MB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004248/0.06378, allocations: 105.1 kB / 431.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.06418, allocations: 242.1 kB / 431.6 MB, free: 12.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.223e-06/0.06419, allocations: 0 / 431.6 MB, free: 12.12 MB / 410.7 MB Notification: Performance of Templates: time 0.1404/0.2046, allocations: 14.61 MB / 446.2 MB, free: 116.5 MB / 410.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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7244052863679826]